[jboss-jira] [JBoss JIRA] (JASSIST-176) I get a NPE in TypeData

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Tue Nov 6 20:51:18 EST 2012


    [ https://issues.jboss.org/browse/JASSIST-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732315#comment-12732315 ] 

Shigeru Chiba edited comment on JASSIST-176 at 11/6/12 8:51 PM:
----------------------------------------------------------------

You seem to have tested with an older version.  The exception in the stack dump is thrown only by javassist.jar posted to this issue.

The bug fix has been committed to the repo.  Since I posted the current snapshot javassist.nov7.jar for your convenience, can you try this?
                
      was (Author: chiba):
    You seem to have tested with an older version.  I have committed a bug fix to the repo.  Since I posted the current snapshot javassist.nov7.jar, can you try this?
                  
> I get a NPE in TypeData
> -----------------------
>
>                 Key: JASSIST-176
>                 URL: https://issues.jboss.org/browse/JASSIST-176
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.17.0-GA
>         Environment: Java 7 
>            Reporter: John Bainbridge
>            Assignee: Shigeru Chiba
>             Fix For: 3.17.0-GA
>
>         Attachments: javassist.jar, javassist.nov7.jar
>
>
> This kills my JVM.     I'm looking at trying to make simple test case.  It appears to be releated to JASSIST-175
> caused by: java.lang.NullPointerException
> 	at javassist.bytecode.stackmap.TypeData.commonSuperClassEx(TypeData.java:400)
> 	at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes2(TypeData.java:342)
> 	at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes(TypeData.java:325)
> 	at javassist.bytecode.stackmap.TypeData$TypeVar.dfs(TypeData.java:270)
> 	at javassist.bytecode.stackmap.MapMaker.fixTypes(MapMaker.java:301)
> 	at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:151)
> 	at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:100)
> 	at javassist.bytecode.MethodInfo.rebuildStackMap(MethodInfo.java:423)
> 	at javassist.bytecode.MethodInfo.rebuildStackMapIf6(MethodInfo.java:405)
> 	at javassist.expr.ExprEditor.doit(ExprEditor.java:113)
> 	at javassist.CtClassType.instrument(CtClassType.java:1398)
> 	at org.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:75)
> 	at org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:203)
> 	... 27 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list