Community
Participate
Working Groups
-- Error Details -- Date: Fri Oct 31 13:40:14 EET 2008 Message: Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui". Severity: Error Plugin: org.eclipse.jdt.ui Session Data: eclipse.buildId=M20080911-1700 java.version=1.6.0_07 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=uk_UA Command-line arguments: -os win32 -ws win32 -arch x86 Exception Stack Trace: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.isRecursive(ConstructorDeclaration.java:385) at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.isRecursive(ConstructorDeclaration.java:385) at org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration.analyseCode(ConstructorDeclaration.java:70) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.internalAnalyseCode(TypeDeclaration.java:667) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.analyseCode(TypeDeclaration.java:253) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:118) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:868) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:518) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:880) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:656) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:540) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:533) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:474) at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:129) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:168) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:153) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Please provide steps to reproduce. This stacktrace would indicate an issue while trying to figure if a constructor is referring to itself recursively (through the constructor call chain).
Given bug 253172, could it be still a VM issue ?
Referring both to this and 253172. Really I can't give the steps to reproduce. It happens time to time while working. These errors are written to error log silently, so I event can't imagine, when they occur. Donno if it can be the VM issue.
Bug 253172 really feels a VM bug, since the offending line is not able to throw a NPE. The present bug though could in theory raise a NPE, except that the scenario should not reach down that path, due to check for error prior to it (the null case could only occur in presence of an error). Can you try a different VM and see if the problems occur again ? Until then, there is not much we can do here (in the absence of steps).
Closing as WORKSFORME. Please reopen if you get it again and can provide steps to reproduce.
Verified for 3.6M5