Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] java.lang.VerifyError: stack shape inconsistent

I am using e34 and ajdt 1.6.0.200807041530. I always get this exception when using IBM Java5, but no problems with SUN 1.6.0.7.

Andy Clement wrote:
Hi,

Given that the bug is still open, I don't know of a version that does not have this in it. No-one confirmed whether I had fixed it with the latest changes made in https://bugs.eclipse.org/bugs/show_bug.cgi?id=225785 -
and I can't recreate it, I don't have J9.

Have you tried a Sun VM instead of J9?

I will try another change today to try and address it and that will be in the next AJDT dev build for Eclipse 3.3.

cheers,
Andy.

2008/7/29 vinodhts <vinodh.subbiah@xxxxxxx <mailto:vinodh.subbiah@xxxxxxx>>


    Ok, But I got the java.lang.VerifyError: stack shape inconsistent with
    AspectJ 1.5.3 thats why i rolled back and tried 1.5.2 and still
    getting that
    error.
    Can you tell me which version wont have this error . i can roll back
    to that
    version
    Thanks for your help.
    Regards,
    Vinodh


    Andy Clement wrote:
     >
     > Hi Vinodh,
     >
     > You should be on AJDT 1.5.3 for Eclipse 3.3.  Available at this
    update
     > site
     > link:
     >
     > http://download.eclipse.org/tools/ajdt/33/update
     >
     > Or as a zip:
     >
     >
    http://www.eclipse.org/downloads/download.php?file=/tools/ajdt/33/update/ajdt_1.5.3_for_eclipse_3.3.zip
     >
     > BCExceptions are probably caused by going back to a previous
    version after
     > having compiled with a more up to date version.  A complete clean
    of all
     > the
     > AspectJ projects ought to fix that.
     >
     > Andy.
     >
     > 2008/7/29 vinodhts <vinodh.subbiah@xxxxxxx
    <mailto:vinodh.subbiah@xxxxxxx>>
     >
     >>
     >> Hi,
     >>  I Installed AJDT 1..5.2 now ,still getting the problem, I completed
     >> removed
     >> my previous AJDT installation and went back one version.I have
    most of my
     >> test code as aspect and this gives me hard time.. But with
    eclipse 3.3 it
     >> was working fine untill recently i updated ..So any help with which
     >> version
     >> to use would be helpful.As with this current version im not able
    to open
     >> up
     >> the aspect in AspectJ Editor itself..But with Version 1.5.2 im also
     >> getting
     >> another error while doing a compile  like some BCE...Exception..
     >> Thanks,
     >> Vinodh.
     >>
     >>
     >> vinodh subbiah wrote:
     >> >
     >> > Hi All,
     >> >
     >> > I Installed AspectJ Plugin for Eclipse 3.3 and when i open any
    .aj file
     >> im
     >> > getting the following error.Is there a fix available ?
     >> > Thanks,
     >> > Vinodh
     >> >
     >> > Error from logs :
     >> >
     >> > !ENTRY org.eclipse.ui 4 0 2008-07-25 14:57:04.300
     >> > !MESSAGE Unable to create editor ID
     >> > org.eclipse.ajdt.internal.ui.editor.CompilationUnitEditor:
    Editor could
     >> > not be initialized.
     >> > !STACK 0
     >> > java.lang.VerifyError: stack shape inconsistent (class:
     >> > org/eclipse/ajdt/core/parserbridge/AJSourceElementParser method:
     >> >
     >>
    parseTypeMemberDeclarations(Lorg/aspectj/org/eclipse/jdt/internal/compiler/env/ISourceType;Lorg/aspectj/org/eclipse/jdt/internal/compiler/env/ICompilationUnit;IIZ)V)
     >> > at pc: 144
     >> >       at java.lang.J9VMInternals.verifyImpl(Native Method)
     >> >       at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
     >> >       at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
     >> >       at
     >> >
     >>
    org.eclipse.ajdt.core.javaelements.AJCompilationUnit.buildStructure(AJCompilationUnit.java:234)
     >> >       at
     >> >
    org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
     >> >       at
     >> >
     >>
    org.eclipse.ajdt.core.javaelements.AJCompilationUnit.generateInfos(AJCompilationUnit.java:194)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:38)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:780)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.CompilationUnit.becomeWorkingCopy(CompilationUnit.java:68)
     >> >       at
     >> >
     >>
    org.eclipse.jdt.internal.core.CompilationUnit.becomeWorkingCopy(CompilationUnit.java:76)
     >> >       at
     >> >
     >>
    org.eclipse.ajdt.internal.ui.editor.AspectJEditor.doSetInput(AspectJEditor.java:374)
     >> >       at
     >> >
     >>
    org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:2994)
     >> >       at
     >> >
     >>
    org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
     >> >       at
     >> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
     >> >       at
     >> >
     >>
    org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
     >> >       at
     >>
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
     >> >       at
     >> >
     >>
    org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
     >> >       at
     >>
    org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2451)
     >> >       at
     >> >
     >>
    org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3012)
     >> >       at
     >> >
     >>
    org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3039)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2739)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
     >> >       at
     >>
    org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
     >> >       at
     >>
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2565)
     >> >       at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
     >> >       at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:124)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:176)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:271)
     >> >       at
     >>
    org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
     >> >       at
     >> >
     >>
    org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:821)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:879)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:568)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
     >> >       at
     >> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
     >> >       at
    org.eclipse.swt.widgets.Display.filterEvent(Display.java:1141)
     >> >       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
     >> >       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
     >> >       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
     >> >       at
    org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:975)
     >> >       at
    org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:971)
     >> >       at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1285)
     >> >       at
    org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3772)
     >> >       at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:5374)
     >> >       at
    org.eclipse.swt.widgets.Control.windowProc(Control.java:3672)
     >> >       at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5370)
     >> >       at
    org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
     >> >       at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
     >> Method)
     >> >       at
     >> org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2265)
     >> >       at
     >> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291)
     >> >       at
     >> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
     >> >       at
    org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
     >> >       at
     >> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
     >> >       at
    org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
     >> >       at
     >> >
     >>
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
     >> >       at
     >> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
     >> >       at
     >> >
     >>
    org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
     >> >       at
     >> >
     >>
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
     >> >       at
     >> >
     >>
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
     >> >       at
     >> >
     >>
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
     >> >       at
     >> >
     >>
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
     >> >       at
     >> >
     >>
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
     >> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
     >> >       at
     >> >
     >>
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
     >> >       at
     >> >
     >>
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     >> >       at java.lang.reflect.Method.invoke(Method.java:615)
     >> >       at
     >> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
     >> >       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
     >> >       at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
     >> >       at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
     >> >
     >> >
     >> > Vinodh Subbiah,
     >> > 580 Laforet Street,Apt 14
     >> > Windsor N9C3G8
     >> > Canada
     >> > Ph 519-971-7847



Back to the top