Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ADT 2.48

former_member193202
Participant
0 Kudos

We just upgraded to 2.48 now we get an error when opening a class like that:

java.lang.RuntimeException: Editor could not be initialized.

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.rethrowingErrors(AbapSourceMultiPageEditor.java:1950)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.pageChange(AbapSourceMultiPageEditor.java:1747)

  at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1102)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.setActivePage(AbapSourceMultiPageEditor.java:1436)

  at com.sap.adt.oo.ui.internal.classes.editors.MultiPageClassEditor$1.call(MultiPageClassEditor.java:238)

  at com.sap.adt.oo.ui.internal.classes.editors.MultiPageClassEditor$1.call(MultiPageClassEditor.java:1)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.rethrowingErrors(AbapSourceMultiPageEditor.java:1946)

  at com.sap.adt.oo.ui.internal.classes.editors.MultiPageClassEditor.doCreatePages(MultiPageClassEditor.java:161)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.createPages(AbapSourceMultiPageEditor.java:766)

  at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:363)

  at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151)

  at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)

  at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341)

  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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

  at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)

  at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)

  at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)

  at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)

  at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)

  at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)

  at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)

  at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)

  at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)

  at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.createElement(PartServiceImpl.java:1209)

  at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1170)

  at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:400)

  at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)

  at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3186)

  at org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149)

  at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131)

  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3080)

  at org.eclipse.ui.ide.IDE.openEditor(IDE.java:541)

  at org.eclipse.ui.ide.IDE.openEditor(IDE.java:500)

  at org.eclipse.ui.ide.IDE.openEditor(IDE.java:1093)

  at com.sap.adt.tools.core.ui.internal.navigation.NavigationService.openEditorWithMarker(NavigationService.java:287)

  at com.sap.adt.tools.core.ui.internal.navigation.NavigationService.openEditor(NavigationService.java:221)

  at com.sap.adt.tools.core.ui.internal.navigation.NavigationService.navigate(NavigationService.java:192)

  at com.sap.adt.projectexplorer.ui.internal.action.AbapRepositoryObjectActionProvider$1.run(AbapRepositoryObjectActionProvider.java:81)

  at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:229)

  at org.eclipse.ui.navigator.CommonNavigatorManager$2.open(CommonNavigatorManager.java:191)

  at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)

  at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)

  at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

  at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851)

  at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168)

  at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:449)

  at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275)

  at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)

  at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)

  at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)

  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

  at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)

  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)

  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)

  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

  at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

  at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)

  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)

  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

  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:669)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

  at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

Caused by: org.eclipse.ui.PartInitException: Editor could not be initialized.

  at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3254)

  at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3265)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourcePage.init(AbapSourcePage.java:381)

  at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:240)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.addAdtPage(AbapSourceMultiPageEditor.java:1927)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.createEditorPage(AbapSourceMultiPageEditor.java:1900)

  at com.sap.adt.oo.ui.internal.classes.editors.MultiPageClassEditor.createEditorPage(MultiPageClassEditor.java:619)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor$9.call(AbapSourceMultiPageEditor.java:1759)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor$9.call(AbapSourceMultiPageEditor.java:1)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourceMultiPageEditor.rethrowingErrors(AbapSourceMultiPageEditor.java:1946)

  ... 93 more

Caused by: java.lang.NoSuchFieldError: file

  at com.sap.adt.oo.ui.internal.classes.editors.ClassSourcePage.getFile(ClassSourcePage.java:117)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourcePage.firePropertyChange(AbapSourcePage.java:872)

  at org.eclipse.ui.texteditor.AbstractTextEditor.initializeTitle(AbstractTextEditor.java:4133)

  at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4235)

  at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)

  at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)

  at com.sap.adt.tools.abapsource.ui.sources.editors.AbapSourcePage.doSetInput(AbapSourcePage.java:420)

  at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3220)

  at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)

  at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)

  at org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2156)

  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

  at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2152)

  at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3238)

  ... 102 more

any ideas??

1 REPLY 1

former_member186216
Active Participant
0 Kudos

Hi Oliver,

it seems that you have an inconsistent combination of ADT plugins of different versions.

Most likely the upgrade went wrong.

Please install 2.48 from scratch, then the problem should be gone.

Best regards,

Marco