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 217146 - java.lang.NullPointerException on commit
Summary: java.lang.NullPointerException on commit
Status: RESOLVED DUPLICATE of bug 212318
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 10:07 UTC by AndreasLuedtke
Modified: 2012-08-21 10:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AndreasLuedtke 2012-08-21 10:07:22 UTC
Commit on Maven Web Project produces the following NPE:

java.lang.NullPointerException
	at org.tmatesoft.svn.core.internal.util.SVNPathUtil.getRelativePath(SVNPathUtil.java:465)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getInfo(SVNClientImpl.java:2185)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.access$1000(SVNClientImpl.java:159)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl$11.receive(SVNClientImpl.java:2174)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl$11.receive(SVNClientImpl.java:2171)
	at org.tmatesoft.svn.core.wc2.SvnReceivingOperation.receive(SvnReceivingOperation.java:78)
	at org.tmatesoft.svn.core.internal.wc2.old.SvnOldGetInfo.handleInfo(SvnOldGetInfo.java:30)
	at org.tmatesoft.svn.core.internal.wc16.SVNWCClient16$12.handleError(SVNWCClient16.java:3451)
	at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.walkEntries(SVNWCAccess.java:774)
	at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.walkEntries(SVNWCAccess.java:757)
	at org.tmatesoft.svn.core.internal.wc16.SVNWCClient16.crawlEntries(SVNWCClient16.java:3433)
	at org.tmatesoft.svn.core.internal.wc16.SVNWCClient16.doInfo(SVNWCClient16.java:2645)
	at org.tmatesoft.svn.core.internal.wc2.old.SvnOldGetInfo.run(SvnOldGetInfo.java:18)
	at org.tmatesoft.svn.core.internal.wc2.old.SvnOldGetInfo.run(SvnOldGetInfo.java:12)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1221)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:292)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.info2(SVNClientImpl.java:1455)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getInfoFromWorkingCopy(AbstractJhlClientAdapter.java:1955)
	at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:366)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:327)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler$2.call(SvnClientInvocationHandler.java:169)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:181)
	at $Proxy36.getInfoFromWorkingCopy(Unknown Source)
	at org.netbeans.modules.subversion.util.SvnUtils.getInfoFromWorkingCopy(SvnUtils.java:912)
	at org.netbeans.modules.subversion.util.SvnUtils.getRelativePath(SvnUtils.java:495)
	at org.netbeans.modules.subversion.SvnFileNode.getLocation(SvnFileNode.java:143)
	at org.netbeans.modules.subversion.SvnFileNode.initializeProperties(SvnFileNode.java:178)
	at org.netbeans.modules.subversion.ui.commit.CommitAction.getFileNodes(CommitAction.java:267)
	at org.netbeans.modules.subversion.ui.commit.CommitAction.access$300(CommitAction.java:107)
	at org.netbeans.modules.subversion.ui.commit.CommitAction$5.perform(CommitAction.java:448)
	at org.netbeans.modules.subversion.client.SvnProgressSupport.performIntern(SvnProgressSupport.java:109)
	at org.netbeans.modules.subversion.client.SvnProgressSupport.run(SvnProgressSupport.java:102)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Ondrej Vrabec 2012-08-21 10:13:55 UTC

*** This bug has been marked as a duplicate of bug 212318 ***