cancel
Showing results for 
Search instead for 
Did you mean: 

Error while opening perspective after project creation

0 Kudos

Hi,

I am getting following error in opening perspectives after creating project.

I am not able to see project in any perspective (not even in 'Navigator').

Following is the exception stack trace in error view -->

com.tssap.j2ee.model.J2eeCreateException

at com.tssap.j2ee.ui.creation.internal.AbstractJ2eeProjectCreation.createNewProject(AbstractJ2eeProjectCreation.java:150)

at com.tssap.j2ee.ui.wizard.AbstractJ2eeProjectWizard.createJ2eeProject(AbstractJ2eeProjectWizard.java:131)

at com.tssap.j2ee.ui.ejb.wizard.EjbModuleProject.performFinish(EjbModuleProject.java:81)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

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.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.sap.ide.eclipse.component.provider.actions.dc.DcNewAction.run(DcNewAction.java:97)

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)

Please help.

View Entire Topic
Amey-Mogare
Contributor
0 Kudos

Hi,

You can try creating new Root folder and new workspace for your NWDS.

1. Create a new folder with name ' <userID>_NWDS_NEW_ROOT ' in your machine

2. Create a new folder with name ' <userID>_NWDS_NEW_WORKSPACE ' in your machine

3. Open NWDS (and logon to DTR)

4. Remove all configurations from your Development Configuration perspective (except 'Local Development')

5. Go to Window --> Preferences --> Java Development Infra --> Development Configurations

6. Change 'Root Folder' to the folder created in step-1

7. Close NWDS

8. Create ' Run_NWDS.bat ' file in your NWDS installation folder which has 'SapIde.exe' file

(it will be generally in --> C:\Program Files\SAP\IDE\IDE70\eclipse)

9. Type following in .bat file -->

SapIde.exe -data "<complete path to folder created in step-2>"

10. Now double click on this .bat file to open NWDS

Now logon to DTR, import configuration, create project from 'inactive DCs' and you should be able to create project and see it in respective perspective.

Regards,

Amey

0 Kudos

Hi Amey,

thanks a lot ..i solved the issue by following the steps in your answer.