| Summary: | NPE while editing XSD | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Pascal Rapicault <pascal> | ||||
| Component: | wst.xsd | Assignee: | Alina Marin <alina> | ||||
| Status: | ASSIGNED --- | QA Contact: | Keith Chong <keith.chong.ca> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | keith.chong.ca, shr31223 | ||||
| Version: | unspecified | ||||||
| Target Milestone: | Future | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Pascal Rapicault
Hi Pascal, any chance you still have the schema and perhaps remember what you were doing at the time you got the NPE? Hi Galileo, please have a look at this. Created attachment 182389 [details]
Added a try catch block to avoid the NPE while setting text
While the attribute isReference object is null and the code tries to setText it throws an NPE, this exception was avoided adding a try catch block
|