Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326125 - [composition] java/inventory discovery : internal error on String index out of range
Summary: [composition] java/inventory discovery : internal error on String index out o...
Status: CLOSED DUPLICATE of bug 323220
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 04:48 EDT by Lom Hillah CLA
Modified: 2011-01-11 04:58 EST (History)
4 users (show)

See Also:


Attachments
Java project with which the bug occurred (7.52 KB, application/zip)
2010-09-24 04:57 EDT, Lom Hillah CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lom Hillah CLA 2010-09-24 04:48:16 EDT
Build Identifier: 20100617-1415

When trying to discover Java and Inventory model from a Java project, the following error occurs:
An internal error occurred during: "Java Composition Discoverer is working ...".
String index out of range: -1

Reproducible: Always

Steps to Reproduce:
1. Import the attached example project into Eclipse.
2. Right-click on the project (I was in Java perspective) -> Modisco -> Discover Java and inventory model from Java project...
3. The error occurs.
Comment 1 Lom Hillah CLA 2010-09-24 04:57:54 EDT
Created attachment 179504 [details]
Java project with which the bug occurred

Please find the Java project on which the bug happened as an archive. 
Just import it as an existing Eclipse project using the archive option.
Comment 2 Fabien Giquel CLA 2010-09-30 05:14:53 EDT
I report here some information indicated on related forum thread : this issue may be the same that the one fixed in bug 323220 (portability to Linux).
Lom, if it is possible for you, would you please update your MoDisco features to a nightly build (more recent than 20100923) to verify that this problem was effectively fixed ?

Fabien.
Comment 3 Fabien Giquel CLA 2010-10-25 12:46:56 EDT
Set the bug as duplicate since the same behavior has been detected on Linux and fixed.

*** This bug has been marked as a duplicate of bug 323220 ***
Comment 4 Hugo Bruneliere CLA 2011-01-11 04:58:55 EST
Duplicate of an already fixed bug.