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 - NullPointerException at org.openide.xml.XMLUtil.normalize
Summary: NullPointerException at org.openide.xml.XMLUtil.normalize
Status: STARTED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Anuradha Potnis
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 23:23 UTC by pbw
Modified: 2009-04-30 00:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147911


Attachments
stacktrace (1.83 KB, text/plain)
2009-03-19 23:23 UTC, pbw
Details

Note You need to log in before you can comment on or make changes to this bug.
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