[ovirt-devel] WARNING: trying to localize null, probable error. Exception is not thrown, returning 'N/A'

Greg Sheremeta gshereme at redhat.com
Fri Feb 20 15:43:32 UTC 2015


That's correct.

I think we can just remove the warning. Returning "N/A" seems like a
fine behavior to me.

Greg

----- Original Message -----
> From: "Frantisek Kobzik" <fkobzik at redhat.com>
> To: "Greg Sheremeta" <gshereme at redhat.com>
> Cc: devel at ovirt.org
> Sent: Friday, February 20, 2015 10:33:43 AM
> Subject: Re: [ovirt-devel] WARNING: trying to localize null, probable error. Exception is not thrown, returning 'N/A'
> 
> Yeah,
> 
> I think I was the last who touched that code. IIRC null is passed when a VM
> doesn't have active graphics (e.g. Down state). I'll take a closer look.
> 
> Cheers,
> F.
> 
> ----- Original Message -----
> From: "Greg Sheremeta" <gshereme at redhat.com>
> To: devel at ovirt.org
> Sent: Friday, February 20, 2015 2:31:43 AM
> Subject: [ovirt-devel] WARNING: trying to localize null, probable error.
> Exception is not thrown, returning 'N/A'
> 
> This warning message of $subject is spamming Firebug / Dev tools consoles on
> latest master.
> 
> VM tab > Display column is at least one source of it.
> 
> EnumTranslator is getting nulls passed to translate(). I'm not sure why it's
> logging about it
> all of a sudden.
> 
> Anyone recognize this?
> 
> Greg Sheremeta
> Red Hat, Inc.
> Sr. Software Engineer, RHEV
> Cell: 919-807-1086
> gshereme at redhat.com
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 



More information about the Devel mailing list