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 216962 - NullPointerException at org.netbeans.core.spi.multiview.text.MultiViewCloneableEditor$1.actionPerformed
Summary: NullPointerException at org.netbeans.core.spi.multiview.text.MultiViewCloneab...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 10:55 UTC by Jiri Skrivanek
Modified: 2012-10-11 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191595


Attachments
stacktrace (4.55 KB, text/plain)
2012-08-16 10:55 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-08-16 10:55:22 UTC
Build: NetBeans IDE Dev (Build EaselCSS-504-on-20120815)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Windows 7

User Comments:
jskrivanek: To reproduce:
- create HTML5 project
- create new html file
- modify the file
- click tab cross to close the file but it shows message "File body is modified..." (see body here????)
- click Save and exception is thrown




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.core.spi.multiview.text.MultiViewCloneableEditor$1.actionPerformed(MultiViewCloneableEditor.java:238)
   at org.netbeans.core.spi.multiview.MultiViewFactory$DefaultCloseHandler.resolveCloseOperation(MultiViewFactory.java:301)
   at org.netbeans.core.multiview.MultiViewPeer.canClose(MultiViewPeer.java:680)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.closeLast(MultiViewCloneableTopComponent.java:317)
   at org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:412)
   at org.openide.windows.CloneableTopComponent$Ref.access$300(CloneableTopComponent.java:276)
Comment 1 Jiri Skrivanek 2012-08-16 10:55:24 UTC
Created attachment 123198 [details]
stacktrace
Comment 2 Marek Fukala 2012-10-08 13:28:43 UTC
already fixed by removing the html editor active node hack.