suddenly all java files get IncompatibleClassChangeError [message #256476] |
Wed, 17 September 2008 12:45 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
suddenly I'm getting for all java files in workspace
IncompatibleClassChangeError
if I try to open the file in java editor or click on a java file in
PackageExplorer
restarted eclipse with -clean
rebooted
nothing helps
hopefully someone has an idea
thx
ekke
Ganymede, OSX 10.5.5, JDK 1.5
java.lang.IncompatibleClassChangeError
at
org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getRes ource(JavaElementAdapterFactory.java:124)
at
org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getAda pter(JavaElementAdapterFactory.java:89)
at
org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAda pter(AdapterFactoryProxy.java:80)
at
org.eclipse.core.internal.runtime.AdapterManager.getAdapter( AdapterManager.java:291)
at
org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformO bject.java:66)
at org.eclipse.team.internal.ui.Utils.getResource(Utils.java:87 5)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.ge tResource(CVSLightweightDecorator.java:180)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.de corate(CVSLightweightDecorator.java:139)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:263)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:356)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:338)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(DecorationScheduler.java:374)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:334)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-------
java.lang.IncompatibleClassChangeError
at
org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getRes ource(JavaElementAdapterFactory.java:124)
at
org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getAda pter(JavaElementAdapterFactory.java:89)
at
org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAda pter(AdapterFactoryProxy.java:80)
at
org.eclipse.core.internal.runtime.AdapterManager.getAdapter( AdapterManager.java:291)
at
org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformO bject.java:66)
at org.eclipse.ui.ide.ResourceUtil.getAdapter(ResourceUtil.java :257)
at org.eclipse.ui.ide.ResourceUtil.getResource(ResourceUtil.jav a:132)
at
org.eclipse.ui.internal.ide.actions.BuildUtilities.extractPr ojects(BuildUtilities.java:52)
at
org.eclipse.ui.internal.ide.actions.BuildUtilities.findSelec tedProjects(BuildUtilities.java:81)
at org.eclipse.ui.actions.BuildAction.isEnabled(BuildAction.jav a:231)
at
org.eclipse.jface.commands.ActionHandler.isEnabled(ActionHan dler.java:141)
at org.eclipse.core.commands.Command.isEnabled(Command.java:833 )
at org.eclipse.core.commands.Command.setHandler(Command.java:96 5)
at
org.eclipse.ui.internal.handlers.HandlerAuthority.updateComm and(HandlerAuthority.java:459)
at
org.eclipse.ui.internal.handlers.HandlerAuthority.processCha ngedCommands(HandlerAuthority.java:636)
at
org.eclipse.ui.internal.handlers.HandlerAuthority.access$1(H andlerAuthority.java:610)
at
org.eclipse.ui.internal.handlers.HandlerAuthority$1.property Change(HandlerAuthority.java:175)
at
org.eclipse.ui.internal.services.EvaluationAuthority$1.run(E valuationAuthority.java:252)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.services.EvaluationAuthority.fireSer viceChange(EvaluationAuthority.java:246)
at
org.eclipse.ui.internal.services.EvaluationAuthority.endSour ceChange(EvaluationAuthority.java:197)
at
org.eclipse.ui.internal.services.EvaluationAuthority.sourceC hanged(EvaluationAuthority.java:135)
at
org.eclipse.ui.internal.services.ExpressionAuthority.sourceC hanged(ExpressionAuthority.java:310)
at
org.eclipse.ui.internal.services.ExpressionAuthority.sourceC hanged(ExpressionAuthority.java:289)
at
org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(Abst ractSourceProvider.java:99)
at
org.eclipse.ui.internal.services.ActiveShellSourceProvider.a ccess$13(ActiveShellSourceProvider.java:1)
at
org.eclipse.ui.internal.services.ActiveShellSourceProvider$3 .handleEvent(ActiveShellSourceProvider.java:302)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:113 0)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1560)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1566)
at org.eclipse.swt.widgets.Shell.kEventWindowActivated(Shell.ja va:1002)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2035)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4163 )
at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Nati ve Method)
at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2599)
at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1326)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2925)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Na tive Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3047)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
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(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
|
|
Re: suddenly all java files get IncompatibleClassChangeError [message #256482 is a reply to message #256476] |
Wed, 17 September 2008 13:11 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
replaced my workspace by the version TimeMachine has backed-up one hour
before and all runs normal.
but would be great to know what can cause such a problem
ekke
ekke schrieb:
> suddenly I'm getting for all java files in workspace
> IncompatibleClassChangeError
> if I try to open the file in java editor or click on a java file in
> PackageExplorer
>
> restarted eclipse with -clean
> rebooted
>
> nothing helps
>
> hopefully someone has an idea
>
> thx
>
> ekke
> Ganymede, OSX 10.5.5, JDK 1.5
>
>
> java.lang.IncompatibleClassChangeError
> at
> org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getRes ource(JavaElementAdapterFactory.java:124)
>
> at
> org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getAda pter(JavaElementAdapterFactory.java:89)
>
> at
> org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAda pter(AdapterFactoryProxy.java:80)
>
> at
> org.eclipse.core.internal.runtime.AdapterManager.getAdapter( AdapterManager.java:291)
>
> at
> org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformO bject.java:66)
> at org.eclipse.team.internal.ui.Utils.getResource(Utils.java:87 5)
> at
> org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.ge tResource(CVSLightweightDecorator.java:180)
>
> at
> org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.de corate(CVSLightweightDecorator.java:139)
>
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:263)
>
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 72)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:356)
>
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:338)
>
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(DecorationScheduler.java:374)
>
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:334)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> -------
> java.lang.IncompatibleClassChangeError
> at
> org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getRes ource(JavaElementAdapterFactory.java:124)
>
> at
> org.eclipse.jdt.internal.ui.JavaElementAdapterFactory.getAda pter(JavaElementAdapterFactory.java:89)
>
> at
> org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAda pter(AdapterFactoryProxy.java:80)
>
> at
> org.eclipse.core.internal.runtime.AdapterManager.getAdapter( AdapterManager.java:291)
>
> at
> org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformO bject.java:66)
> at org.eclipse.ui.ide.ResourceUtil.getAdapter(ResourceUtil.java :257)
> at org.eclipse.ui.ide.ResourceUtil.getResource(ResourceUtil.jav a:132)
> at
> org.eclipse.ui.internal.ide.actions.BuildUtilities.extractPr ojects(BuildUtilities.java:52)
>
> at
> org.eclipse.ui.internal.ide.actions.BuildUtilities.findSelec tedProjects(BuildUtilities.java:81)
>
> at org.eclipse.ui.actions.BuildAction.isEnabled(BuildAction.jav a:231)
> at
> org.eclipse.jface.commands.ActionHandler.isEnabled(ActionHan dler.java:141)
> at org.eclipse.core.commands.Command.isEnabled(Command.java:833 )
> at org.eclipse.core.commands.Command.setHandler(Command.java:96 5)
> at
> org.eclipse.ui.internal.handlers.HandlerAuthority.updateComm and(HandlerAuthority.java:459)
>
> at
> org.eclipse.ui.internal.handlers.HandlerAuthority.processCha ngedCommands(HandlerAuthority.java:636)
>
> at
> org.eclipse.ui.internal.handlers.HandlerAuthority.access$1(H andlerAuthority.java:610)
>
> at
> org.eclipse.ui.internal.handlers.HandlerAuthority$1.property Change(HandlerAuthority.java:175)
>
> at
> org.eclipse.ui.internal.services.EvaluationAuthority$1.run(E valuationAuthority.java:252)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.services.EvaluationAuthority.fireSer viceChange(EvaluationAuthority.java:246)
>
> at
> org.eclipse.ui.internal.services.EvaluationAuthority.endSour ceChange(EvaluationAuthority.java:197)
>
> at
> org.eclipse.ui.internal.services.EvaluationAuthority.sourceC hanged(EvaluationAuthority.java:135)
>
> at
> org.eclipse.ui.internal.services.ExpressionAuthority.sourceC hanged(ExpressionAuthority.java:310)
>
> at
> org.eclipse.ui.internal.services.ExpressionAuthority.sourceC hanged(ExpressionAuthority.java:289)
>
> at
> org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(Abst ractSourceProvider.java:99)
>
> at
> org.eclipse.ui.internal.services.ActiveShellSourceProvider.a ccess$13(ActiveShellSourceProvider.java:1)
>
> at
> org.eclipse.ui.internal.services.ActiveShellSourceProvider$3 .handleEvent(ActiveShellSourceProvider.java:302)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:113 0)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1560)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1566)
> at org.eclipse.swt.widgets.Shell.kEventWindowActivated(Shell.ja va:1002)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2035)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4163 )
> at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Nati ve Method)
> at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2599)
> at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1326)
> at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2925)
> at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Na tive Method)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3047)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> 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(EclipseS tarter.java:382)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
|
|
Re: suddenly all java files get IncompatibleClassChangeError [message #256486 is a reply to message #256476] |
Wed, 17 September 2008 13:30 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
ekke wrote:
> suddenly I'm getting for all java files in workspace
> IncompatibleClassChangeError
> if I try to open the file in java editor or click on a java file in
> PackageExplorer
>
> restarted eclipse with -clean
> rebooted
>
> nothing helps
>
> hopefully someone has an idea
Did you try just doing Project > Clean to force a rebuild of everything?
Eric
|
|
|
Re: suddenly all java files get IncompatibleClassChangeError [message #256495 is a reply to message #256486] |
Wed, 17 September 2008 13:42 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
Eric Rizzo schrieb:
> ekke wrote:
>> suddenly I'm getting for all java files in workspace
>> IncompatibleClassChangeError
>> if I try to open the file in java editor or click on a java file in
>> PackageExplorer
>>
>> restarted eclipse with -clean
>> rebooted
>>
>> nothing helps
>>
>> hopefully someone has an idea
>
> Did you try just doing Project > Clean to force a rebuild of everything?
>
> Eric
yes - I also tried to Clean all projects
doesnt help
just worked something in my restored workspace
all seems ok
then after quit and restart the error happens again
with all java files from all projects
ekke
|
|
|
Re: suddenly all java files get IncompatibleClassChangeError [message #256502 is a reply to message #256495] |
Wed, 17 September 2008 14:57 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
ekke schrieb:
> Eric Rizzo schrieb:
>> ekke wrote:
>>> suddenly I'm getting for all java files in workspace
>>> IncompatibleClassChangeError
>>> if I try to open the file in java editor or click on a java file in
>>> PackageExplorer
>>>
>>> restarted eclipse with -clean
>>> rebooted
>>>
>>> nothing helps
>>>
>>> hopefully someone has an idea
>>
>> Did you try just doing Project > Clean to force a rebuild of everything?
>>
>> Eric
> yes - I also tried to Clean all projects
> doesnt help
>
> just worked something in my restored workspace
> all seems ok
> then after quit and restart the error happens again
> with all java files from all projects
>
> ekke
tried to use an eclipse installation from yesterday
works some minutes, but then again IncompatibleClassChangeError
tried to change from JRE 1.5 to 1.6 (and back)
nothing helps
has anyone an idea how to solve these errors ?
first time after so many years using eclipse I was really confused
THX
ekke
|
|
|
Re: suddenly all java files get IncompatibleClassChangeError [message #256520 is a reply to message #256502] |
Wed, 17 September 2008 18:32 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
ekke schrieb:
> ekke schrieb:
>> Eric Rizzo schrieb:
>>> ekke wrote:
>>>> suddenly I'm getting for all java files in workspace
>>>> IncompatibleClassChangeError
>>>> if I try to open the file in java editor or click on a java file in
>>>> PackageExplorer
>>>>
>>>> restarted eclipse with -clean
>>>> rebooted
>>>>
>>>> nothing helps
>>>>
>>>> hopefully someone has an idea
>>>
>>> Did you try just doing Project > Clean to force a rebuild of everything?
>>>
>>> Eric
>> yes - I also tried to Clean all projects
>> doesnt help
>>
>> just worked something in my restored workspace
>> all seems ok
>> then after quit and restart the error happens again
>> with all java files from all projects
>>
>> ekke
> tried to use an eclipse installation from yesterday
> works some minutes, but then again IncompatibleClassChangeError
>
> tried to change from JRE 1.5 to 1.6 (and back)
> nothing helps
>
> has anyone an idea how to solve these errors ?
>
> first time after so many years using eclipse I was really confused
>
> THX
>
> ekke
....seems to work again
reloading the target platform and applying was the key
if you dont hear again from me, then it works ;-)
ekke
|
|
|
|
Powered by
FUDForum. Page generated in 0.04028 seconds