It's all about the answers!

Ask a question

repotool


Kartik Kanakasabesan (20112) | asked Jun 05 '07, 4:22 p.m.
JAZZ DEVELOPER
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

One answer



permanent link
Balaji Krish (1.8k12) | answered Jun 05 '07, 5:03 p.m.
JAZZ DEVELOPER
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...
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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.