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 136227 - NullPointerException at org.netbeans.modules.spring.beans.ui.customizer.CustomizerCategoryProvider.getConfigFileManager
Summary: NullPointerException at org.netbeans.modules.spring.beans.ui.customizer.Custo...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 12:51 UTC by fsoares
Modified: 2009-02-19 22:42 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 60774


Attachments
stacktrace (3.54 KB, text/plain)
2008-06-01 12:51 UTC, fsoares
Details
stacktrace (3.52 KB, text/plain)
2008-12-08 20:53 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fsoares 2008-06-01 12:51:27 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24.7-92.fc8, i386

User Comments:
Comment 1 fsoares 2008-06-01 12:51:32 UTC
Created attachment 62218 [details]
stacktrace
Comment 2 Andrei Badea 2008-06-02 09:53:36 UTC
Is this always reproducible? If yes, what type of project are you reproducing it with? Thanks.
Comment 3 Andrei Badea 2008-06-02 10:27:41 UTC
Milosi, the UI log says something about an error while loading a Maven project. Could the project lookup be incomplete
in the sense that it only contains some of the instances registered through the layer?
Comment 4 Milos Kleint 2008-06-02 10:55:24 UTC
the java.lang.NumberFormatException: For input string: "200504122039 stacktrace is a duplicate of #136184. However I'm
not sure it can cause this issue.

Comment 5 Milos Kleint 2008-06-02 13:38:26 UTC
fixed the project loading to prevent project lookup corruption by runtime exceptions.
http://fisheye.codehaus.org/changelog/mevenide/?cs=5323

#136184 is not a duplicate but the cause of this issue.
Comment 6 Exceptions Reporter 2008-11-16 22:48:42 UTC
Reopening - reproduced in NetBeans IDE 6.5 RC2 (Build 200810270001)
http://statistics.netbeans.org/exceptions/detail.do?id=140003
Comment 7 Exceptions Reporter 2008-11-25 09:34:48 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=60774
Comment 8 Milos Kleint 2008-11-27 14:35:02 UTC
please send the messages.log file when this exception happens again. Most likely is cased by somehow corrupt project,
that fails to load with runtime exception..

or it's caused by the fact that the maven-spring module was not loaded for some time (but the exception log entry says
otherwise)
Anyway, i've closed the gap here - http://hg.netbeans.org/main/rev/f4c7a1600502

closing this as fixed in 7.0m1. Please reopen once you attach the relevant messages log file. I will reevaluate then.
Comment 9 Exceptions Reporter 2008-12-08 20:53:40 UTC
Build: NetBeans IDE 6.5 RC1 (Build 081204)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.5, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.spring.beans.ui.customizer.CustomizerCategoryProvider.getConfigFileManager(CustomizerCategoryProvider.java:107)
        at org.netbeans.modules.spring.beans.ui.customizer.CustomizerCategoryProvider.createCategory(CustomizerCategoryProvider.java:72)
        at org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:561)
        at org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:522)
        at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:236)
        at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:189)
Comment 10 Exceptions Reporter 2008-12-08 20:53:44 UTC
Created attachment 74715 [details]
stacktrace
Comment 11 Quality Engineering 2009-01-14 07:44:15 UTC
Integrated into 'main-golden', will be available in build *200901140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ec1d904ab04f
User: Milos Kleint <mkleint@netbeans.org>
Log: #136227 move customizer panel declaration to the bridge module that also registers the lookup provider, to prevent exception if the bridge module is not loaded for some reason.