repotool
![](http://jazz.net/_images/myphoto/ab16465e1d302c5c2a8e6b6b8ae554a5.jpg)
hi folks,
I have some artifacts that I created in M0 and would like to
get the structure from M0 to M1 (not the SCM artifacts). I am getting a
null pointer exception when I run the repotool from M1 location. Any ideas ?
------------------------
D:\jazz\server>repotools -import
teamserver.properties=./teamserver.properties username=ADMIN
password=ADMIN fromFile=C:/jazz/server/export.tar
Repo Tools, Version 0.6.0.I20070531-1935
Loading configuration from file:./teamserver.properties
Connection spec: DERBY:db
Importing data from the file "C:/jazz/server/export.tar" into the
database "db"
Import will begin in 15000 milliseconds...
Connection successful: Apache Derby(10.2.1.6 - (452058))
DB name/location: db
The scheduler service is disabled
E-mail notification is disabled, see the Server Setup Guide for details
on enabl
ing it.
The user ADMIN has logged in to the database db
Begin importing contents from C:/jazz/server/export.tar into the repository
The user ADMIN has logged out of the database db
java.lang.NullPointerException
at
com.ibm.team.repository.service.db.provider.AbstractDbProvider.getCre
ateIndexStatements(AbstractDbProvider.java:75)
at
com.ibm.team.repository.service.internal.rdb.PluggableJdbcDbBuilder.c
------------------------------------------
Regards,
Kartik
I have some artifacts that I created in M0 and would like to
get the structure from M0 to M1 (not the SCM artifacts). I am getting a
null pointer exception when I run the repotool from M1 location. Any ideas ?
------------------------
D:\jazz\server>repotools -import
teamserver.properties=./teamserver.properties username=ADMIN
password=ADMIN fromFile=C:/jazz/server/export.tar
Repo Tools, Version 0.6.0.I20070531-1935
Loading configuration from file:./teamserver.properties
Connection spec: DERBY:db
Importing data from the file "C:/jazz/server/export.tar" into the
database "db"
Import will begin in 15000 milliseconds...
Connection successful: Apache Derby(10.2.1.6 - (452058))
DB name/location: db
The scheduler service is disabled
E-mail notification is disabled, see the Server Setup Guide for details
on enabl
ing it.
The user ADMIN has logged in to the database db
Begin importing contents from C:/jazz/server/export.tar into the repository
The user ADMIN has logged out of the database db
java.lang.NullPointerException
at
com.ibm.team.repository.service.db.provider.AbstractDbProvider.getCre
ateIndexStatements(AbstractDbProvider.java:75)
at
com.ibm.team.repository.service.internal.rdb.PluggableJdbcDbBuilder.c
------------------------------------------
Regards,
Kartik
One answer
![](http://jazz.net/_images/myphoto/ab16465e1d302c5c2a8e6b6b8ae554a5.jpg)
Kartik,
Try repotools -import with createDB option. We have fixed the null pointer
exception in Beta1 candidate.
repotools -import teamserver.properties=c:/teamserver.properties
userName=ADMIN password=.. fromFile=c:/test.tar createDB
-----
Balaji
"Kartik Kanakasabesan" <kartik@ca.ibm.com> wrote in message
news:f44fsj$bi9$1@localhost.localdomain...
Try repotools -import with createDB option. We have fixed the null pointer
exception in Beta1 candidate.
repotools -import teamserver.properties=c:/teamserver.properties
userName=ADMIN password=.. fromFile=c:/test.tar createDB
-----
Balaji
"Kartik Kanakasabesan" <kartik@ca.ibm.com> wrote in message
news:f44fsj$bi9$1@localhost.localdomain...
hi folks,
I have some artifacts that I created in M0 and would like to get
the structure from M0 to M1 (not the SCM artifacts). I am getting a null
pointer exception when I run the repotool from M1 location. Any ideas ?
------------------------
D:\jazz\server>repotools -import
teamserver.properties=./teamserver.properties username=ADMIN
password=ADMIN fromFile=C:/jazz/server/export.tar
Repo Tools, Version 0.6.0.I20070531-1935
Loading configuration from file:./teamserver.properties
Connection spec: DERBY:db
Importing data from the file "C:/jazz/server/export.tar" into the database
"db"
Import will begin in 15000 milliseconds...
Connection successful: Apache Derby(10.2.1.6 - (452058))
DB name/location: db
The scheduler service is disabled
E-mail notification is disabled, see the Server Setup Guide for details on
enabl
ing it.
The user ADMIN has logged in to the database db
Begin importing contents from C:/jazz/server/export.tar into the
repository
The user ADMIN has logged out of the database db
java.lang.NullPointerException
at
com.ibm.team.repository.service.db.provider.AbstractDbProvider.getCre
ateIndexStatements(AbstractDbProvider.java:75)
at
com.ibm.team.repository.service.internal.rdb.PluggableJdbcDbBuilder.c
------------------------------------------
Regards,
Kartik