[
https://issues.jboss.org/browse/SEAMFORGE-134?page=com.atlassian.jira.plu...
]
Lincoln Baxter III closed SEAMFORGE-134.
----------------------------------------
Resolution: Rejected
If you can think of a good way to capture this exception scenario, go ahead and file an
enhancement for it. I don't know that there's a good way to detect and message
about this situation based on the stack trace here... but I agree, a better message would
be nice.
IOException: Could not delete file /tmp/forgetemp...
----------------------------------------------------
Key: SEAMFORGE-134
URL:
https://issues.jboss.org/browse/SEAMFORGE-134
Project: Seam Forge
Issue Type: Bug
Components: Plugin API
Affects Versions: 1.0.0.Alpha3
Environment: Linux (fedora 12), Sun jvm 1.6.0_20
Reporter: Brian Leathem
Trying to install a plugin from a git repositoy, with the command:
forge git-plugin
git://github.com/bleathem/richfaces-forge-plugin.git
I get the error:
***ERROR*** [forge git-plugin] Could not delete file
/tmp/forgetemp4740532537388554878/repo/.git/objects/incoming_7012870980931945616.idx
Setting VERBOSE = true I get the stack trace:
org.jboss.seam.forge.shell.exceptions.CommandExecutionException: Could not delete file
/tmp/forgetemp4740532537388554878/repo/.git/objects/incoming_7012870980931945616.idx
at org.jboss.seam.forge.shell.command.Execution.perform(Execution.java:143)
at org.jboss.seam.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)
at org.jboss.seam.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)
at org.jboss.seam.forge.shell.ShellImpl.execute(ShellImpl.java:677)
at org.jboss.seam.forge.shell.ShellImpl.doShell(ShellImpl.java:493)
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.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at
org.jboss.seam.forge.shell.org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$seam$forge$shell$ShellImpl_$$_WeldClientProxy.doShell(org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$seam$forge$shell$ShellImpl_$$_WeldClientProxy.java)
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: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: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:632)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:619)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:613)
at org.jboss.seam.forge.shell.Bootstrap$2.run(Bootstrap.java:92)
at java.lang.Thread.run(Thread.java:619)
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.jboss.seam.forge.shell.command.Execution.perform(Execution.java:139)
... 30 more
Caused by: org.eclipse.jgit.errors.TransportException: Could not delete file
/tmp/forgetemp4740532537388554878/repo/.git/objects/incoming_7012870980931945616.idx
at
org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:286)
at
org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:224)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:214)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:149)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904)
at org.jboss.seam.forge.git.Clone.runFetch(Clone.java:130)
at org.jboss.seam.forge.git.Clone.run(Clone.java:99)
at org.jboss.seam.forge.git.GitUtils.clone(GitUti
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira