on 11-09-2006 7:05 PM
Hi Experts:
we are having an urgent problem. We have a few Adaptive RFC models for our application. Which were working fine upto now. But when I tried reimporting them today am getting peculiar error. The error is coming when I fill up the system details, user name, password and press next in the Model reimport wizard. The error is like below:
Plugin Name: Web Dynpro Model Editor Services
Plugin Id: com.sap.ide.webdynpro.service.modeleditor
Class:com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog
Method: nextPressed
Message:Internal error - see detail information in exception trace.
Exception:org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
If anybody has any clue on what needs to be fixed for this to resolve please let me know. It seems problem with some plugin may be to me. But am not sure... and need urgent help.
Thanks for you help in advance. Please suggest.
Regards,
Shubhadip
Shubhadip,
1. Please post complete stack trace, nextPressed method is only the the bottom of exception, without knowing the root it is impossible to answer.
2. Start NW IDE in console mode (java instead javaw), some messages are shown only on console and does not get into log file.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi VS:
here is the complete stacktrace I get while model reimport:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2330)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:101)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.connectToServer(SAPLogonPage.java:1489)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.performFinish(SAPLogonPage.java:1595)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.initializeReimporter(ModelWizard.java:1187)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.performPostSapLogonPageForReimport(ModelWizard.java:1210)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:73)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
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.webdynpro.modeleditor.ModelEditorCallback.reimportModel(ModelEditorCallback.java:218)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.reImportModel(ModelService.java:207)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.reImportModel(ServiceWithUI.java:120)
at com.sap.ide.webdynpro.tsmodel.application.actions.ReimportModelAction.run(ReimportModelAction.java:11)
at com.sap.ide.webdynpro.projectbrowser.actions.PBReimportModelAction.run(PBReimportModelAction.java:77)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.runInternal(PBDevelopmentObjectAction.java:80)
at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.run(PBDevelopmentObjectAction.java:61)
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)
In the java console I get the following:
Warning: Context callback already set
INFO: using default logging implementation
INFO: using logging implementation "AII Logging"
let me know if I need to check anything else. Yesterday I tried reinstalling the NWDS also.. didnt help.
regards,
Shubhadip
Some more error message I found:
Web Dynpro Generation: java.lang.Exception: Problem running compiled template used for generating C:/WD/VendorMasterRequest01/gen_wdp/packages/com/sap/wd/vmr/wdp/InternalGeneralDataView.java: referenced property missing for model attribute, C:/WD/VendorMasterRequest01/gen_wdp/packages/com/sap/wd/vmr/wdp/InternalGeneralDataView.java
Web Dynpro Generation: java.lang.Exception: Problem running compiled template used for generating C:/WD/VendorMasterRequest01/gen_wdp/packages/com/sap/wd/vmr/wdp/IPrivateGeneralDataView.java: null, C:/WD/VendorMasterRequest01/gen_wdp/packages/com/sap/wd/vmr/wdp/IPrivateGeneralDataView.java
do you think it is coming due to some model context mapping mismatch?
regards,
Shubho
The most ineteresting lines for me are:
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.<b>connectToServer</b>(SAPLogonPage.java:1489)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.performFinish(SAPLogonPage.java:1595)
Are wizard fails at logon page? Do you able to logon to R/3 using SAP GUI and the very same connection parameters?
VS
Hi,
Try to create new Wd Application by using import model from ABAP.
if it works then you can create new appliation and copy all functions into new applications.
Generally Wdcontext error is coming when any chages have been done in R/3 side and reimport this model inot Webdynpro with our starting the J2ee engine if u rebuild and deploy the project that time WdContext error will occurs.
Try like this.
Thanks,
Lohi.
Hi ,
Did you change the version of NWDS?if you are in the same version
check that jar file once in JDE plug-ins .
Otherwise try install in update mode NWDS.And check all SLD and JCos once.
this might helps.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roberto,
your first thread displays the exact error I am facing. But if you see that thread - thats also not solved... and neither is mine. Didnt get much help from the second one though.
Lohita: my NWDS version same as it was earlier. This WD component was fine even a few days ago. Suddenly I am seeing its filled up with errors in the implementation tabs - even its saying it cant understand wdContenxt object. Over that the model reimport is also not working.
I really need to repair this project asap - there is a lot of work behind it already - I tried project rebuild, rebuild all, project repair.. etc. really do not know how to solve this. even tried copying the whole project folder into a different machine and different NWDS - but still same error. It seems due to some unknown reason the metacode got corrupted? I am not sure. Please help. I
regards,
Shubho
Hi Shubhadip,
Please try deleting the .metadata directory under your workspace and start the IDE.
hope this will solve your problem
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.