[JBoss JIRA] (FORGE-2) 'mv' command does not function on directories
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2?page=com.atlassian.jira.plugin.sy... ]
George Gastaldi closed FORGE-2.
-------------------------------
Assignee: Jose Donizetti (was: George Gastaldi)
> 'mv' command does not function on directories
> ---------------------------------------------
>
> Key: FORGE-2
> URL: https://issues.jboss.org/browse/FORGE-2
> Project: Forge
> Issue Type: Bug
> Components: Builtin Plugins
> Affects Versions: 1.0.0.Alpha2
> Reporter: Lincoln Baxter III
> Assignee: Jose Donizetti
> Labels: Starter
> Fix For: 1.0.6.Final
>
>
> [forge-distribution] dist $ cd ~/Projects/
> [no project] Projects $ mv
> jline/ gshell/ plugin-prettyfaces/ seam-render/
> gcode-issue-import/ prettyfaces/ viPlugin.license shrinkwrap-descriptors/
> maven-debug/ fpak/ javarebel.lic eclipse-code-formatter-profile.xml
> forge/
> [no project] Projects $ mv
> [source (of type org.jboss.seam.forge.resources.Resource)]
> jline/ gshell/ plugin-prettyfaces/ seam-render/
> gcode-issue-import/ prettyfaces/ viPlugin.license shrinkwrap-descriptors/
> maven-debug/ fpak/ javarebel.lic eclipse-code-formatter-profile.xml
> forge/
> [no project] Projects $ mv plugin-prettyfaces/
> [target (of type java.lang.String)]
> [no project] Projects $ mv plugin-prettyfaces/ prettyfaces/forge-plugin
> ***ERROR*** [mv] [UnknownFileResource] can have no children
> [no project] Projects $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (FORGE-653) Unexpected error when attempting to run an invalid command
by George Gastaldi (JIRA)
George Gastaldi created FORGE-653:
-------------------------------------
Summary: Unexpected error when attempting to run an invalid command
Key: FORGE-653
URL: https://issues.jboss.org/browse/FORGE-653
Project: Forge
Issue Type: Bug
Reporter: George Gastaldi
When I type "xx" for example and run in 1.0.6.Final, I get:
{code}
***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
{code}
however in 1.0.5.Final, I get
{code}
***ERROR*** No such command: xx
{code}
This is the offending stack trace:
{code}
java.lang.NullPointerException
at org.jboss.tools.forge.runtime.ext.EventHandler.flattenObjectArray(EventHandler.java:43)
at org.jboss.tools.forge.runtime.ext.EventHandler.getParameterString(EventHandler.java:38)
at org.jboss.tools.forge.runtime.ext.EventHandler.handleCommandExecuted(EventHandler.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:155)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:817)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:840)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:630)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:147)
at java.lang.Thread.run(Thread.java:722)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (FORGE-33) Pathspec parser does not properly handle Regex character in input (revealed when using tab-completion)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-33?page=com.atlassian.jira.plugin.s... ]
George Gastaldi updated FORGE-33:
---------------------------------
Fix Version/s: (was: 1.0.6.Final)
> Pathspec parser does not properly handle Regex character in input (revealed when using tab-completion)
> ------------------------------------------------------------------------------------------------------
>
> Key: FORGE-33
> URL: https://issues.jboss.org/browse/FORGE-33
> Project: Forge
> Issue Type: Bug
> Components: Shell
> Affects Versions: 1.0.0.Beta2
> Environment: Ubuntu
> Reporter: Lincoln Baxter III
> Assignee: Mike Brock
> Priority: Critical
>
> cd I(<TAB>"
> results in:
> [forge-distribution] dist $ set verbose on
> [forge-distribution] dist $ cd ~/Desktop/
> [no project] Desktop $ cd I(<TAB>[INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 17.077s
> [INFO] Finished at: Tue Dec 14 18:56:28 EST 2010
> [INFO] Final Memory: 16M/218M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project forge-distribution: An exception occured while executing the Java class. null: InvocationTargetException: Unclosed group near index 6
> [ERROR] ^I(.*$
> [ERROR] ^
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project forge-distribution: An exception occured while executing the Java class. null
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> 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:597)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null
> at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:338)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
> ... 19 more
> Caused by: java.lang.reflect.InvocationTargetException
> 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:597)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.util.regex.PatternSyntaxException: Unclosed group near index 6
> ^I(.*$
> ^
> at java.util.regex.Pattern.error(Pattern.java:1713)
> at java.util.regex.Pattern.accept(Pattern.java:1571)
> at java.util.regex.Pattern.group0(Pattern.java:2533)
> at java.util.regex.Pattern.sequence(Pattern.java:1806)
> at java.util.regex.Pattern.expr(Pattern.java:1752)
> at java.util.regex.Pattern.compile(Pattern.java:1460)
> at java.util.regex.Pattern.<init>(Pattern.java:1133)
> at java.util.regex.Pattern.compile(Pattern.java:823)
> at org.jboss.seam.forge.project.util.PathspecParser.resolve(PathspecParser.java:130)
> at org.jboss.seam.forge.shell.completer.PluginCommandCompleter.getOptionCandidates(PluginCommandCompleter.java:337)
> at org.jboss.seam.forge.shell.completer.PluginCommandCompleter.complete(PluginCommandCompleter.java:173)
> at org.jboss.seam.forge.shell.completer.CommandCompleterAdaptor.complete(CommandCompleterAdaptor.java:49)
> at jline.console.completer.AggregateCompleter$Completion.complete(AggregateCompleter.java:105)
> at jline.console.completer.AggregateCompleter.complete(AggregateCompleter.java:66)
> at jline.console.ConsoleReader.complete(ConsoleReader.java:1101)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:898)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:834)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:822)
> at org.jboss.seam.forge.shell.ShellImpl.readLine(ShellImpl.java:265)
> at org.jboss.seam.forge.shell.ShellImpl.doShell(ShellImpl.java:246)
> 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:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:198)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:200)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:270)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:222)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:605)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:598)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:592)
> at org.jboss.seam.forge.shell.Bootstrap.main(Bootstrap.java:56)
> ... 6 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> lb3@quadshark ~/JBoss/forge/dist $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months