[Anthill-pro] Publish JUnit results step fails in 3.4.6
Ryan Smith
rws at urbancode.com
Tue Jan 8 13:12:19 CST 2008
Mladen,
It looks like it had a problem inserting the amount of time a test case took. It looks like we need to specify a larger numeric as the Derby default is only DECIMAL/NUMERIC(5,0). It seems any test taking more than 1.5 minutes could cause it to fail.
Is it possible for you to share the unit test results with us so we can verify our fix will work. If you can, please send them to support at urbancode.com.
Ryan Smith
Mladen Maravić wrote:
> Nope, this does nothing. Is it possible that somewhere during the
> 3.4.1->3.4.6 update some column wasn't altered? (Since I'm seeing Caused
> by: org.apache.derby.client.am.SqlException: The resulting value is
> outside the range for the data type DECIMAL/NUMERIC(5,0). in the log)
>
>
>
> Mladen
>
>
>
> *From:* anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Yanko,
> Curtis
> *Sent:* Tuesday, January 08, 2008 2:54 PM
> *To:* AnthillPro user and support list.
> *Subject:* RE: [Anthill-pro] Publish JUnit results step fails in 3.4.6
>
>
>
> Before anything, try bouncing that agent.
>
>
>
> ===
>
> -Curt
>
> W: 860.702.9059
>
> M: 860.881.2050
>
>
>
>
>
> ------------------------------------------------------------------------
>
> *From:* anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Mladen
> Maravic
> *Sent:* Tuesday, January 08, 2008 8:51 AM
> *To:* anthill-pro at lists.urbancode.com
> *Subject:* [Anthill-pro] Publish JUnit results step fails in 3.4.6
>
> In 3.4.6 a publish JUnit test step fails with the following exception:
>
>
>
> 2008-01-08 14:28:32,154 INFO 9973 6 - Beginning report publish step
>
> 2008-01-08 14:28:34,966 INFO 9973 6 - Reports publish step complete
>
> 2008-01-08 14:28:36,294 ERROR 9973 6 - Caught unexpected exception -
> com.urbancode.anthill3.domain.persistent.PersistenceException: Error
> storing object in database
>
> com.urbancode.anthill3.domain.persistent.PersistenceException: Error
> storing object in database
>
> at
> com.urbancode.anthill3.domain.test.TestCaseDaoSql.insert(TestCaseDaoSql.java:56)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkDefault.java:136)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:700)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:322)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:351)
>
> at
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:215)
>
> at
> com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
>
> at
> com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run(JobServiceDefault.java:409)
>
> at
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
>
> Caused by: org.apache.derby.client.am.SqlException: The resulting value
> is outside the range for the data type DECIMAL/NUMERIC(5,0).
>
> at
> org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
>
> at
> org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown
> Source)
>
> at
> org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
>
> at
> org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
>
> at
> org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown
> Source)
>
> at
> org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
>
> at
> org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
>
> at
> org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown Source)
>
> at
> org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown Source)
>
> at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
>
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
>
> at
> com.urbancode.anthill3.domain.test.TestCaseDaoSql.insert(TestCaseDaoSql.java:53)
>
> ... 8 more
>
> 2008-01-08 14:28:36,513 ERROR 9973 6 -
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> 2008-01-08 14:28:36,513 ERROR 9973 6 - Caught unexpected exception -
> java.lang.IllegalStateException:
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> java.lang.IllegalStateException:
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> at
> com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(AbstractPersistent.java:91)
>
> at
> com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assignIdentity(HiLoIdentityGenerator.java:62)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkDefault.java:127)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:700)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:322)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:351)
>
> at
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:215)
>
> at
> com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
>
> at
> com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run(JobServiceDefault.java:409)
>
> at
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
>
> 2008-01-08 14:28:36,528 ERROR 9973 6 -
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> 2008-01-08 14:28:36,560 ERROR 9973 6 - Caught unexpected exception -
> java.lang.IllegalStateException:
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> java.lang.IllegalStateException:
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> at
> com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(AbstractPersistent.java:91)
>
> at
> com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assignIdentity(HiLoIdentityGenerator.java:62)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkDefault.java:127)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:700)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:322)
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:351)
>
> at
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:215)
>
> at
> com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
>
> at
> com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run(JobServiceDefault.java:409)
>
> at
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
>
> 2008-01-08 14:28:36,560 ERROR 9973 6 -
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> java.lang.IllegalStateException:
> com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot be
> changed once set
>
> at
> com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(AbstractPersistent.java:91)
>
> at
> com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assignIdentity(HiLoIdentityGenerator.java:62)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkDefault.java:127)
>
> at
> com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:700)
>
> at
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:241)
>
> at
> com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
>
> at
> com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run(JobServiceDefault.java:409)
>
> at
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
>
> 2008-01-08 14:28:36,591 INFO 9973 6 - Job 9973 released working
> directory
> D:\anthill-agent\var\jobs\projects\PBZ365_06_RetailServices\dev_nightly
> on agent agent01
>
>
>
>
>
>
>
> svgroup_mail
>
> MLADEN MARAVIĆ
>
> V. RAVNICE 15, HR-10000 ZAGREB, CROATIA
>
> *PHONE:* +385 1 2958 747
>
> *FAX:* +385 1 2989 324
>
> *GSM:* +385 91 3841 397
>
> mladen.maravic at svgroup.hr <mailto:mladen.maravic at svgroup.hr>
>
> www.svgroup.hr <http://www.svgroup.hr/>
>
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
--
===========================================================
Ryan Smith. 2044 Euclid Ave., Suite 600
Lead Developer Cleveland, Ohio 44115
Urbancode, Inc.
email: rws at urbancode.com
web: www.urbancode.com phone: 216-858-9000
web: www.anthillpro.com fax: 216-858-9602
===========================================================
More information about the Anthill-pro
mailing list