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.
Summary: | NullPointerException at org.netbeans.modules.subversion.Subversion.getClient | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | bangpound <bangpound> |
Component: | Subversion | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | blocker | CC: | alexlamsl, hifmo, jww2nc, magzupao, maxdrift, mmirilovic, pubpuck, rptmaestro, vladykx |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=153306 | ||
Issue Type: | DEFECT | Exception Reporter: | 153306 |
Attachments: | stacktrace |
Description
bangpound
2009-07-03 15:23:37 UTC
Created attachment 84339 [details]
stacktrace
bangpound: you've tried to refresh the subversion panel while it's context was set to '/Users/bjd/Sites/electronicintifada'. Are you absolutely sure the folder existed in that time? Could you also check if there is a '.svn/entries' folder inside '/Users/bjd/Sites/electronicintifada'? I know of only one scenario when you can reproduce this issue: 1) Subversion->Show changes on a project 2) Delete the project 3) Refresh in the Subversion panel - it still holds a context with a not existing folder. Trying to perform any operations on such context results in a NPE 106 duplicates ... P1 ... candidate for 6.7 Patch (very probably not Patch 1) Marian, this is probably not P1, i still think it's P3. Most of those duplicates are from 6.5 - most of the reproducible scenarios were fixed in issue 122411. There are still some scenarios which we cannot reveal (and no user has ever provided us with a satisfiable scenario, in fact no user has ever replied to any of our answers). I know of only one (but highly improbable to be P1) - mentioned in this issue. So unless we have a reproducible testcase from affected users, i don't think this can be fixed. The same problem as in issue 167422, but none of the reporters answers for my questions there either. So to anyone using 6.7, please describe exactly what you were doing before the exception showed. I'm sorry I've been late in responding. I am not deleting a project. The SVN working copy is valid. If I use the CLI to 'svn update' it's fine. The few times I've seen this error, it's followed me closing one project and opening another followed by running 'show changes' on the root of the newly opened project when the 'Subversion' tab panel is displaying the changes for that other already closed project. However, the NPE does not happen each time I do this. So '/Users/bjd/Sites/electronicintifada' still exists and in commandline works fine? If you perform Show Changes on this folder, sometimes the NPE happens and sometime it doesn't? Is it random or this project always triggers the exception? Well, i still don't see the reason for the exception to occur, but at least added some logging: cdev #d315dc917baa Integrated into 'main-golden', will be available in build *200907110200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d315dc917baa User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #168094 - neverending story with a NPE at o.n.m.subversion.Subversion.getClient adding some logging that should help us find the original reason for this exception I am an Eclipse user on a Windows Vista 32bit box. I have a ton of projects checked into SVN from Eclipse. Now when I try to Team->SVN->Checkout in NetBeans, I can do so. However, after checking out the project, netbeans doesn't recognize the project as being an SVN project. There is a "Versioning" option in the context menu, but only when I right click on the project in the "Projects" window. However, "Show Changes, Diff, Update, Update with Dependencies, Commit..., Search History..., Revert Modifications...., Resolve Conflicts..., Svn Properties" are all grayed out. The only options are "Import into CVS Repository..., Initialize Mercurial Project, Copy To..., Switch to Copy..., Merge Changes..., Apply Diff Patch...". I can see the .svn folders in all the directories, it works fine in Eclipse and Tortoise viewer. The picture shows what options I have available to me. These options don't change if I change any of the local files. *** Issue 167422 has been marked as a duplicate of this issue. *** *** Issue 172485 has been marked as a duplicate of this issue. *** |