Skip to main content

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

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



Back to the top