Bug 125457 - JVM terminated error
Summary: JVM terminated error
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-01-27 07:32 EST by Centhil Murugan CLA
Modified: 2009-08-30 02:06 EDT (History)
0 users

See Also:


Attachments
.metadata\.log file (184.73 KB, application/octet-stream)
2006-01-27 07:34 EST, Centhil Murugan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Centhil Murugan CLA 2006-01-27 07:32:52 EST
When I running eclipse JVM terminated error occurs.
  .metadata\.log follows


!ENTRY org.eclipse.jdt.ui 4 0 2006-01-27 15:43:19.796
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.ArrayStoreException
	at java.util.HashMap.transfer(Unknown Source)
	at java.util.HashMap.resize(Unknown Source)
	at java.util.HashMap.addEntry(Unknown Source)
	at java.util.HashMap.put(Unknown Source)
	at org.eclipse.jdt.core.dom.DefaultBindingResolver.store(DefaultBindingResolver.java:1534)
	at org.eclipse.jdt.core.dom.ASTConverter.recordNodes(ASTConverter.java:3459)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1888)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1533)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1894)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1533)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1894)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1533)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2309)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1052)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2210)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2577)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2306)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1052)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2397)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2252)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:502)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:178)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2486)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1162)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:261)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:162)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:233)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:488)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:956)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:61)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:718)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:777)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1081)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:98)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
	at org.eclipse.core.runtime.Platform.run(Platform.java:783)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:147)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:94)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
	at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:339)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
Comment 1 Centhil Murugan CLA 2006-01-27 07:34:21 EST
Created attachment 33697 [details]
.metadata\.log file
Comment 2 Eric Moffatt CLA 2006-02-27 09:51:34 EST
This appears to be JDT related (feel free to punt back if you don't agree...I'm new to the triage thing...;-).
Comment 3 Olivier Thomann CLA 2006-02-28 10:15:16 EST
Could you please provide the compilation unit in which the problem occured?
Could you reproduce using 3.1.2?
Comment 4 Olivier Thomann CLA 2006-02-28 10:41:44 EST
I also noticed the following stack trace in your .log file.
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.InfixExpression.setLeftOperand(InfixExpression.java:432)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1033)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1521)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1688)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2234)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1691)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2234)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1052)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2210)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2577)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2306)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1052)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2397)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2252)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:502)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:178)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2486)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1162)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:251)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:800)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:588)
	at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.createEvaluationSourceFromSource(EvaluationSourceGenerator.java:156)
	at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.getSource(EvaluationSourceGenerator.java:202)
	at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledExpression(ASTEvaluationEngine.java:162)
	at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:78)
	at org.eclipse.jdt.internal.debug.ui.JavaWatchExpressionDelegate$EvaluationRunnable.run(JavaWatchExpressionDelegate.java:144)
	at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run(JDIThread.java:2446)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

Would you have any idea what you evaluated in the debugger to get this error?
This would be helpful to fix it.
It was a try statement with a while statement that contains two if statements.
Something like:
try {
   while(...) {
      ...
      if (....) {
      } else if (binary expression that caused the failure) {
      ....}
   }
} catch(....) {
  ...
}

The cause of the failure comes from the condition of the second if. It would be nice to get a test case.
Thanks.
Comment 5 Olivier Thomann CLA 2006-03-07 11:40:43 EST
Closing as REMIND.
Please reopen once you provided the requested information.
Comment 6 Denis Roy CLA 2009-08-30 02:06:49 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.