on 11-08-2007 1:14 PM
Hello experts,
I installed JAVA 5 update 12 and SAP Netweaver CE 7.05. After working with the new tool I uninstall the developer studio. This all went well.
After installing and starting up SNDS SP20 I can't set the MDK settings again. After I push the button it doesn't do anything. In the .log file I have the following error:
!SESSION Nov 08, 2007 13:47:11.684 -
java.version=1.4.2_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide C:\j2sdk1.4.2_11\bin\javaw.exe
-Xmx512m
-Xms128m
-XX:PermSize=32m
-XX:MaxPermSize=128m
-DallUserDir='C:\Documents and Settings\All Users\Application Data'
-cp C:\Program Files\SAP\JDT\eclipse\SapStartup.jar com.sap.ide.eclipse.startup.Main
-os win32
-ws win32
-arch x86
-feature com.sap.java.ide
-showsplash C:\Program Files\SAP\JDT\eclipse\SapIde.exe -showsplash 600 -data C:\WorkSpace\nly16099 -install file:C:/Program Files/SAP/JDT/eclipse/
!ENTRY Startup 1 0 Nov 08, 2007 13:47:11.684
!MESSAGE Sap NetWeaver Developer Studio - Build: 200703260303
!ENTRY org.eclipse.ui 4 4 Nov 08, 2007 13:47:34.649
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Nov 08, 2007 13:47:34.664
!MESSAGE Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
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.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:53)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
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:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
!ENTRY org.eclipse.ui 4 4 Nov 08, 2007 13:47:34.664
!MESSAGE
Stack trace of contained exception ***
!ENTRY org.eclipse.ui 4 0 Nov 08, 2007 13:47:34.664
!MESSAGE String index out of range: -1
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1444)
at com.sap.ip.me.mdk.developmentTools.ideSpecific.eclipse.wizards.configurationWizard.ConfigurationPage.getMDKParams(ConfigurationPage.java:612)
at com.sap.ip.me.mdk.developmentTools.ideSpecific.eclipse.wizards.configurationWizard.ConfigurationPage.createContents(ConfigurationPage.java:141)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:215)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1016)
at org.eclipse.jface.preference.PreferenceDialog$9.run(PreferenceDialog.java:495)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.preference.PreferenceDialog$8.widgetSelected(PreferenceDialog.java:489)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:198)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:193)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:333)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:53)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
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:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
I installed and uninstalled the client, SNDS and Java several times. Restart the system several times. The client always works. This is SP20P3.
What is wrong in my system?
Thanks in advance,
Patrick Willems
Can't do. I'm behind a corporate firewall with my trouble desktop.
What do you want to check?
Regards,
Patrick Willems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the confusion but I uninstalled all java versions. Only the sun java 1.4 is installed.
I also create a different workspace and have no open/closed projects.
When I want to create a new SmartSyncProject SNDS says that the MDK settings are not filled in. After clicking on Ok the following error is popping up: String index out of range: -1 Reason: An error occured.
I don't know where to look anymore. I hope you got some ideas!
TIA
Patrick Willems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
I deleted all the folders with mdk in it. Downloaded the latest MDK version (SP19), but the same error.
What else?
TIA,
Patrick Willems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow - that is confusing... normally that solved this issue on my machine....
One thing that I have seen on your machne. You say you have installed Java 5SP12, but the trace tells me:
!SESSION Nov 08, 2007 13:47:11.684 -
java.version=1.4.2_11
java.vendor=Sun Microsystems Inc.
ahh - another question: you get this while opening the MDK settings page - but do you have any open project that you have developed with the new version? What if you close all projects?
Regards,
Oliver
Hi Oliver,
I delete the folder but nothing changes. Still got the same error.
What else could be wrong?
Regards,
Patrick Willems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
this is strange.... The problem: MDK does not save the setting inside the Eclipse installation folder. So your issue is: the new release of MI that you had installed with the latest preview has another format then the one you have now on your device. Unfortunately even an undelete does not delete the setting files.....
You need to find out, whereelse the setting was saved. Could be in the users folder in your case.
Please search for the folder that starts with:
com.sap.ip.me.mdk
And delete them all - only the one in the Eclipse installation fopr PLUGINS and FEATURES - these are still necessary.
I expect that there is another location on your device then the one you have deleted.
Regards,
Oliver
Hi Patrick,
have a look into the workspace of you SNDS installation. In the workspace folder you will find a hidden folder called .metadata.
In that folder you have the settings stored for all the different plugins. So open the plugns folder and look for a folder named:
com.sap.ip.me.mdk......
Delete this folder and try again. It should help to solve the problem.
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.