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 80096 - Cannot create project with working copy of repository dir
Summary: Cannot create project with working copy of repository dir
Status: RESOLVED DUPLICATE of bug 73235
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 20:06 UTC by turquoise3232
Modified: 2006-10-23 15:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (17.98 KB, text/plain)
2006-07-13 21:36 UTC, turquoise3232
Details

Note You need to log in before you can comment on or make changes to this bug.
Description turquoise3232 2006-07-12 20:06:49 UTC
When check-outing a project from my repository (file:///...) i've got an
exception (see below).

In fact the directory is checkouted well be the netbeans project is not
created... If I try to create the project from the sources, I've got the
exception too...

Quite annoying. I'm using the latest subversion and latest tortoise works fine. 
Don't know if it's a subversion module problem but it may...
Thanks
NM

Thee exception :

java.lang.reflect.UndeclaredThrowableException
	at $Proxy1.fileChanged(Unknown Source)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:82)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:837)
	at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:175)
	at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:149)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:94)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:465)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:222)
	at org.openide.util.Mutex.writeAccess(Mutex.java:348)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:215)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:641)
	at org.openide.util.Mutex.writeAccess(Mutex.java:348)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:637)
	at
org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl.projectOpened(J2SEProject.java:332)
	at
org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:50)
[catch] at
org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:569)
	at
org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:608)
	at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:285)
	at
org.netbeans.modules.project.ui.OpenProjectList.access$000(OpenProjectList.java:72)
	at org.netbeans.modules.project.ui.OpenProjectList$1.run(OpenProjectList.java:191)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:519)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:951)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:589)
	at
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:418)
Comment 1 Tomas Stupka 2006-07-13 11:13:53 UTC
> Quite annoying. I'm using the latest subversion and latest tortoise works fine. 
does it mean that everything works fine when you check out the sources with
tortoise and then try to open project? otherwise, could you please try it out
this way?

just from the exception it doesn't look like a svn module problem
Comment 2 turquoise3232 2006-07-13 12:05:19 UTC
>does it mean that everything works fine when you check out the sources with
>tortoise and then try to open project? otherwise, could you please try it out
>this way?

No, it doesn't work either... My point was that there doesn't seem to be any
problem with the checkout (tortoise or svn module) but once the sources are
checked out in a directory trying to use them in a netbeans project raises the
exception...
I maybe should raise this issues to another netbeans module but i don't really
know which one. Anyway thanks for your help, and don't hesitate to ask if I can
make some tests... I would really see CVS and subversion modules working
together in netbeans.
Comment 3 turquoise3232 2006-07-13 18:24:58 UTC
I tried to check out aerith project, check-out process performs well but the the
following exception occurs...

(This time I'm pretty sure that subversion in invoked ...)

java.lang.reflect.UndeclaredThrowableException
	at $Proxy1.fileChanged(Unknown Source)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:82)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:837)
	at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:175)
	at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:149)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:94)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:465)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:222)
	at org.openide.util.Mutex.writeAccess(Mutex.java:348)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:215)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:641)
	at org.openide.util.Mutex.writeAccess(Mutex.java:348)
	at
org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:637)
	at
org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl.projectOpened(J2SEProject.java:332)
	at
org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:50)
	at
org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:569)
	at
org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:608)
	at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:285)
	at
org.netbeans.modules.project.ui.OpenProjectList.access$000(OpenProjectList.java:72)
	at org.netbeans.modules.project.ui.OpenProjectList$1.run(OpenProjectList.java:191)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:519)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:951)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:589)
	at
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:418)
	... 22 more
Caused by: java.lang.NullPointerException
	at java.io.File.<init>(File.java:222)
	at
org.tigris.subversion.svnclientadapter.commandline.CmdLineInfoPart.getFile(CmdLineInfoPart.java:123)
	at
org.tigris.subversion.svnclientadapter.commandline.CmdLineStatuses.getCorrespondingInfoPart(CmdLineStatuses.java:103)
	at
org.tigris.subversion.svnclientadapter.commandline.CmdLineStatuses.buildStatuses(CmdLineStatuses.java:84)
	at
org.tigris.subversion.svnclientadapter.commandline.CmdLineStatuses.<init>(CmdLineStatuses.java:65)
	at
org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.getStatus(CmdLineClientAdapter.java:603)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:589)
	at
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handleRemotely(SvnClientInvocationHandler.java:329)
	at
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:302)
	at
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:225)
	at $Proxy12.getStatus(Unknown Source)
	at
org.netbeans.modules.subversion.FileStatusCache.scanFolder(FileStatusCache.java:502)
	at
org.netbeans.modules.subversion.FileStatusCache.getScannedFiles(FileStatusCache.java:470)
	at
org.netbeans.modules.subversion.FileStatusCache.getStatus(FileStatusCache.java:226)
	at
org.netbeans.modules.subversion.FilesystemHandler.fileChanged(FilesystemHandler.java:103)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:82)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:65)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:871)
	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:874)
	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:49)
	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:500)
	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:432)
	at org.openide.filesystems.FileObject.fireFileChangedEvent(FileObject.java:400)
	at
org.netbeans.modules.masterfs.MasterFileObject.access$800(MasterFileObject.java:40)
	at
org.netbeans.modules.masterfs.MasterFileObject$FileChangeListenerImpl.fileChanged(MasterFileObject.java:922)
	... 26 more
Comment 4 Tomas Stupka 2006-07-13 18:50:29 UTC
could you please post the whole messages.log file
Comment 5 turquoise3232 2006-07-13 21:36:50 UTC
Created attachment 31874 [details]
Log file
Comment 6 Tomas Stupka 2006-07-14 10:49:31 UTC
ok,
the last posted problem is a duplicate - you can set your locale to EN as a
workaround.

please poste again the first exception you got while openening a checkedout
project to the project module.
thanks

*** This issue has been marked as a duplicate of 73235 ***