Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

repotool

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

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 05 '07, 4:22 p.m.

Question was seen: 7,935 times

Last updated: Jun 05 '07, 4:22 p.m.

Confirmation Cancel Confirm