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 84311 - NPE on validate opened XML document after move
Summary: NPE on validate opened XML document after move
Status: VERIFIED DUPLICATE of bug 83590
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 15:19 UTC by Maksim Khramov
Modified: 2007-11-02 18:48 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 Maksim Khramov 2006-09-06 15:19:47 UTC
Create new BPEL module project
Create new folder under Process Files
Create new XML schema document in new folder and open it.
Drag and Drop schema from new folder to Process Files folder.
Invoke Validate XML command. The NPE is thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.needsSync(AbstractDocumentModel.java:93)
	at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:219)
	at
org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate(ValidationOutputWindowController.java:56)
	at
org.netbeans.modules.xml.validation.ValidateAction$RunAction.run(ValidateAction.java:88)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Nam Nguyen 2006-09-07 01:49:53 UTC
The stack top is identical to issue 83590.  Cannot reproduce with latest code.

*** This issue has been marked as a duplicate of 83590 ***
Comment 2 Mikhail Matveev 2007-11-02 18:48:52 UTC
Verified duplicate