You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2013/11/06 21:27:18 UTC

[jira] [Resolved] (TORQUE-303) Unknown datatype in generation of schema from database causes NPE

     [ https://issues.apache.org/jira/browse/TORQUE-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox resolved TORQUE-303.
-------------------------------

    Resolution: Fixed

> Unknown datatype in generation of schema from database causes NPE
> -----------------------------------------------------------------
>
>                 Key: TORQUE-303
>                 URL: https://issues.apache.org/jira/browse/TORQUE-303
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 4.0
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.1
>
>
> When database schema information is read by the generator from the database and an unknown datatype is encountered, a NullPointerException occurs:
> java.lang.NullPointerException
> at org.apache.torque.generator.source.jdbc.JdbcMetadataSource.createRootElement(JdbcMetadataSource.java:215)
> at org.apache.torque.generator.source.SourceImpl.getRootElement(SourceImpl.java:48)
> at org.apache.torque.generator.control.Controller.processSourceInOutput(Controller.java:256)
> In such cases, type information should be omitted from the generated schema to indicate that the type is unknown.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org