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.
This issue was originally marked as duplicate of issue 122411, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.7, i386 User Comments: GUEST: right click on Project --> subversion -> show changes project is not marked as version controlled but menu is like it is under version control. GUEST: Trying to show changes in SVN after unfreezing my rails app GUEST: SNV pvramsey: opening a just-checked out Subversion project. GUEST: Have old NetBeans PHP project. Try to import into SVN repository. Process always finish with error message. alexlamsl: refreshing on "Subversion" Tab orka: refreshing subversion window for project benbrand: When reverting a file in my project. tolaware: I opened the subversion windows and tried to "show changes" and the exception was thrown cycloon: I was trying to refresh my project in the subversion window, the place where you see modified files and stuff. ejvyas: Subversion->Show Changes GUEST: Clicked on refresh in the Subversion window beaucoder: updating SVN GUEST: Trying to diff subversion revisions GUEST: Refreshing Subversion changes. jsr: performing a subversion refresh GUEST: tried to svn refresh a version controlled project GUEST: I had copied an old project to an empty workdir. The project used svn. However, after copying NetBeans attempted to use CVS. GUEST: doing upload with subversion GUEST: Refreshing the subversion panel to see the local/remote changes bangpound: i switched project groups. laurin1: Updating SVN GUEST: I clicked on the refresh button in subversion view and this exception was thrown. It doesn't seem to cause any problems. GUEST: Hi, I am working on a PHP project and I have subversion set up and working in NetBeans. Changes appear fine in the Projects window.. However the subversion window shows nothing for local or remote... Any questions eMail me at rw5@eircom.net GUEST: right ckick on project -> subversion -> show changes GUEST: Deleted entire project from local file system. checked out code from svn, noticed blinking icon in lower right corner. onolox: I tried to refresh in the panel 'subversion'. GUEST: when klikin the refresh button on subversion panel ehsavoie: Subversion update GUEST: Clicket "synchronize"-button in subversion changes view ymajoros: Netbeans think my project is versioned, although I remove .svn folders ; I'd like to import it in a new repository --> this exception ; Netbean has been restarted, project closed and reopened, ... GUEST: Started Netbeans, during loading this exception occurred. Downloaded Netbeans again from www.netbeans.org. Reinstalled Netbeans. And again during starting this exception occurred. GUEST: cannot open the subversion window. I am using collabnet svn GUEST: cannot open the subversion window. I am using collabnet svn GUEST: Not exactly sure what happened here, but I'm using netbeans to edit files over NFS... GUEST: refreshing status on Subversion window GUEST: Tried to delete a local folder, got error before comiting. (Not local/server changes visible in svn status window). Stacktrace: java.lang.NullPointerException at org.netbeans.modules.subversion.Subversion.getClient(Subversion.java:220) at org.netbeans.modules.subversion.Subversion.getClient(Subversion.java:270) at org.netbeans.modules.subversion.ui.status.StatusAction.executeStatus(StatusAction.java:105) at org.netbeans.modules.subversion.ui.status.VersioningPanel$6.perform(VersioningPanel.java:389) at org.netbeans.modules.subversion.client.SvnProgressSupport.performIntern(SvnProgressSupport.java:103) at org.netbeans.modules.subversion.client.SvnProgressSupport.run(SvnProgressSupport.java:96)
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. ***