Error Loading a workspace on the local machine
I was trying to load a workspace into a local folder using the scm command line -
c:\RTC_Workspace>scm load Work0 -r https://sdwaix9.in.ibm.com:9443/jazz/ -t C:\RTC_Workspace\Work0 (folder where i want the files to be loaded)
where Work0 is the name of the workspace to be loaded
i am facing an error in this ->
java.lang.NullPointerException
at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmd.run(LoadCmd.java:159)
at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmdLauncher.run(LoadCmdLauncher.java:161)
at com.ibm.team.filesystem.cli.core.internal.Application.run(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.doStart(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
!ENTRY org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.connector.scm.task_2.0.0.I200905260001.jar was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.apache.ant_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.toolkit_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.fulltext.ide.ui_1.0.0.I200905221749.jar was not resolved.
!SUBENTRY 2 com.ibm.team.fulltext.ide.ui 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.eclipse.search_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.connector.scm.operations_2.0.0.I200905260001.jar was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.connector.scm.cc.syncviabuild_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/org.eclipse.core.net_1.1.0.I20080604.jar was not resolved.
!SUBENTRY 2 org.eclipse.core.net 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.eclipse.equinox.security_CAN I DO THE LOAD OPERATION Through JAVA API ?????
if i want to perform the loading of the workspace through JAVA API then which Api to use to perform the same function as per by scm load command
where Work0 is the name of the workspace to be loaded
i am facing an error in this ->
java.lang.NullPointerException
at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmd.run(LoadCmd.java:159)
at com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmdLauncher.run(LoadCmdLauncher.java:161)
at com.ibm.team.filesystem.cli.core.internal.Application.run(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.doStart(Unknown Source)
at com.ibm.team.filesystem.cli.core.internal.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
!ENTRY org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.connector.scm.task_2.0.0.I200905260001.jar was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.apache.ant_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.toolkit_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.fulltext.ide.ui_1.0.0.I200905221749.jar was not resolved.
!SUBENTRY 2 com.ibm.team.fulltext.ide.ui 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.eclipse.search_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/com.ibm.team.connector.scm.operations_2.0.0.I200905260001.jar was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.connector.scm.cc.syncviabuild_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle update@plugins/org.eclipse.core.net_1.1.0.I20080604.jar was not resolved.
!SUBENTRY 2 org.eclipse.core.net 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.eclipse.equinox.security_CAN I DO THE LOAD OPERATION Through JAVA API ?????
if i want to perform the loading of the workspace through JAVA API then which Api to use to perform the same function as per by scm load command
2 answers
It looks odd that at the bottom of your stack trace there are missing
plugin errors. It would lead me to believe that the command line client
you have has its plugins messed up some how. I would try again after
installing a fresh command line client.
On Tue, 30 Mar 2010 02:52:51 -0400, neerav
<nesalari> wrote:
if i want to perform the loading of the workspace through JAVA API
then which Api to use to perform the same function as per by scm load
command
plugin errors. It would lead me to believe that the command line client
you have has its plugins messed up some how. I would try again after
installing a fresh command line client.
On Tue, 30 Mar 2010 02:52:51 -0400, neerav
<nesalari> wrote:
I was trying to load a workspace into a local folder using the scm
command line -
c:\RTC_Workspace>scm load Work0 -r
https://sdwaix9.in.ibm.com:9443/jazz/ -t
C:\RTC_Workspace\Work0(folder where i want the files
to be loaded)
where Work0 is the name of the workspace to be loaded
i am facing an error in this -
java.lang.NullPointerException
at
com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmd.run(LoadCmd.java:159)
at
com.ibm.team.filesystem.cli.client.internal.subcommands.LoadCmdLauncher.run(LoadCmdLauncher.java:161)
at com.ibm.team.filesystem.cli.core.internal.Application.run(Unknown
Source)
at
com.ibm.team.filesystem.cli.core.internal.Application.doStart(Unknown
Source)
at
com.ibm.team.filesystem.cli.core.internal.Application.start(Unknown
Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown
Source)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown
Source)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown
Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown
Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
!ENTRY org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE One or more bundles are not resolved because the following
root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle
update@plugins/com.ibm.team.connector.scm.task_2.0.0.I200905260001.jar
was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle org.apache.ant_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.toolkit_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.task 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle
update@plugins/com.ibm.team.fulltext.ide.ui_1.0.0.I200905221749.jar
was not resolved.
!SUBENTRY 2 com.ibm.team.fulltext.ide.ui 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle org.eclipse.search_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle
update@plugins/com.ibm.team.connector.scm.operations_2.0.0.I200905260001.jar
was not resolved.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.common_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle com.ibm.team.build.client_0.0.0.
!SUBENTRY 2 com.ibm.team.connector.scm.operations 2 0 2010-03-29
12:15:32.625
!MESSAGE Missing required bundle
com.ibm.team.connector.scm.cc.syncviabuild_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-29 12:15:32.625
!MESSAGE Bundle
update@plugins/org.eclipse.core.net_1.1.0.I20080604.jar was not
resolved.
!SUBENTRY 2 org.eclipse.core.net 2 0 2010-03-29 12:15:32.625
!MESSAGE Missing required bundle
org.eclipse.equinox.security_CAN I DO THE LOAD OPERATION Through JAVA API
?????
if i want to perform the loading of the workspace through JAVA API
then which Api to use to perform the same function as per by scm load
command