Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.3, 1.1.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      MappingTool got NullPointerException in DB2Dictionary.isDB2ZOSV8xOrLater()
      As reported by Amy :
      java.lang.NullPointerException
      at
      org.apache.openjpa.jdbc.sql.DB2Dictionary.isDB2ZOSV8xOrLater(DB2Dictionary.java:392)

      at
      org.apache.openjpa.jdbc.sql.DB2Dictionary.createIndexIfNecessary(DB2Dictionary.java:784)

      at
      org.apache.openjpa.jdbc.kernel.TableJDBCSeq.addSchema(TableJDBCSeq.java:244)

      at
      org.apache.openjpa.jdbc.meta.MappingTool.addSequenceComponents(MappingTool.java:609)

      at
      org.apache.openjpa.jdbc.meta.MappingTool.addSequenceComponents(MappingTool.java:591)

      at
      org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:477)
      at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:1075)
      at
      org.apache.openjpa.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:197)

      at
      org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:172)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)

      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

      at org.apache.tools.ant.Task.perform(Task.java:364)

      The scenario is using the ant task of MappingTool to build schema
      for some JDO classes.

        Activity

        Catalina Wei created issue -
        Catalina Wei made changes -
        Field Original Value New Value
        Parent OPENJPA-549 [ 12392767 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Patrick Linskey made changes -
        Fix Version/s 1.1.0 [ 12312344 ]
        Michael Dick made changes -
        Fix Version/s 1.2.0 [ 12313102 ]
        Fix Version/s 1.0.4 [ 12313301 ]
        Fix Version/s 1.0.3 [ 12312969 ]
        Michael Dick made changes -
        Fix Version/s 1.2.0 [ 12313102 ]
        Fix Version/s 1.0.4 [ 12313301 ]
        Fix Version/s 1.0.3 [ 12312969 ]
        Fix Version/s 1.1.0 [ 12312344 ]
        Michael Dick made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Catalina Wei
            Reporter:
            Catalina Wei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development