Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 264363 - [Xtend] No meaningful exception when reexporting an unknown extension
Summary: [Xtend] No meaningful exception when reexporting an unknown extension
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 10:55 EST by Heiko Behrens CLA
Modified: 2013-02-21 08:09 EST (History)
1 user (show)

See Also:


Attachments
Exception that names importer and unknown extension file that should be imported (1.17 KB, patch)
2009-02-10 10:56 EST, Heiko Behrens CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Behrens CLA 2009-02-10 10:55:05 EST
At runtime: When evaluating an expression of an extension file the imports another extension that again imports *and reexports* an extension file that is unknown the Exception message is "(null)" without any further help nor stacktrace. The latter is a result of the translation from java stacktrace to "expression stack" and therefore by design.

Please find attached a patch that produces a more meaningful exception that an NPE.
Comment 1 Heiko Behrens CLA 2009-02-10 10:56:57 EST
Created attachment 125255 [details]
Exception that names importer and unknown extension file that should be imported
Comment 2 Sven Efftinge CLA 2009-02-11 04:43:52 EST
applied
Comment 3 Karsten Thoms CLA 2013-02-21 08:09:08 EST
Bug resolved before Xpand 1.2 release date => Closing