Bug 517678 - NPE in indexer
Summary: NPE in indexer
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-02 04:08 EDT by Ed Willink CLA
Modified: 2017-06-02 04:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2017-06-02 04:08:55 EDT
RC2. I create a simple class diagram in the org.eclipse.ocl.doc project. I create one class. I draw an association from the class to itself.

Popup shows many errors

: An internal error occurred during: "Re-indexing project org.eclipse.ocl.examples.xtext.tests".
java.lang.NullPointerException

a) why is org.eclipse.ocl.examples.xtext.tests being indexed? It is not on the classpath of org.eclipse.ocl.doc.

b) why the NPE? Well probably because as a test project it contains many independent UML models, some with deliberate errors in.

c) why no stack trace to clarify the NPE?