[jboss-user] [JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1 &

Achillix do-not-reply at jboss.com
Thu Jun 12 05:12:27 EDT 2008


I tried the program http://download.jboss.org/jbosstools/extras/packaging-convert.zip
and it breaks. Output follows:

  | Script started on Thu Jun 12 12:10:21 2008
  | achill4 at smadev:~/packaging-convert> java -jar packaging-converter.jar ../workspace/SMA/.packaging
  | Updating Project Builder to 'org.jboss.ide.eclipse.archives.core.archivesBuilder'...
  | Adding 'org.jboss.ide.eclipse.archives.core.archivesNature' nature...
  | Backing up to .project.bak, and saving to .project in ../workspace/SMA...
  |      [copy] Copying 1 file to /usr/home/achill/workspace/SMA
  | Converting JBossIDE 1.x packages to JBossTools/RHDS archives...
  | Converting package 'SMA_SERVER_SIDE.jar'...
  | Converting package 'SMA_COMMON.jar'...
  | Converting package 'SMA_EJBs.jar'...
  | Exception in thread "main" org.codehaus.groovy.runtime.InvokerInvocationException: String index out of range: -1
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:126)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:664)
  | 	at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:111)
  | 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | 	at groovy.lang.GroovyShell.runMainOrTestOrRunnable(GroovyShell.java:319)
  | 	at groovy.lang.GroovyShell.run(GroovyShell.java:394)
  | 	at org.jboss.tools.archives.JBossIDEtoTools.main(JBossIDEtoTools.java:24)
  | Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  | 	at java.lang.String.substring(String.java:1768)
  | 	at gjdk.java.lang.String_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
  | 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
  | 	at org.jboss.tools.archives.PackagingConverter.convertFile(PackaginConverter.groovy:129)
  | 	at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:525)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at groovy.lang.MetaClass.invokeMethod(MetaClass.java:87)
  | 	at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:73)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:541)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97)
  | 	at org.jboss.tools.archives.PackagingConverter$_convertPackaging_closure2_closure4.doCall(PackaginConverter.groovy:103)
  | 	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:585)
  | 	at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:69)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at groovy.lang.Closure.call(Closure.java:188)
  | 	at groovy.lang.Closure.call(Closure.java:201)
  | 	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:657)
  | 	at gjdk.java.util.AbstractList$Itr_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
  | 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
  | 	at org.jboss.tools.archives.PackagingConverter$_convertPackaging_closure2.doCall(PackaginConverter.groovy:102)
  | 	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:585)
  | 	at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:69)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at groovy.lang.Closure.call(Closure.java:188)
  | 	at groovy.lang.Closure.call(Closure.java:201)
  | 	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:657)
  | 	at gjdk.java.util.AbstractList$Itr_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
  | 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
  | 	at org.jboss.tools.archives.PackagingConverter.convertPackaging(PackaginConverter.groovy:87)
  | 	at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:129)
  | 	at org.jboss.tools.archives.PackagingConverter.convert(PackaginConverter.groovy:54)
  | 	at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | 	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | 	at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:131)
  | 	at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
  | 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:211)
  | 	at org.jboss.tools.archives.PackagingConverter.main(PackaginConverter.groovy:181)
  | 	at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
  | 	at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | 	... 7 more
  | achill4 at smadev:~/packaging-convert> ^D  exit
  | 
  | Script done on Thu Jun 12 12:10:37 2008
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157625#4157625

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157625



More information about the jboss-user mailing list