Community
Participate
Working Groups
I created a class diagram and added an artifact to it called Entity6. I then changed the name of that artifact in the class diagram to ent6. I got the following Error message in the eclipse error log: eclipse.buildId=unknown java.version=1.6.0_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.eclipse.epp.package.modeling.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.modeling.product Error Wed May 05 12:33:13 BST 2010 Could not decorate element. Java Model Exception: Java Model Status [Entity6.java [in com.mycompany [in src [in scenarios]]] does not exist] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:252) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:238) at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:193) at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType(JavaElement.java:207) at org.eclipse.jdt.internal.core.CompilationUnit.getTypes(CompilationUnit.java:920) at org.eclipse.emf.mint.internal.ui.source.GeneratedElementDecorator.decorate(GeneratedElementDecorator.java:69) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Hey Duncan, I am unable to reproduce this (at this point the name "ent6" isn't allowed by ts. Could you take a quick look at this and let me know if it's still an issue (and if so, maybe give me a shove in the right direction)? Thanks, Jim
Hi, I don't get the exception anymore. It is invalid though that the wizard disables the Finish button while only giving a warning about "ent6". Either ent6 should be an error and then the finish button can be disabled or ent6 is a warning and the finish button should be enabled. However that is a completely different issue to this bug. Duncan
(In reply to comment #2) > Hi, > I don't get the exception anymore. It is invalid though that the wizard > disables the Finish button while only giving a warning about "ent6". Either > ent6 should be an error and then the finish button can be disabled or ent6 is a > warning and the finish button should be enabled. However that is a completely > different issue to this bug. > > Duncan I think this defect should be marked as a duplicate of bug#311695. Please see my last comment in that bug.
Hi, I think this one can be closed now. The warning disabling the finish button is handled in the other bugzilla fine. Duncan
Looks like this has been fixed in another release along the way.