Bug 461256 - IAE in ASTNode.setSourceRange (2845)
Summary: IAE in ASTNode.setSourceRange (2845)
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Manoj N Palat CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-03-03 01:40 EST by EPP Error Reports CLA
Modified: 2023-12-29 13:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2015-03-03 01:40:02 EST
The following incident was reported via the automated error reporting:


    code:                   4
    plugin:                 org.eclipse.jdt.core_3.10.0.v20140902-0626
    message:                source file contents removed
    fingerprint:            2010040d
    exception class:        java.lang.IllegalArgumentException
    exception message:      -
    number of children:     0
    
    java.lang.IllegalArgumentException: null
    at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2845)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:604)
    at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:334)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2511)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1696)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2751)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:635)
    at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:195)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2958)
    at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1374)
    at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:270)
    at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:202)
    at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259)
    at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:557)
    at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1082)
    at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:171)
    at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:90)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729)
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:789)
    at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1247)
    at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
    at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
    at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
    at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
    at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
    at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:104)
    at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
    at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
   
  

General Information:

    reported-by:      
    anonymous-id:     0caff4f7-56f5-38a0-bcf0-aa60eac5eda0
    eclipse-build-id: 4.4.1.M20140925-0400
    eclipse-product:  org.eclipse.platform.ide
    operating system: Linux 3.13.0 (x86_64) - gtk
    jre-version:      1.8.0_05-b13

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.runtime_3.10.0.v20140318-2214
    2. org.eclipse.jdt.core_3.10.0.v20140902-0626
    3. org.eclipse.jdt_3.10.0.v20140925-0400
    4. org.eclipse.jdt.ui_3.10.1.v20140817-1500
    5. org.eclipse.jface.text_3.9.1.v20140827-1810
    6. org.eclipse.jface_3.10.1.v20140813-1009

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/54c4f0a2bee810030da0840c  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 1 Manoj N Palat CLA 2015-03-03 01:42:53 EST
Please provide a test case which reproduces the issue.
Comment 2 Eclipse Genie CLA 2022-01-07 19:10:06 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2023-12-29 13:42:17 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.