ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: [ANNOUNCE] Ibator Version 1.2.1 Available
Date Wed, 07 Jan 2009 15:42:57 GMT
Yep - definitely a bug.  I'll get a fix checked in later today.

Jeff Butler

On Wed, Jan 7, 2009 at 2:29 AM, Emiliano Armellin <earmellin@ateikon.com> wrote:
> Hello,
>
> I'm trying the new standalone version and I've found that <daoGenerator>
> element is not 'optional' now, if I don't specify this element I get:
>
> java.lang.NullPointerException
>         at
> org.apache.ibatis.ibator.api.IntrospectedTable.calculateDAOImplementationPackage(IntrospectedTable.java:508)
>         at
> org.apache.ibatis.ibator.api.IntrospectedTable.initialize(IntrospectedTable.java:479)
>         at
> org.apache.ibatis.ibator.config.IbatorContext.generateFiles(IbatorContext.java:493)
>         at org.apache.ibatis.ibator.api.Ibator.generate(Ibator.java:219)
>         at
> org.apache.ibatis.ibator.ant.IbatorAntTask.execute(IbatorAntTask.java:145)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>         at
> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
>         at
> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
>         at
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>
> is it a bug?
>
>
> --
> Emiliano Armellin
>
>
>
>
>
>
>
>

Mime
View raw message