users@glassfish.java.net

Re: NPE "while visiting" on startup

From: Noah White <emailnbw_at_gmail.com>
Date: Fri, 7 Sep 2012 14:30:43 -0400

I filed a bug similar to this. Please feel free to comment on it, vote it, watch it and join the fun.

http://java.net/jira/browse/GLASSFISH-18609

-Noah

On Sep 7, 2012, at 1:49 PM, forums_at_java.net wrote:

> When I start glassfish 3.1.2.2 I get a weird Null Pointer Exception in the
> log, but the server seems to work fine. I'm wondering if anyone knows what
> this is about:
> [#|2012-09-07T14:15:54.159-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=16;_ThreadName=Thread-2;|Exception
> while visiting com/sun/gjc/spi/base/datastructure/Cache.class of size 450
> java.lang.NullPointerException at
> org.glassfish.hk2.classmodel.reflect.impl.TypesImpl.getType(TypesImpl.java:78)
> at
> org.glassfish.hk2.classmodel.reflect.impl.ModelClassVisitor.visit(ModelClassVisitor.java:119)
> at org.objectweb.asm.ClassReader.accept(Unknown Source) at
> org.objectweb.asm.ClassReader.accept(Unknown Source) at
> org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:363) at
> org.glassfish.hk2.classmodel.reflect.util.JarArchive.onSelectedEntries(JarArchive.java:125)
> at
> org.glassfish.hk2.classmodel.reflect.util.DirectoryArchive.parse(DirectoryArchive.java:111)
> at
> org.glassfish.hk2.classmodel.reflect.util.DirectoryArchive.onSelectedEntries(DirectoryArchive.java:92)
> at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:348) at
> org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:70) at
> org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:307) at
> org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:296) at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
> java.util.concurrent.FutureTask.run(FutureTask.java:138) at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662) |#]
>
> --
>
> [Message sent by forum member 'slominskir']
>
> View Post: http://forums.java.net/node/889960
>
>