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 160696

Summary: NullPointerException at org.openide.xml.XMLUtil.normalize
Product: updatecenters Reporter: pbw <pbw>
Component: PluginportalAssignee: Anuradha Potnis <anuradha>
Status: STARTED ---    
Severity: blocker CC: pbw
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=147911
Issue Type: DEFECT Exception Reporter: 147911
Attachments: stacktrace

Description pbw 2009-03-19 23:23:20 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27.7-9-default, amd64

Stacktrace: 
java.lang.NullPointerException
        at org.openide.xml.XMLUtil.normalize(XMLUtil.java:790)
        at org.openide.xml.XMLUtil.write(XMLUtil.java:394)
        at org.netbeans.cubeon.local.repository.LocalRepositoryPersistence.putConfigurationFragment(LocalRepositoryPersistence.java:228)
        at org.netbeans.cubeon.local.repository.LocalRepositoryPersistence.addRepository(LocalRepositoryPersistence.java:91)
        at org.netbeans.cubeon.local.repository.LocalRepositoryPersistence.getLocalTaskRepositorys(LocalRepositoryPersistence.java:150)
        at org.netbeans.cubeon.local.repository.LocalTaskRepositoryProvider.getRepositorys(LocalTaskRepositoryProvider.java:127)
Comment 1 pbw 2009-03-19 23:23:30 UTC
Created attachment 78484 [details]
stacktrace
Comment 2 Jiri Skrivanek 2009-03-20 09:34:08 UTC
Should not put null object at
org.netbeans.cubeon.local.repository.LocalRepositoryPersistence.putConfigurationFragment(LocalRepositoryPersistence.java:228).
Comment 3 Jiri Kovalsky 2009-03-20 12:12:53 UTC
Anuradha, can you please investigate this and fix it? Thanks!
Comment 4 _ theanuradha 2009-03-20 12:46:52 UTC
Sure I'll work on this