Skip to main content

HK2 NPE on app deployment

1 reply [Last post]
emailnbw
Offline
Joined: 2008-05-28
Points: 0

When I deploy one of our app I am seeing the following NPE from HK2:

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.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(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|#]

This is with Glassfish 3.1.2 using JDK 1.7.0_U3 x64 on Windows Server 08 R2.

Thoughts?

-Noah

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mvatkina
Offline
Joined: 2005-04-04
Points: 0

Ignore. Search JIRA - there had been multiple bugs filed :(

-marina

Noah White wrote:
> When I deploy one of our app I am seeing the following NPE from HK2:
>
> 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.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(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> |#]
>
> This is with Glassfish 3.1.2 using JDK 1.7.0_U3 x64 on Windows Server 08 R2.
>
> Thoughts?
>
> -Noah
>
>
>