Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344922 - NullPointerException during "Mark Occurrences"
Summary: NullPointerException during "Mark Occurrences"
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 04:02 EDT by Hendrik Eeckhaut CLA
Modified: 2017-09-19 18:02 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments
stacktrace (2.00 KB, text/plain)
2011-05-06 04:03 EDT, Hendrik Eeckhaut CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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