Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MDK Settings

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

Former Member
Not what you were looking for? View more on this topic or Ask a question