I recompiled Joda from trunk and now everything is happy.

Very mysterious.

Jeff

On Thu, Feb 24, 2011 at 5:18 PM, Jeff Schnitzer <[email protected]> wrote:
> Is anyone else having trouble with Joda time on appengine?
>
> I just added it to my app, and attempts to use it generate a
> VerifyError like this:
>
> java.lang.VerifyError: (class: org/joda/time/tz/ZoneInfoProvider,
> method: loadZoneData signature:
> (Ljava/lang/String;)Lorg/joda/time/DateTimeZone;) Accessing value from
> uninitialized register 8
>        at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:454)
>        at org.joda.time.DateTimeZone.setProvider0(DateTimeZone.java:408)
>        at org.joda.time.DateTimeZone.<clinit>(DateTimeZone.java:113)
>        at 
> com.similarity.queen.JodaTestServlet.service(JodaTestServlet.java:30)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
> This was generated by a simple servlet method that looks like this:
>
>        protected void service(HttpServletRequest req, HttpServletResponse
> res) throws ServletException, IOException
>        {
>                DateTimeZone dtz = DateTimeZone.getDefault();
>                log.info("#########" + dtz.toString());
>        }
>
> The strange thing is that when I create a from-scratch appengine
> project, joda time works.  I'm not doing anything special with
> classloaders, and I don't have time to rip apart my project to figure
> out what is somehow interfering.  I can only suspect it has something
> to do with the repackaged version in the SDK, but I can't tell - I'm
> using the correct org.joda.* imports.
>
> I'm about to try recompiling Joda from scratch myself, but does anyone
> have any idea what could be wrong?
>
> Thanks,
> Jeff
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to