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 162550 - NullPointerException at org.netbeans.modules.subversion.SubversionVisibilityQuery.getCache
Summary: NullPointerException at org.netbeans.modules.subversion.SubversionVisibilityQ...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL: http://statistics.netbeans.org/except...
Keywords:
: 162778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-14 03:39 UTC by johnson_156
Modified: 2009-04-16 08:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149286


Attachments
stacktrace (5.15 KB, text/plain)
2009-04-14 03:39 UTC, johnson_156
Details
stacktrace (3.82 KB, text/plain)
2009-04-14 03:40 UTC, johnson_156
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnson_156 2009-04-14 03:39:46 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: I created a new file in an existing NetBeans project.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.getCache(SubversionVisibilityQuery.java:116)
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.isVisible(SubversionVisibilityQuery.java:98)
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.isVisible(SubversionVisibilityQuery.java:79)
        at org.netbeans.api.queries.VisibilityQuery.isVisible(VisibilityQuery.java:99)
        at org.openidex.search.VisibilityFilter.traverseFolder(VisibilityFilter.java:72)
        at org.openidex.search.SimpleSearchInfo.checkFolderAgainstFilters(SimpleSearchInfo.java:136)
Comment 1 johnson_156 2009-04-14 03:39:50 UTC
Created attachment 80013 [details]
stacktrace
Comment 2 johnson_156 2009-04-14 03:40:47 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.getCache(SubversionVisibilityQuery.java:116)
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.isVisible(SubversionVisibilityQuery.java:98)
        at org.netbeans.modules.subversion.SubversionVisibilityQuery.isVisible(SubversionVisibilityQuery.java:79)
        at org.netbeans.api.queries.VisibilityQuery.isVisible(VisibilityQuery.java:99)
        at org.openidex.search.VisibilityFilter.traverseFolder(VisibilityFilter.java:72)
        at org.openidex.search.SimpleSearchInfo.checkFolderAgainstFilters(SimpleSearchInfo.java:136)
Comment 3 johnson_156 2009-04-14 03:40:51 UTC
Created attachment 80014 [details]
stacktrace
Comment 4 Ondrej Vrabec 2009-04-14 08:57:36 UTC
fixing the exception in cdev #0132f5303637
your problem is caused by a parsing error of a configuration file. We will try to patch the parser (ini4j library) in
6.7 beta.
In the meantime please could you look at config files (userdir/.netbeans/YOUR_BUILD/config/svn/config/config and
userdir/Application Data/Subversion/config) and send me those (please check if there are no confidential information and
delete those if needed)? I need to see if there is a sequence of characters as: \uxxxx.
thanks
Comment 5 Quality Engineering 2009-04-15 07:44:35 UTC
Integrated into 'main-golden', will be available in build *200904150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0132f5303637
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #162550 - NullPointerException at o.n.m.subversion.SubversionVisibilityQuery.getCache
exception in init caught and logged
Comment 6 Ondrej Vrabec 2009-04-16 07:23:24 UTC
*** Issue 162778 has been marked as a duplicate of this issue. ***
Comment 7 Ondrej Vrabec 2009-04-16 08:20:55 UTC
final fix:
cdev #d768752703da - decoding of \... sequences is disabled