Skip to Content
0
Former Member
Feb 16, 2005 at 12:29 PM

bug in NW developer studio?

13 Views

Hello,

while developing a CMP Entity Bean i encountered the following behaviour. After having successfully deployed my entity bean i closed the developer studio!

Afterwards i started it again and could not find an icon in the workspace tree for my EJB. There is an entry in the ejb-jar.xml! OK! I took a look in the .log file, but everything seems to be fine. So i wanted to try building the jar again, but the action is disabled in the context menu.

If i try to create a new bean in this project i get the following two exceptions:

1.) create ejb in package

2.) create ejb

1.)

!MESSAGE Feb 16, 2005 1:21:21 PM com.tssap.j2ee.ui.perspective.core.action.CreateEjbInPack... [Thread[main,5,main]] Error:

!STACK 0

com.tssap.j2ee.ui.ejb.external.EjbCreationException: Creation error of EJB

at com.tssap.j2ee.ui.ejb.external.EjbFactory.createEntityBean(EjbFactory.java:259)

at com.tssap.j2ee.ui.ejb.external.EjbFactory.createEntityBean(EjbFactory.java:55)

at com.tssap.j2ee.ui.perspective.core.action.CreateEjbInPackageActionProvider$CreateEntityBeanInPackageAction.run(CreateEjbInPackageActionProvider.java:527)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

-


Nested exception -


com.tssap.j2ee.model.J2eeCreateException: Creation error of EJB

at com.tssap.j2ee.model.ejb.impl.EjbProject.createEntityBean(EjbProject.java:120)

at com.tssap.j2ee.model.ejb.impl.EjbModule.createEntityBean(EjbModule.java:367)

at com.tssap.j2ee.ui.ejb.wizard.internal.CreationFactorySemanticAPI.createEJB(CreationFactorySemanticAPI.java:102)

at com.tssap.j2ee.ui.ejb.wizard.internal.CreationFactorySemanticAPI.createEntityBean(CreationFactorySemanticAPI.java:47)

at com.tssap.j2ee.ui.ejb.external.EjbFactory.createEntityBean(EjbFactory.java:251)

at com.tssap.j2ee.ui.ejb.external.EjbFactory.createEntityBean(EjbFactory.java:55)

at com.tssap.j2ee.ui.perspective.core.action.CreateEjbInPackageActionProvider$CreateEntityBeanInPackageAction.run(CreateEjbInPackageActionProvider.java:527)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)

at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

!ENTRY com.tssap.util 4 0 Feb 16, 2005 13:22:11.60

!MESSAGE Feb 16, 2005 1:22:10 PM

2.) com.tssap.j2ee.ui.ejb.wizard.internal.pages.EjbMainpage [Thread[main,5,main]] Error: method: finish -> Not able to create EnterpriseBean

Thanks in advance!

Christian