Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319672 - NullPointerException in Java discovery
Summary: NullPointerException in Java discovery
Status: CLOSED WORKSFORME
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 04:57 EDT by Gabriel BARBIER CLA
Modified: 2010-10-04 13:57 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel BARBIER CLA 2010-07-13 04:57:16 EDT
Hello, 

During the discovery of a java project, I got the following exception with the latest discoverer. However, with previous version of discoverer, I was able to get the java model.

eclipse.buildId=I20100603-1500
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.modeling.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.modeling.product

This is a continuation of log file D:\MoDisco\perfs\.metadata\.bak_9.log
Created Time: 2010-07-13 10:37:13.781


Error
Tue Jul 13 10:37:14 CEST 2010
Unkown error.

java.lang.NullPointerException
at org.eclipse.gmt.modisco.java.io.java.MethodRedefinitionManager.getRawSignature(MethodRedefinitionManager.java:119)
at org.eclipse.gmt.modisco.java.io.java.MethodRedefinitionManager.getRawSignature(MethodRedefinitionManager.java:106)
at org.eclipse.gmt.modisco.java.io.java.MethodRedefinitionManager.resolveMethodRedefinitions(MethodRedefinitionManager.java:57)
at org.eclipse.gmt.modisco.java.io.java.JavaReader.resolveMethodRedefinition(JavaReader.java:281)
at org.eclipse.gmt.modisco.java.io.java.JavaReader.terminate(JavaReader.java:340)
at org.eclipse.gmt.modisco.java.actions.DiscoverJavaModelFromJavaProject$2.run(DiscoverJavaModelFromJavaProject.java:202)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Fabien Giquel CLA 2010-07-15 04:35:20 EDT
Hi Gabriel,

could you provide a project sample for getting this error ? Please indicate also the existing compilation errors (incomplete classpath ...) on this project when launching the discovery, as the problem might be caused by unresolved types.
Comment 2 Fabien Giquel CLA 2010-08-20 13:59:47 EDT
Hi Gabriel,

reminder for questions on last comment.
Comment 3 Fabien Giquel CLA 2010-09-09 04:58:34 EDT
No way to get the issue -> close the bug.
Comment 4 Hugo Bruneliere CLA 2010-10-04 13:57:57 EDT
It was not a bug.