This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 113385 - NPE on editing Transformmap
Summary: NPE on editing Transformmap
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
: 113288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-21 16:48 UTC by kozlov
Modified: 2007-08-29 15:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kozlov 2007-08-21 16:48:27 UTC
Reproduced in build070815.

Steps to reproduce:

- create XSLT project;
- create xst transformation;
- delete xsl file;
- open transformmap in source view and delete service.

NPE:
java.lang.NullPointerException
	at org.netbeans.modules.xslt.tmap.util.Util.getTransformationDescriptor(Util.java:224)
	at org.netbeans.modules.xslt.core.context.MapperContextImpl.getValidationMessage(MapperContextImpl.java:656)
	at org.netbeans.modules.xslt.mapper.model.ModelBridge.checkErrors(ModelBridge.java:94)
	at org.netbeans.modules.xslt.mapper.model.SchemaModelBridge.onModelChanged(SchemaModelBridge.java:42)
	at org.netbeans.modules.xslt.mapper.model.ModelBridge$UpdateTimer$1.actionPerformed(ModelBridge.java:71)
	at javax.swing.Timer.fireActionPerformed(Timer.java:271)
[catch] at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Alexey Yarmolenko 2007-08-21 18:17:45 UTC
fixed
Comment 2 Alexey Yarmolenko 2007-08-22 13:09:40 UTC
*** Issue 113288 has been marked as a duplicate of this issue. ***
Comment 3 kozlov 2007-08-29 15:21:49 UTC
Verified in build070828.