openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: [jira] Commented: (OPENJPA-555) MappingTool got NullPointerException in DB2Dictionary.isDB2ZOSV8xOrLater()
Date Thu, 03 Apr 2008 15:16:57 GMT
Catalina,
Okay, that helps explain the situation.  Let's update the 555 Issue with
this additional information and make 555 a sub-task of the 549 Issue.  That
will help clear up the confusion.

Thanks!
Kevin

On Thu, Apr 3, 2008 at 10:04 AM, catalina wei <catalina.wei@gmail.com>
wrote:

> Albert,
> Yes, but Kevin brought up a question, when DB2Dictionary has not been
> initialized what should be  the default DB2 product version.
>
> So, I only fixed null pointer exception avoidance in this issue.
>
> The default DB2 product setting and resolving the the issue of
> creatIndexIfNecessary reqires extensive testing, thus the fix is not yet
> provided.
>
> Catalina
>
> On 4/3/08, Albert Lee (JIRA) <jira@apache.org> wrote:
> >
> >
> >     [
> >
> https://issues.apache.org/jira/browse/OPENJPA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585126#action_12585126
> ]
> >
> > Albert Lee commented on OPENJPA-555:
> > ------------------------------------
> >
> > This looks like the same problem reported in OPENJPA-549.
> >
> > Albert Lee.
> >
> >
> > > MappingTool got NullPointerException in
> > DB2Dictionary.isDB2ZOSV8xOrLater()
> > >
> >
> --------------------------------------------------------------------------
> > >
> > >                 Key: OPENJPA-555
> > >                 URL: https://issues.apache.org/jira/browse/OPENJPA-555
> > >             Project: OpenJPA
> > >          Issue Type: Bug
> > >          Components: jdbc
> > >            Reporter: Catalina Wei
> > >            Assignee: Catalina Wei
> > >             Fix For: 1.0.3, 1.1.0
> > >
> > >
> > > 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.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message