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.
Created attachment 133546 [details] Logfile Running the PetCatalog example on Weblogic 12c (12.1.1) 1. Open persistence.xml in design view. 2. Click Properties node to expand. 3. Click Add button. This NPE is thrown. Happens in v7.3 and still in: Product Version: NetBeans IDE Dev (Build 201304161616) Updates: Updates available Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
The cause of this is adding comment markers "<!-- -->" around the <properties> tags. I guess it is not really a bug, although it should handle the case where there is no <properites> tag more gracefully. Lowering to P4.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss