A new topic, 'loadData and throttled Exception', has been made on a board you 
are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=578.new#new

The text of the topic is shown below:

Maven 3.0-SNAPSHOT,
Trunk of liquibase (Jul 10), 
liquibase-maven-plugin 2.0-rc2-SNAPSHOT,


one of the loadData files has an error: two blank rows at the end of the file.

Early, liquibase did throw an exception in the log and is was easy to locate 
and fix error. 
Now it does produce a cryptic message without any chance to figure out what is 
the really reason.

Code:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.047s
[INFO] Finished at: Sat Jul 10 13:13:24 CEST 2010
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.liquibase:liquibase-maven-plugin:2.0-rc2-SNAPSHOT:updateSQL (generate-step) 
on project pim2: Execution generate-step of goal 
org.liquibase:liquibase-maven-plugin:2.0-rc2-SNAPSHOT:updateSQL failed: 1 -> 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.liquibase:liquibase-maven-plugin:2.0-rc2-SNAPSHOT:updateSQL (generate-step) 
on project pim2: Execution generate-step of goal 
org.liquibase:liquibase-maven-plugin:2.0-rc2-SNAPSHOT:updateSQL failed: 1
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:160)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:87)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:79)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:86)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:58)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:252)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:100)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:443)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:166)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
generate-step of goal 
org.liquibase:liquibase-maven-plugin:2.0-rc2-SNAPSHOT:updateSQL failed: 1
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:144)
        ... 19 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at 
liquibase.change.core.LoadDataChange.generateStatements(LoadDataChange.java:92)
        at liquibase.change.AbstractChange.warn(AbstractChange.java:77)
        at 
liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:75)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:39)
        at 
liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:130)
        at liquibase.Liquibase.update(Liquibase.java:106)
        at liquibase.Liquibase.update(Liquibase.java:136)
        at 
org.liquibase.maven.plugins.LiquibaseUpdateSQL.doUpdate(LiquibaseUpdateSQL.java:41)
        at 
org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo.performLiquibaseTask(AbstractLiquibaseUpdateMojo.java:24)
        at 
org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:288)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
        ... 20 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


should i file it as a bug?

Thanx, Oleg

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to