-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception on swing class ressolution #11
Comments
I don't think it's related to that bug. |
Here some class loaders involved.
|
results:
|
Great 👍 |
Most people won't call it "Great" having to deal with class loader issues. ;-) |
I am an exception in many things :P |
I am getting a similar error when trying to run walkmod on one of my projects (throws VerifyError; Type 'javax/swing/JDialog$AccessibleJDialog' is not assignable to 'javax/accessibility/AccessibleContext'). Can you offer some clues on working around this? |
ERROR [main] - TRANSFORMATION CHAIN (default) FAILS
An exeception has been produced during the null transformation - org.walkmod.util.location.LocationImpl@1d5f07df
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.walkmod.walkers.AbstractWalker.walk(AbstractWalker.java:250)
at org.walkmod.walkers.AbstractWalker.execute(AbstractWalker.java:265)
at org.walkmod.javalang.walkers.DefaultJavaWalker.execute(DefaultJavaWalker.java:158)
at org.walkmod.impl.DefaultChainWalkerInvocation.invoke(DefaultChainWalkerInvocation.java:41)
at org.walkmod.impl.DefaultChainInvocation.invoke(DefaultChainInvocation.java:38)
at org.walkmod.impl.DefaultChainAdapter.execute(DefaultChainAdapter.java:165)
at org.walkmod.WalkModFacade.executeAllChains(WalkModFacade.java:911)
at org.walkmod.WalkModFacade.apply(WalkModFacade.java:376)
at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:171)
at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:196)
Caused by: java.lang.reflect.InvocationTargetException
... 14 more
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
javax/swing/JFrame.getAccessibleContext()Ljavax/accessibility/AccessibleContext; @16: putfield
Reason:
Type 'javax/swing/JFrame$AccessibleJFrame' (current frame, stack[1]) is not assignable to 'javax/accessibility/AccessibleContext'
Current Frame:
bci: @16
flags: { }
locals: { 'javax/swing/JFrame' }
stack: { 'javax/swing/JFrame', 'javax/swing/JFrame$AccessibleJFrame' }
Bytecode:
0x0000000: 2ab4 0005 c700 0f2a bb00 6659 2ab7 0067
0x0000010: b500 052a b400 05b0
Stackmap Table:
same_frame(@19)
The text was updated successfully, but these errors were encountered: