Results 1 to 5 of 5

Thread: NullPointerException when I run database reverse engineer --schema training

  1. #1

    Default NullPointerException when I run database reverse engineer --schema training

    Hi,

    I am getting NulllPointerException when I ran "database reverse engineer". Following are the steps I followed

    1) First I ran "persistence setup --provider HIBERNATE --database ORACLE"

    2) And I updated following properties in database.properties file

    database.password=XXXXXXXXX
    database.url=XXXXXXXX
    database.username=XXXXXXXX
    database.driverClassName=oracle.jdbc.OracleDriver

    3) And I ran database reverse engineer --schema training then its giving the following error

    NullPointerException at org.springframework.roo.obr.internal.ObrResourceFi nderImpl.getKnownResources(ObrResourceFinderImpl.j ava:68)

    Please help someone who faced this problem

  2. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    You will need to supply more detail. What version of Roo are you using? Did you install the drivers with the install-jdbc-drivers.roo script? Does your database.url allow you to connect to your db successfully with either junit tests or web access?
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3

    Default

    I am using roo1.1 version and my database url is working fine.

    what are extra things need to do for connecting oracle databse?

    If u any document for this one, pls sent to me to pavan4uus@yahoo.com

    Thanks,
    Pavan

  4. #4
    Join Date
    Dec 2005
    Posts
    929

    Default

    Did you run the install-jdbc-drivers.roo script? Also, are you behind a firewall or use a proxy server?
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  5. #5

    Default

    Thanks Alan....Its working now...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •