Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364583 - [Property View - XWT Resource] Null pointer exception in the XWT Formatter
Summary: [Property View - XWT Resource] Null pointer exception in the XWT Formatter
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 08:40 EST by Camille Letavernier CLA
Modified: 2011-11-23 08:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2011-11-23 08:40:20 EST
When trying to format an XWT resource programmatically, a null pointer exception occurs.

The oep.properties.model.xwt relies on the XML formatter, which isn't associated to the XWT content type by default.
Comment 1 Camille Letavernier CLA 2011-11-23 08:51:26 EST
Fixed in r6278 (Branch 0.8.X)

Added a dependency to the XWT plug-in which associates the XWT extension to the XML content type.