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 251597

Summary: Multiple NPEs in IDE log while working with a remote project
Product: cnd Reporter: Alexander Pepin <apepin>
Component: Remote VCSAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Pepin 2015-04-02 16:47:49 UTC
While working with a full remote project the following NPE appears in IDE log many times

INFO [org.netbeans.modules.subversion.remote]: java.lang.NullPointerException
java.lang.NullPointerException
	at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy(VCSFileProxy.java:131)
	at org.netbeans.modules.subversion.remote.config.SvnConfigFiles.getUserConfigPath(SvnConfigFiles.java:456)
	at org.netbeans.modules.subversion.remote.config.SvnConfigFiles.loadSystemIniFile(SvnConfigFiles.java:595)
	at org.netbeans.modules.subversion.remote.config.SvnConfigFiles.copyConfigFileToIDEConfigDir(SvnConfigFiles.java:552)
	at org.netbeans.modules.subversion.remote.config.SvnConfigFiles.<init>(SvnConfigFiles.java:150)
	at org.netbeans.modules.subversion.remote.config.SvnConfigFiles.getInstance(SvnConfigFiles.java:173)
	at org.netbeans.modules.subversion.remote.client.SvnClientFactory.setup(SvnClientFactory.java:189)
Caused: org.netbeans.modules.subversion.remote.api.SVNClientException
	at org.netbeans.modules.subversion.remote.client.SvnClientFactory.setup(SvnClientFactory.java:201)
	at org.netbeans.modules.subversion.remote.client.SvnClientFactory.getFactory(SvnClientFactory.java:107)
	at org.netbeans.modules.subversion.remote.client.SvnClientFactory.getInstance(SvnClientFactory.java:95)
	at org.netbeans.modules.subversion.remote.Subversion.getClient(Subversion.java:316)
	at org.netbeans.modules.subversion.remote.FileStatusCache.refresh(FileStatusCache.java:597)
	at org.netbeans.modules.subversion.remote.FileStatusCache.refresh(FileStatusCache.java:527)
	at org.netbeans.modules.subversion.remote.FileStatusCache.cleanUp(FileStatusCache.java:836)
[catch] at org.netbeans.modules.subversion.remote.Subversion$1.run(Subversion.java:193)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Comment 1 Vladimir Kvashin 2015-04-03 11:34:39 UTC
This is not related with versioning at all.
Just if you open a full remote project without setting host it resides as default host (e. g. from favorites), you get into this trouble.

Fixed:
http://hg.netbeans.org/cnd-main/rev/aa591d085116
Comment 2 Vladimir Kvashin 2015-04-03 11:36:44 UTC
(In reply to Vladimir Kvashin from comment #1)
Please disregard my previous comment.

better error processing concerning this:
http://hg.netbeans.org/cnd-main/rev/0018691414f7
Comment 3 Vladimir Kvashin 2015-09-01 14:36:23 UTC
fixed a while ago by
http://hg.netbeans.org/cnd-main/rev/61fa71d01a5c
kindof dup of the issue 252922, although the effect differs