[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: NullPointerException while committing

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-12-04 03:23:35 CET

I found this bug. It happens when doing a commit that contains selected
unversioned items. In 0.9.100 we also added support for showing/committing
missing items. The array of missing items that was passed to the commit
had its size set by the numer of selected unversioned items, so the commit
operation would receive an array > 0 full of nulls.

That is why the second commit always works. Because the adds are processed
the first time, so when you commit the second time there are no unversioned
items.

As a workaround, you can commit twice or do Team -> Add before committing.
I will put out a new release early next week.

Thanks

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Sun Dec 4 13:23:35 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.