Current Position:Home > Run time error after starting eclipse

Run time error after starting eclipse

Update:10-11Source: network consolidation
Advertisement
Hello,
after installation of the SAP Eclipse Theme Editor the following run time error is reported after each restart of eclipse:
java.lang.ClassCastException: com.sap.ur.plugins.ThemeEditor32Input cannot be cast to com.sap.ur.plugins.ThemeEditorInput
     at com.sap.ur.plugins.ThemeEditor.init(ThemeEditor.java:188)
     at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
     at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
     at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
     at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
     at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
     at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
     at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
     at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
     at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
     at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
     at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
I can work with this editor anyway after choosing the project. But I still have a problem because the preview will not change when I choose a different UI element. The preview alway shows the text "welcome to the SAP ThemeEditor!".  When I modify style parameters for the UI element Text the preview is modified in the right way. I already set the Internet Options for the Internet Explorer as suggested. Is it possible that the reported run time error is the reason for the preview problems? The external preview works fine.

The Best Answer

Advertisement
Hi,
I would suggest you to remove NWDS, then ensure that nothing left on the disk related to NWDS, and then try a fresh install.
Best Regards,
Ervin