-
Bug
-
Resolution: Done
-
Critical
-
2.1.1.Final
-
None
Creating a project with track-changes creates an exception :
[Forge]$ project-new --named test1 ***SUCCESS*** Project named 'test1' has been created. [test1]$ track-changes ***SUCCESS*** Resource change tracking is ON. [test1]$ cd .. [Forge]$ project-new --named test2 ***ERROR*** Could not register resource monitor [Forge]$
The exception is the following :
19:06:33,624 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 1) Failed to execute [project-new] due to exception.: java.lang.IllegalStateException: Could not register resource monitor at org.jboss.forge.addon.resource.monitor.FileMonitor.registerMonitor(FileMonitor.java:90) [resources-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.resource.ResourceFactoryImpl.monitor(ResourceFactoryImpl.java:100) [resources-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.resource.ResourceFactoryImpl.monitor(ResourceFactoryImpl.java:86) [resources-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.resource.AbstractFileResource.monitor(AbstractFileResource.java:363) [resources-api-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.cacheProject(ProjectFactoryImpl.java:404) at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.createProject(ProjectFactoryImpl.java:316) at org.jboss.forge.addon.projects.ui.NewProjectWizard.execute(NewProjectWizard.java:375) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.projects.ui.NewProjectWizard_$$_javassist_1bff18e1-ed11-48bb-8b1e-3a451b01843a.execute(NewProjectWizard_$$_javassist_1bff18e1-ed11-48bb-8b1e-3a451b01843a.java) at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153) [ui-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152) [ui-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:69) [shell-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:292) [aesh-0.49.jar:0.49] at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:36) [aesh-0.49.jar:0.49] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.nio.file.NoSuchFileException: /Users/antoniombp/Documents/Code/temp/Forge/test2 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) [rt.jar:1.7.0_45] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) [rt.jar:1.7.0_45] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) [rt.jar:1.7.0_45] at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) [rt.jar:1.7.0_45] at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144) [rt.jar:1.7.0_45] at java.nio.file.Files.readAttributes(Files.java:1684) [rt.jar:1.7.0_45] at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:105) [rt.jar:1.7.0_45] at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69) [rt.jar:1.7.0_45] at java.nio.file.Files.walkFileTree(Files.java:2600) [rt.jar:1.7.0_45] at java.nio.file.Files.walkFileTree(Files.java:2633) [rt.jar:1.7.0_45] at org.jboss.forge.addon.resource.monitor.FileWatcher.registerAll(FileWatcher.java:122) [resources-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.resource.monitor.FileWatcher.register(FileWatcher.java:86) [resources-impl-2.1.1.Final.jar:2.1.1.Final] at org.jboss.forge.addon.resource.monitor.FileMonitor.registerMonitor(FileMonitor.java:86) [resources-impl-2.1.1.Final.jar:2.1.1.Final] ... 22 more
- is blocked by
-
FORGE-1287 REGRESSION: MavenPackagingFacet.getFinalArtifact returns a path with unresolved properties
- Closed
- is related to
-
FORGE-1461 "project-new" command fails while a ResourceTransaction is active
- Closed