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.
Build: NetBeans IDE Dev (Build 091122-6522a52efb4a) VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219 OS: Mac OS X, 10.6.2, x86_64 User Comments: mmocnak: Create java ee 6 EAR with all modules included -> then open the application-client.xml -> NPE is occured ... probably it's related with updated xml schemas Stacktrace: java.lang.NullPointerException at org.netbeans.modules.xml.multiview.XmlMultiViewElement.componentShowing(XmlMultiViewElement.java:86) at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:199) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119) at org.openide.windows.WindowManager.componentShowing(WindowManager.java:332) at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1022) at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:161)
Created attachment 91482 [details] stacktrace
Upgrading to P1 -> it should be fixed in FCS
There seems to be problem that inner editor is not created but it should if component is going to be visible.
I cannot reproduce this issue on my linux : Tested before and after schema updates (build 091123)
I also can not reproduce. Product Version: NetBeans IDE Dev (Build web-main-2148-on-091123) Java: 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02-92 System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
Actually i am not able to reproduce it as well now. It's strange but functional ;o) Closing as works for me. I will check it in RC build when it will be ready.
Happens to me regularly (on the same XML file) and it is highly annoying. First time it sometimes works - try to close file and reopen it, try the same xml file from several proejcts.
*** Bug 178371 has been marked as a duplicate of this bug. ***
Potential cause of this problem might be that application-client.xml has MultiView DO but only XML view is available (UI was removed/disabled a while ago). Multi view support should still cope with that or throw invalid state exception much earlier. Independent on that perhaps application-client.xml DO should not be multi view based - simple to removed but some of the features might be lost, eg. annotating xml file's node whern there is parsing error; possibly some actions; ... unless there is some replacement (use XmlDataObject instead of XmlMultiViewDataObject). MilanK you seems to be author of some of the multi view files - any suggestion?
Trying to reproduce unsuccessfully. Is that still the same exception ?
Yes, check exceptions attached to issues closed as duplicate of this one.
There were some changes recently in EditorSupport API. Though I don't understand entirely the work-flow now, the following change should help: http://hg.netbeans.org/main/rev/ 0c932f25c1b9
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0c932f25c1b9 User: mkuchtiak@netbeans.org Log: #177369: fixing NPE
*** Bug 177776 has been marked as a duplicate of this bug. ***