Bug 447794 - [jdt] AIOOB in ParameterizedTypeBinding.collectSubstitutes
Summary: [jdt] AIOOB in ParameterizedTypeBinding.collectSubstitutes
Status: RESOLVED DUPLICATE of bug 460491
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact: Jay Arthanareeswaran CLA
URL:
Whiteboard: Please provide steps to reproduce this
Keywords: needinfo
: 447792 447795 464924 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-18 21:11 EDT by EPP Error Reports CLA
Modified: 2015-05-13 11:48 EDT (History)
6 users (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 2014-10-18 21:11:27 EDT
Hello committers,

we received a new error report for Eclipse 4.4.1.M20140925-0400.


General Information:
    anonymous-id:         5fd6d1cf-ed44-4370-8a84-8c969018ec9e
    eclipse-build-id:     4.4.1.M20140925-0400
    eclipse-product:      org.eclipse.epp.package.jee.product
    operating system:     Windows8 6.3.0 (x86_64) - win32
    java-runtime-version: 1.7.0_65-b19

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.jobs_3.6.0.v20140424-0053
    2. org.eclipse.core.runtime_3.10.0.v20140318-2214
    3. org.eclipse.jdt_3.10.0.v20140925-0400
    4. org.eclipse.jdt.core_3.10.0.v20140902-0626
    5. org.eclipse.jdt.ui_3.10.1.v20140817-1500


Error Status:

    code:                   2
    plugin:                 org.eclipse.jdt.ui_3.10.1.v20140817-1500
    message:                Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
    fingerprint:            c1f2f9bf
    exception class:        java.lang.ArrayIndexOutOfBoundsException
    exception message:      0
    number of children:     0
    
    java.lang.ArrayIndexOutOfBoundsException: 0
    at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.collectSubstitutes(ParameterizedTypeBinding.java:276)
    at org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding.inferFromArgumentTypes(ParameterizedGenericMethodBinding.java:338)
    at org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding.computeCompatibleMethod(ParameterizedGenericMethodBinding.java:184)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.computeCompatibleMethod(Scope.java:739)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.computeCompatibleMethod(Scope.java:695)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.findMethod0(Scope.java:1761)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.findMethod(Scope.java:1662)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.getMethod(Scope.java:2936)
    at org.eclipse.jdt.internal.compiler.ast.MessageSend.findMethodBinding(MessageSend.java:867)
    at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:698)
    at org.eclipse.jdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:202)
    at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1020)
    at org.eclipse.jdt.internal.compiler.ast.Block.resolveUsing(Block.java:132)
    at org.eclipse.jdt.internal.compiler.ast.TryStatement.resolve(TryStatement.java:1085)
    at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:619)
    at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:299)
    at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:529)
    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1207)
    at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1320)
    at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:587)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1204)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:689)
    at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1183)
    at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:809)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:544)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:537)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:480)
    at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:470)
    at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:128)
    at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:170)
    at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup$3.run(SelectionListenerWithASTManager.java:155)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
   

    

Messages, stacktraces, and nested status objects may be shortened. Please visit 
http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/54430fc0e4b073e55266ff67
for the complete error log.


Some general information and guidelines about how to use this bug report:

1. Feel free to move this bug to your own product and components. Please note
   that this bug is only accessible to Eclipse committers. If you move this bug
   please make sure that it's still in the "Security Advisor" group.

2. The bug contents of the fields status, resolution, keywords, and whitelist
   are presented to reporters. If you needs more information, please set the
   keyword "needinfo". This will trigger a specialized dialog asking the user
   to provide further details.

3. Use the following resolutions for the following situations:
   * CLOSED / FIXED: This bug has been fixed. Please provide additional
     information in the whiteboard field.
   * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue
     and request further information. Please use the whiteboard text to specify
     more details what a user should provide and how.
   * CLOSED / INVALID: Use this resolution if the reported problem is a
     'user-configuration' problem. Please consider giving hints how to fix
     these issues in the whiteboard field.
   * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin
     not developed at Eclipse.org
   * CLOSED / MOVED: If this bug has been moved else where. Please provide more 
     information (e.g. a link) in the whiteboard field.

4. Please remember that only committers can view and comment on this bug. You
   may, however, manually add the reporting user to the bug's cc list. But keep
   in mind that the report may contains sensitive information.

5. If you are missing a feature, please file a enhancement request here:
   https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces
    
 

Thank you for your assistance.
Your friendly error-reports-inbox.


--
* Note: The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.
Comment 1 EPP Error Reports CLA 2014-10-18 21:11:28 EDT
I've looked up the (to date) top-3 most similar bug groups and listed the 
closest bug of each group below. This report may or may not be duplicate of
those (low or similar scores for all entries may indicate that this hasn't
been reported yet):

>     1. Bug 445257: Errors occurred during the build. (err_grp: e4e17173) – 0,5    
>     2. Bug 447585: [any] Exception occurred during compilation unit conversion: ----------------------... – 0,5    
>     3. Bug 444292: Invalid ZIP archive: 'some-archive'... (err_grp: e2418191) – 0,4    


If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.

Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 2 EPP Error Reports CLA 2014-10-18 21:11:30 EDT
*** Bug 447795 has been marked as a duplicate of this bug. ***
Comment 3 Marcel Bruch CLA 2014-10-19 02:20:28 EDT
Moving this to JDT core to bringt this to your attention.
Comment 4 Marcel Bruch CLA 2014-10-19 02:21:59 EDT
*** Bug 447792 has been marked as a duplicate of this bug. ***
Comment 5 Jay Arthanareeswaran CLA 2014-11-07 01:37:19 EST
Shankha, please follow up.

Bug reporters, is there a chance we have the steps to reproduce this? Thanks!
Comment 6 Stephan Herrmann CLA 2015-04-18 07:13:54 EDT
*** Bug 464924 has been marked as a duplicate of this bug. ***
Comment 7 Stephan Herrmann CLA 2015-05-13 11:48:09 EDT
We have a similar bug with repro. Let's hope it's the same.

*** This bug has been marked as a duplicate of bug 460491 ***