Bug 82606 - [compiler] IncompatibleClassChangeError
Summary: [compiler] IncompatibleClassChangeError
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-01-11 16:33 EST by Jared Burns CLA
Modified: 2009-08-30 02:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2005-01-11 16:33:37 EST
Build 20050111

I tried to use a Quick Fix to add a field to a class and nothing happened. After
trying a couple more times, I noticed the following in my log repeatedly:

java.lang.IncompatibleClassChangeError
at
org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions.set(DefaultCodeFormatterOptions.java:1003)
at
org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions.<init>(DefaultCodeFormatterOptions.java:283)
at
org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.<init>(DefaultCodeFormatter.java:49)
at
org.eclipse.jdt.internal.formatter.DefaultCodeFormatter.<init>(DefaultCodeFormatter.java:61)
at org.eclipse.jdt.core.ToolFactory.createCodeFormatter(ToolFactory.java:97)
at
org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteFormatter.formatString(ASTRewriteFormatter.java:252)
at
org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteFormatter.<init>(ASTRewriteFormatter.java:150)
at
org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteAnalyzer.<init>(ASTRewriteAnalyzer.java:90)
at org.eclipse.jdt.core.dom.rewrite.ASTRewrite.rewriteAST(ASTRewrite.java:183)
at
org.eclipse.jdt.internal.ui.text.correction.ASTRewriteCorrectionProposal.addEdits(ASTRewriteCorrectionProposal.java:65)
at
org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.initializeTextChange(CUCorrectionProposal.java:135)
at
org.eclipse.jdt.internal.ui.text.correction.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:181)
at
org.eclipse.jface.text.contentassist.AdditionalInfoController.computeInformation(AdditionalInfoController.java:221)
at
org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:765)
at
org.eclipse.jface.text.AbstractInformationControlManager.showInformation(AbstractInformationControlManager.java:755)
at
org.eclipse.jface.text.contentassist.AdditionalInfoController$1.run(AdditionalInfoController.java:173)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2695)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2420)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1577)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1543)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:287)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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 org.eclipse.core.launcher.Main.basicRun(Main.java:255)
at org.eclipse.core.launcher.Main.run(Main.java:811)
at org.eclipse.core.launcher.Main.main(Main.java:795)
Comment 1 Olivier Thomann CLA 2005-01-11 21:40:13 EST
I will investigate.
Comment 2 Olivier Thomann CLA 2005-01-12 10:51:20 EST
No idea what happens. Could you please provide a test case?
Comment 3 Jared Burns CLA 2005-01-12 10:59:16 EST
It's just one of those things where the workbench got into a state where this
kept happening, but when I restarted the problem magically went away.
Comment 4 Jared Burns CLA 2005-01-12 13:31:30 EST
It just happened again, this time in my target and this time when I pressed
"Finish" on the new Interface wizard.

I'm running JDK 1.4.2_06 on Linux-GTK. Is this known to be a flaky VM?
Comment 5 Olivier Thomann CLA 2005-06-07 10:02:09 EDT
No idea.
Could you please let us know if you still get it with latest?
Comment 6 Philipe Mulet CLA 2005-06-08 05:31:13 EDT
Pls reopen if this is still an issue.
Comment 7 Frederic Fusier CLA 2005-06-08 06:00:49 EDT
Close at there's around 5 months without any feedback on this issue
=> consider it does no longer happen
Comment 8 Denis Roy CLA 2009-08-30 02:05:32 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.