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 200108 - NullPointerException at org.netbeans.modules.properties.MultiBundleStructure.findEntries
Summary: NullPointerException at org.netbeans.modules.properties.MultiBundleStructure....
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
: 198156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-13 12:23 UTC by tms1979
Modified: 2012-10-18 09:33 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179871


Attachments
stacktrace (3.10 KB, text/plain)
2011-07-13 12:23 UTC, tms1979
Details
stacktrace (1.47 KB, text/plain)
2011-10-18 11:54 UTC, Michel Graciano
Details
stacktrace (3.17 KB, text/plain)
2012-01-24 11:55 UTC, Exceptions Reporter
Details
stacktrace (3.10 KB, text/plain)
2012-01-25 12:47 UTC, giorgoch
Details
stacktrace (1.40 KB, text/plain)
2012-02-09 16:54 UTC, rdelaplante
Details
stacktrace (2.69 KB, text/plain)
2012-04-04 01:41 UTC, MackSix
Details
stacktrace (1.47 KB, text/plain)
2012-04-04 05:50 UTC, MackSix
Details
stacktrace (3.42 KB, text/plain)
2012-04-07 08:41 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tms1979 2011-07-13 12:23:47 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.properties.MultiBundleStructure.findEntries(MultiBundleStructure.java:150)
   at org.netbeans.modules.properties.MultiBundleStructure.updateEntries(MultiBundleStructure.java:174)
   at org.netbeans.modules.properties.PropertiesOpen$Environment.propertyChange(PropertiesOpen.java:665)
   at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:196)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
Comment 1 tms1979 2011-07-13 12:23:51 UTC
Created attachment 109415 [details]
stacktrace
Comment 2 Michel Graciano 2011-10-18 11:54:39 UTC
Created attachment 112174 [details]
stacktrace
Comment 3 Jan Peska 2011-10-18 13:33:17 UTC
(In reply to comment #2)
> Created an attachment (id=112174) [details]
> stacktrace

Under what circumstances did it happen?
Comment 4 Exceptions Reporter 2011-12-12 16:40:28 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179871
Comment 5 Exceptions Reporter 2012-01-24 11:55:02 UTC
Created attachment 115185 [details]
stacktrace
Comment 6 giorgoch 2012-01-25 12:47:01 UTC
Created attachment 115224 [details]
stacktrace
Comment 7 rdelaplante 2012-02-09 16:54:55 UTC
Created attachment 115549 [details]
stacktrace

Not sure when this happened, but the last thing I was doing was a Subversion switch from branch to trunk.
Comment 8 Exceptions Reporter 2012-02-27 13:59:44 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179871
Comment 9 MackSix 2012-04-04 01:41:19 UTC
Created attachment 117767 [details]
stacktrace

1.) Deleted "Internationalization" Project from Project Window and chose to delete folder with it. 2.) Fodler was not deleted, but left with Mercurial information in folder. 3.) Deleted folder manually. 4.) Went back to NetBeans and this NullPointerException was thrown.
Comment 10 MackSix 2012-04-04 05:50:18 UTC
Created attachment 117776 [details]
stacktrace

Deleted a Internationalized Project using Mercurial along with deleting the directory  from NetBeans and this NullPointerException was thrown.
Comment 11 Jan Peska 2012-04-04 09:33:06 UTC
(In reply to comment #9)
> Created attachment 117767 [details]
> stacktrace
> 
> 1.) Deleted "Internationalization" Project from Project Window and chose to
> delete folder with it. 2.) Fodler was not deleted, but left with Mercurial
> information in folder. 3.) Deleted folder manually. 4.) Went back to NetBeans
> and this NullPointerException was thrown.

Gj, I'm able to reproduce it.

Thanks a lot
Comment 12 MackSix 2012-04-07 08:41:24 UTC
Created attachment 117969 [details]
stacktrace

Tried to revert a Mecurial JaveSE Project with JFrame Internationalization that had failed to Undo move on JFrame properly.
Comment 13 Exceptions Reporter 2012-04-07 08:41:47 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=179871
Comment 14 Jan Peska 2012-04-10 09:53:07 UTC
fix: http://hg.netbeans.org/core-main/rev/6018e341b8e3
Comment 15 Quality Engineering 2012-04-11 09:57:55 UTC
Integrated into 'main-golden', will be available in build *201204110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6018e341b8e3
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #200108 - NullPointerException at org.netbeans.modules.properties.MultiBundleStructure.findEntries
Missing return statement in case of obj == nul -> NPE during deleting project with properties file with more then 2 locales. Test added.
Comment 16 Quality Engineering 2012-04-12 10:02:06 UTC
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6018e341b8e3
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #200108 - NullPointerException at org.netbeans.modules.properties.MultiBundleStructure.findEntries
Missing return statement in case of obj == nul -> NPE during deleting project with properties file with more then 2 locales. Test added.
Comment 17 Jan Peska 2012-10-18 09:33:25 UTC
*** Bug 198156 has been marked as a duplicate of this bug. ***