Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344922

Summary: NullPointerException during "Mark Occurrences"
Product: [Modeling] TMF Reporter: Hendrik Eeckhaut <hendrik>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: indigo+
Target Milestone: RC1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
stacktrace none

Description Hendrik Eeckhaut CLA 2011-05-06 04:02:45 EDT
Build Identifier: Build id: 20110218-0911

I get a NPE when "Mark Occurrences" is enabled and the caret is on an element that cross-links to a different file.

See stack trace in attachment

Reproducible: Always

Steps to Reproduce:
1. Start Eclipse with the Domain Model example
2. Enable "Mark Occurrences"
3. file1 contents:
     entity Foo1 {}
     entity Foo2 extends Foo1 {}
4. file2 contents:
     entity Foo3 extends Foo1 {}
5. click on Foo1
Comment 1 Hendrik Eeckhaut CLA 2011-05-06 04:03:57 EDT
Created attachment 194908 [details]
stacktrace
Comment 2 Hendrik Eeckhaut CLA 2011-05-06 04:04:36 EDT
Version 2.0 M7
Comment 3 Sebastian Zarnekow CLA 2011-05-09 09:26:50 EDT
Pushed to master.
Comment 4 Karsten Thoms CLA 2017-09-19 17:51:29 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 18:02:13 EDT
Closing all bugs that were set to RESOLVED before Neon.0