openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <>
Subject [jira] Created: (OPENJPA-761) SchemaTool failed with a NPE in ForeignKey.join
Date Tue, 04 Nov 2008 18:02:44 GMT
SchemaTool failed with a NPE in ForeignKey.join

                 Key: OPENJPA-761
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 1.0.4, 1.1.1, 1.2.1, 1.3.0, 2.0.0
            Reporter: Albert Lee
            Assignee: Albert Lee
            Priority: Minor
             Fix For: 1.3.0, 2.0.0

A test used the SchemaTool to reflect "all" schema in a Oracle DB but run in a NPE as observed

     [exec] 131  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class "".
     [exec] 1127  INFO   [main] openjpa.Tool - Reflecting on schemas "all".  This process
may take some time.  Enable the org.apache.openjpa.jdbc.Schema logging category to see messages
about the collection of schema data.
     [exec] Exception in thread "main" java.lang.NullPointerException
     [exec] 	at org.apache.openjpa.jdbc.schema.ForeignKey.join(
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaGenerator.generateForeignKeys(
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaGenerator.generateForeignKeys(
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaGenerator.generateSchemas(
     [exec] 	at
     [exec] 	at
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaTool$
     [exec] 	at org.apache.openjpa.lib.conf.Configurations.launchRunnable(
     [exec] 	at org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(
     [exec] 	at org.apache.openjpa.jdbc.schema.SchemaTool.main(

Albert Lee

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message