Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] java.lang.VerifyError

Would you try with:

- ajc 1.1.1rc1

  http://download.eclipse.org/technology/ajdt/aspectj-1.1.1rc1.jar

- use -XnoInline flag

- don't use -XnoWeave flag (if you are)

Let us know what happens.  If it's still broken, please add a bug:

  https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ

If you can submit a test case with the bug, consider including an Ant build script to drive the test case.

Thanks for bringing this up!
Wes

Macneil Shonle wrote:

Hi All,

I'm building a large AspectJ project that was recently ported from ajc 1.0
(the language rules made some trivial changes necessary). Unfortunately I
am getting a java.lang.VerifyError:

~> ajc -version
AspectJ Compiler 1.1.0

~> java -classpath "$CLASSPATH" edu.ucsd.nebulous.Nebulous
java.lang.VerifyError: (class: edu/ucsd/nebulous/TreeNode, method:
doHideAction signature: ()V) Unable to pop operand off an empty stack
        at
edu.ucsd.nebulous.WorkspaceGroup.createTreeNode(WorkspaceGroup.java:47)
        at
edu.ucsd.nebulous.TreeNodeFactory.createTreeNode(TreeNodeFactory.java:52)
        at edu.ucsd.nebulous.TreePanel.setRoot(TreePanel.java:87)
        at edu.ucsd.nebulous.TreePanel.setWorkspaceTree(TreePanel.java:71)
        at
edu.ucsd.nebulous.TreePanelMediating.validateTree(TreePanelMediating.java:59)
        at
edu.ucsd.nebulous.TreePanelMediating.register(TreePanelMediating.java:42)
        at edu.ucsd.nebulous.UIFactory.createTreePanel(UIFactory.java:161)
        at edu.ucsd.nebulous.UIFactory.createMainPanel(UIFactory.java:53)
        at edu.ucsd.nebulous.NebulousWindow.<init>(NebulousWindow.java:48)
        at edu.ucsd.nebulous.Nebulous.init(Nebulous.java:102)
        at edu.ucsd.nebulous.Nebulous.<init>(Nebulous.java:70)
        at edu.ucsd.nebulous.Nebulous.main(Nebulous.java:55)

I've been trying to make a small case that reproduces it, but with no
luck. I have also tried to remove some of the aspects and replace them
with Java code, but in the process I've come to appreciate how much
weaving ajc actually does!

Either way, is this a known problem?

I could send a tar of my project and makefile to a brave soul who is
willing to examine it. It required eclipse jars to be present too.

Thanks,
Macneil

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-dev




Back to the top