Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 104168

Summary: NPE when 'Report problems as you type' is unchecked
Product: [WebTools] WTP Source Editing Reporter: Craig Salter <csalter>
Component: wst.xmlAssignee: wst.xml <wst.xml-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Craig Salter CLA 2005-07-17 22:21:47 EDT
As well as a pop up dialog (that doesn't say much) here's the stack I see in the
error log.  I was able to reproduce this with a variety of XML files.  I think
we need to have the option to turn this off in the case where the validator is
performing slowly so users can disable background validation.

java.lang.NullPointerException
at
org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.filterTotalScopeRegions(StructuredRegionProcessor.java:168)
at
org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:123)
at
org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:412)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 Craig Salter CLA 2005-07-17 22:23:58 EDT
Oops I should have mentioned the steps to reproduce more clearly...

1) uncheck 'Report problems as you type' in preferences
2) open an XML file in the XML Editor (or XML Schema editor)

Comment 2 David Williams CLA 2005-07-18 01:55:47 EDT

*** This bug has been marked as a duplicate of 103867 ***
Comment 3 David Williams CLA 2005-07-26 16:38:08 EDT
Marking as verified just to signify correctly categorized. 
Comment 4 Nitin Dahyabhai CLA 2005-08-26 05:57:53 EDT
Closing