mevenide

java.lang.AbstractMethodError: org.codehaus.mevenide.netbeans.j2ee.ejb.EjbJarImpl.getMetadataUnit()

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: NB_2.2
  • Fix Version/s: NB_2.3
  • Component/s: mevenide-netbeans
  • Labels:
    None
  • Environment:
    Linux CentOS 4.4
    JDK 1.5 update 7
    Netbeans 5.5 daily build - Sept 4 2006
  • Number of attachments :
    0

Description

This happens when I right click on the editor. It also happens everytime I start netbeans. Stack trace follows.

java.lang.AbstractMethodError: org.codehaus.mevenide.netbeans.j2ee.ejb.EjbJarImpl.getMetadataUnit()Lorg/netbeans/modules/j2ee/metadata/MetadataUnit;
at org.netbeans.modules.j2ee.api.ejbjar.EjbJar.getMetadataUnit(EjbJar.java:141)
at org.netbeans.modules.j2ee.ejbcore.api.methodcontroller.EjbMethodController.createFromClass(EjbMethodController.java:69)
at org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.action.EJBActionGroup.enable(EJBActionGroup.java:93)
at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:567)
at org.openide.util.actions.NodeAction$DelegateAction.<init>(NodeAction.java:512)
at org.openide.util.actions.NodeAction.createContextAwareInstance(NodeAction.java:312)
at org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.action.EJBActionGroup.createContextAwareInstance(EJBActionGroup.java:128)
at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.translateContextLookupAction(NbEditorKit.java:338)
at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.addAction(NbEditorKit.java:383)
at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.buildPopupMenu(NbEditorKit.java:293)
at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.actionPerformed(ExtKit.java:236)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:256)
at org.netbeans.editor.ext.ExtEditorUI.showPopupMenu(ExtEditorUI.java:145)
at org.netbeans.editor.ext.ExtCaret.showPopup(ExtCaret.java:365)
at org.netbeans.editor.ext.ExtCaret.mousePressed(ExtCaret.java:359)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Activity

Hide
Milos Kleint added a comment -

was caused by non-backward compatible change in netbeans ejbjar apis. I consider that a bug on netbeans side right now. If the changed interface stays in the final 5.5 release, I will hae to come up with a workaround.

see http://www.netbeans.org/issues/show_bug.cgi?id=82450

Show
Milos Kleint added a comment - was caused by non-backward compatible change in netbeans ejbjar apis. I consider that a bug on netbeans side right now. If the changed interface stays in the final 5.5 release, I will hae to come up with a workaround. see http://www.netbeans.org/issues/show_bug.cgi?id=82450
Hide
Jan Alonzo added a comment -

Thank you for the link. I tried mevenide (latest) with Netbeans 6 and this bug doesn't show up there. So I guess this is a 5.5 issue.

Cheers/

Show
Jan Alonzo added a comment - Thank you for the link. I tried mevenide (latest) with Netbeans 6 and this bug doesn't show up there. So I guess this is a 5.5 issue. Cheers/
Hide
Richard C. L. Li added a comment -

The netbeans 5.5 release failed in this issue, please provide a workaround for netbeans 5.5. Thanks.

Show
Richard C. L. Li added a comment - The netbeans 5.5 release failed in this issue, please provide a workaround for netbeans 5.5. Thanks.
Hide
Milos Kleint added a comment -

there is no workaround. I will have to release a new version that will stop working with 5.0. It's a lose-lose situation. If I update the dependencies and compile against 5.5, everyone who tries to use the upgrade from 5.0 will get an error. And now everyone is getting error in 5.5.

right now I'm trying to figure out what the MetaDataUnit class actually is and what the implementation should be and then provide a 5.5 version of the j2ee support. stay tuned.

Show
Milos Kleint added a comment - there is no workaround. I will have to release a new version that will stop working with 5.0. It's a lose-lose situation. If I update the dependencies and compile against 5.5, everyone who tries to use the upgrade from 5.0 will get an error. And now everyone is getting error in 5.5. right now I'm trying to figure out what the MetaDataUnit class actually is and what the implementation should be and then provide a 5.5 version of the j2ee support. stay tuned.
Hide
Milos Kleint added a comment -

oh.. and it doesn't hurt if you complain in the netbeans issue #82450.

Show
Milos Kleint added a comment - oh.. and it doesn't hurt if you complain in the netbeans issue #82450.
Hide
Milos Kleint added a comment -

to be addressed by a hotfix release.

Show
Milos Kleint added a comment - to be addressed by a hotfix release.
Hide
Milos Kleint added a comment -

fixed and on the update center.

by fixed I mean I removed any ejb related code from mevenide. So at leats it's possible to work with the project without exceptions. Not ideal solution though

Show
Milos Kleint added a comment - fixed and on the update center. by fixed I mean I removed any ejb related code from mevenide. So at leats it's possible to work with the project without exceptions. Not ideal solution though

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: