scala ide - getting java.lang.ClassCastException: org.eclipse.core.runtime.Status cannot be cast to org.eclipse.jdt.core.IJavaModelStatus while opening class file -
this happens scala ide 4.3.0
i getting below error while opening class file maven dependencies jar using eclipse decompiler plugin.
hint: trying open compiled jar of scala project.
java.lang.classcastexception: org.eclipse.core.runtime.status cannot cast org.eclipse.jdt.core.ijavamodelstatus
error details
eclipse.buildid=4.3.0-vfinal-2015-12-01t15:55:22z-typesafe java.version=1.8.0_102 java.vendor=oracle corporation bootloader constants: os=win32, arch=x86_64, ws=win32, nl=en_us command-line arguments: -os win32 -ws win32 -arch x86_64 org.eclipse.ui.workbench.texteditor editor not initialized.
stacktrace
java.lang.classcastexception: org.eclipse.core.runtime.status cannot cast org.eclipse.jdt.core.ijavamodelstatus @ org.eclipse.jdt.internal.core.classfile.getbuffer(classfile.java:367) @ org.eclipse.jdt.internal.core.classfile.getsource(classfile.java:509) @ org.sf.feeling.decompiler.editor.javadecompilerclassfileeditor.doopenbuffer(javadecompilerclassfileeditor.java:99) @ org.sf.feeling.decompiler.editor.javadecompilerclassfileeditor.doopenbuffer(javadecompilerclassfileeditor.java:81) @ org.sf.feeling.decompiler.editor.javadecompilerclassfileeditor.doopenbuffer(javadecompilerclassfileeditor.java:71) @ org.sf.feeling.decompiler.editor.javadecompilerclassfileeditor.dosetinput(javadecompilerclassfileeditor.java:339) @ org.eclipse.ui.texteditor.abstracttexteditor$19.run(abstracttexteditor.java:3220) @ org.eclipse.jface.operation.modalcontext.runincurrentthread(modalcontext.java:466) @ org.eclipse.jface.operation.modalcontext.run(modalcontext.java:374) @ org.eclipse.ui.internal.workbenchwindow$13.run(workbenchwindow.java:2157) @ org.eclipse.swt.custom.busyindicator.showwhile(busyindicator.java:70) @ org.eclipse.ui.internal.workbenchwindow.run(workbenchwindow.java:2153) @ org.eclipse.ui.texteditor.abstracttexteditor.internalinit(abstracttexteditor.java:3238) @ org.eclipse.ui.texteditor.abstracttexteditor.init(abstracttexteditor.java:3265) @ org.eclipse.ui.internal.editorreference.initialize(editorreference.java:390) @ org.eclipse.ui.internal.e4.compatibility.compatibilitypart.create(compatibilitypart.java:305) @ sun.reflect.generatedmethodaccessor109.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.eclipse.e4.core.internal.di.methodrequestor.execute(methodrequestor.java:55) @ org.eclipse.e4.core.internal.di.injectorimpl.processannotated(injectorimpl.java:888) @ org.eclipse.e4.core.internal.di.injectorimpl.processannotated(injectorimpl.java:869) @ org.eclipse.e4.core.internal.di.injectorimpl.inject(injectorimpl.java:120) @ org.eclipse.e4.core.internal.di.injectorimpl.internalmake(injectorimpl.java:337) @ org.eclipse.e4.core.internal.di.injectorimpl.make(injectorimpl.java:258) @ org.eclipse.e4.core.contexts.contextinjectionfactory.make(contextinjectionfactory.java:162) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.createfrombundle(reflectioncontributionfactory.java:104) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.docreate(reflectioncontributionfactory.java:73) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.create(reflectioncontributionfactory.java:55) @ org.eclipse.e4.ui.workbench.renderers.swt.contributedpartrenderer.createwidget(contributedpartrenderer.java:127) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.createwidget(partrenderingengine.java:983) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.safecreategui(partrenderingengine.java:662) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.safecreategui(partrenderingengine.java:766) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.access$2(partrenderingengine.java:737) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$7.run(partrenderingengine.java:731) @ org.eclipse.core.runtime.saferunner.run(saferunner.java:42) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.creategui(partrenderingengine.java:715) @ org.eclipse.e4.ui.internal.workbench.partserviceimpl$1.handleevent(partserviceimpl.java:95) @ org.eclipse.e4.ui.services.internal.events.uieventhandler$1.run(uieventhandler.java:40) @ org.eclipse.swt.widgets.synchronizer.syncexec(synchronizer.java:187) @ org.eclipse.ui.internal.uisynchronizer.syncexec(uisynchronizer.java:156) @ org.eclipse.swt.widgets.display.syncexec(display.java:4734) @ org.eclipse.e4.ui.internal.workbench.swt.e4application$1.syncexec(e4application.java:218) @ org.eclipse.e4.ui.services.internal.events.uieventhandler.handleevent(uieventhandler.java:36) @ org.eclipse.equinox.internal.event.eventhandlerwrapper.handleevent(eventhandlerwrapper.java:197) @ org.eclipse.equinox.internal.event.eventhandlertracker.dispatchevent(eventhandlertracker.java:197) @ org.eclipse.equinox.internal.event.eventhandlertracker.dispatchevent(eventhandlertracker.java:1) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.listenerqueue.dispatcheventsynchronous(listenerqueue.java:148) @ org.eclipse.equinox.internal.event.eventadminimpl.dispatchevent(eventadminimpl.java:135) @ org.eclipse.equinox.internal.event.eventadminimpl.sendevent(eventadminimpl.java:78) @ org.eclipse.equinox.internal.event.eventcomponent.sendevent(eventcomponent.java:39) @ org.eclipse.e4.ui.services.internal.events.eventbroker.send(eventbroker.java:81) @ org.eclipse.e4.ui.internal.workbench.uieventpublisher.notifychanged(uieventpublisher.java:59) @ org.eclipse.emf.common.notify.impl.basicnotifierimpl.enotify(basicnotifierimpl.java:374) @ org.eclipse.e4.ui.model.application.ui.impl.elementcontainerimpl.setselectedelement(elementcontainerimpl.java:171) @ org.eclipse.e4.ui.internal.workbench.modelserviceimpl.showelementinwindow(modelserviceimpl.java:488) @ org.eclipse.e4.ui.internal.workbench.modelserviceimpl.bringtotop(modelserviceimpl.java:454) @ org.eclipse.e4.ui.internal.workbench.partserviceimpl.delegatebringtotop(partserviceimpl.java:705) @ org.eclipse.e4.ui.internal.workbench.partserviceimpl.bringtotop(partserviceimpl.java:392) @ org.eclipse.e4.ui.internal.workbench.partserviceimpl.showpart(partserviceimpl.java:1145) @ org.eclipse.ui.internal.workbenchpage.busyopeneditor(workbenchpage.java:3210) @ org.eclipse.ui.internal.workbenchpage.access$23(workbenchpage.java:3125) @ org.eclipse.ui.internal.workbenchpage$9.run(workbenchpage.java:3107) @ org.eclipse.swt.custom.busyindicator.showwhile(busyindicator.java:70) @ org.eclipse.ui.internal.workbenchpage.openeditor(workbenchpage.java:3102) @ org.eclipse.ui.internal.workbenchpage.openeditor(workbenchpage.java:3066) @ org.eclipse.ui.internal.workbenchpage.openeditor(workbenchpage.java:3056) @ org.sf.feeling.decompiler.actions.openclasswithcontributionfactory$openclassesaction.run(openclasswithcontributionfactory.java:119) @ org.eclipse.jface.action.action.runwithevent(action.java:519) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:595) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:511) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:420) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.display.sendevent(display.java:4353) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1061) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4172) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3761) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$9.run(partrenderingengine.java:1151) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:1032) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:148) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:636) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:579) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:150) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:135) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:648) @ org.eclipse.equinox.launcher.main.basicrun(main.java:603) @ org.eclipse.equinox.launcher.main.run(main.java:1465)
the closest link reference issue @ refer here
it may due comments
it looks problem jdt aspects. due slight change in internals of jdt between 3.x , 4.x.
Comments
Post a Comment