Community
Participate
Working Groups
The following incident was reported via the automated error reporting: code: 0 plugin: org.eclipse.jface.text_3.10.0.v20150112-1146 message: Unexpected runtime error while computing a text hover fingerprint: 095f89cd exception class: java.lang.NullPointerException exception message: - number of children: 0 java.lang.NullPointerException: null at org.eclipse.jdt.internal.compiler.lookup.Scope.getConstructor0(Scope.java:2323) at org.eclipse.jdt.internal.compiler.lookup.Scope.getConstructor(Scope.java:2304) at org.eclipse.jdt.internal.compiler.ast.Statement.findConstructorBinding(Statement.java:430) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveTypeForQualifiedAllocationExpression(QualifiedAllocationExpression.java:550) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveType(QualifiedAllocationExpression.java:284) at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.resolve(ReturnStatement.java:338) at org.eclipse.jdt.internal.compiler.ast.LambdaExpression.resolveType(LambdaExpression.java:427) at org.eclipse.jdt.internal.compiler.ast.ASTNode.resolvePolyExpressionArguments(ASTNode.java:682) at org.eclipse.jdt.internal.compiler.ast.MessageSend.findMethodBinding(MessageSend.java:897) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:704) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1020) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:638) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:307) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:548) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1188) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1276) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveTypeForQualifiedAllocationExpression(QualifiedAllocationExpression.java:486) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveType(QualifiedAllocationExpression.java:284) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1020) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:638) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:307) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:548) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1188) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1301) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:590) at org.eclipse.jdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:985) at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:163) at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:377) at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:371) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getJavaElementsAt(AbstractJavaEditorTextHover.java:118) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:605) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:601) at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163) at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129) at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) General Information: reported-by: anonymous-id: 6c8d2ac5-2716-437b-b10a-11832934059d eclipse-build-id: 4.5.0.I20150203-1300 eclipse-product: org.eclipse.epp.package.jee.product operating system: Linux 3.18.6.fc20 (x86_64) - gtk jre-version: 1.8.0_25-b17 The following plug-ins were present on the execution stack (*): 1. org.eclipse.jdt_3.11.0.v20150203-1300 2. org.eclipse.jdt.core_3.11.0.v20150126-2015 3. org.eclipse.jdt.ui_3.10.100.v20150116-1347 4. org.eclipse.jface.text_3.10.0.v20150112-1146 5. org.eclipse.jface_3.11.0.v20150121-1751 Please note that: * Messages, stacktraces, and nested status objects may be shortened. * Bug fields like status, resolution, and whiteboard are sent back to reporters. * The list of present bundles and their respective versions was calculated by package naming heuristics. This may or may not reflect reality. Other Resources: * Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/54f7c29be4b0ad909161a811 * Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide Thank you for your assistance. Your friendly error-reports-inbox.
> org.eclipse.jdt.core_3.11.0.v20150126-2015 not a released version (4.5M5).
By checking the related problem reports I found [1] which mentions org.eclipse.epp.package.java.product 4.5.0.I20150603-2000. I assume this happens on final mars as well then. [1] https://dev.eclipse.org/recommenders/committers/confess/#/incidents/559d181be4b0cf2e4bf548ee
(In reply to Marcel Bruch from comment #2) > By checking the related problem reports I found [1] which mentions > org.eclipse.epp.package.java.product 4.5.0.I20150603-2000. I assume this > happens on final mars as well then. > > [1] > https://dev.eclipse.org/recommenders/committers/confess/#/incidents/559d181be4b0cf2e4bf548ee > Thanks for checking, I've updated the whiteboard text. The stack trace in the other report reads: java.lang.NullPointerException: at org.eclipse.jdt.internal.compiler.lookup.Scope.getConstructor0(Scope.java:2344) at org.eclipse.jdt.internal.compiler.lookup.Scope.getConstructor(Scope.java:2325) at org.eclipse.jdt.internal.compiler.ast.Statement.findConstructorBinding(Statement.java:430) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveTypeForQualifiedAllocationExpression(QualifiedAllocationExpression.java:561) at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.resolveType(QualifiedAllocationExpression.java:286) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:662) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1020) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:641) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:309) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:551) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1188) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1301) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:590) at org.eclipse.jdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:985) at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:163) This points towards QualifiedAllocationExpression:561 passing a null receiverType.
We finally have a repro for a similar stack trace: bug 494204 comment 1 *** This bug has been marked as a duplicate of bug 494204 ***