[Building Sakai] Getting NPE in EntityBrokerEventRegistry
Steve Swinsburg
steve.swinsburg at gmail.com
Sat May 25 02:08:52 PDT 2013
Hi,
Can you send the part of the code that is returning null? It might just be out of date, there has been some activity in the user locale code recently.
Cheers,
Steve
Sent from my iPad
On 25/05/2013, at 15:21, Poorna Chand <poorna419 at gmail.com> wrote:
> Hi,
>
> I am using sakai 2.9.0 bin installer and writing a custom service.
> I am getting NPE while using getEventName(String eventId) of org.sakaiproject.sitestats.impl.event.EntityBrokerEventRegistry.
>
> I debugged the code and find the reason that getCurrentUserLocale() is returning null and null checks are only in getCurrentUserLocale() method and not in the methods which uses that method.
>
> I am unable to run the sakai environment from the sources, so I cannot create a jar from the changes even if I add in my code.
>
> The null checks are not sufficient to return the default Locale from that method instead of null.
> Is it possible to provide a patch for this.
>
>
> Thanks,
> Poorna.
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list