{"action":"created","issue":{"url":"https://api.github.com/repos/moqui/mantle/issues/75","labels_url":"https://api.github.com/repos/moqui/mantle/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/moqui/mantle/issues/75/comments","events_url":"https://api.github.com/repos/moqui/mantle/issues/75/events","html_url":"https://github.com/moqui/mantle/issues/75","id":113134004,"number":75,"title":"Failing test on local machine?","user":{"login":"samhamilton","id":415410,"avatar_url":"https://avatars.githubusercontent.com/u/415410?v=3","gravatar_id":"","url":"https://api.github.com/users/samhamilton","html_url":"https://github.com/samhamilton","followers_url":"https://api.github.com/users/samhamilton/followers","following_url":"https://api.github.com/users/samhamilton/following{/other_user}","gists_url":"https://api.github.com/users/samhamilton/gists{/gist_id}","starred_url":"https://api.github.com/users/samhamilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhamilton/subscriptions","organizations_url":"https://api.github.com/users/samhamilton/orgs","repos_url":"https://api.github.com/users/samhamilton/repos","events_url":"https://api.github.com/users/samhamilton/events{/privacy}","received_events_url":"https://api.github.com/users/samhamilton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-24T03:57:26Z","updated_at":"2015-11-25T04:49:53Z","closed_at":"2015-11-25T04:49:53Z","body":"Hi David, \r\n\r\nI am getting a failing test when working with a fresh copy of Moqui and Mantle e.g. no changes at all. \r\n\r\nI have looked at the Travis builds and can't see it failing there and the only difference I have is that Travis is running Java 7 and my local machine is running Java 8?\r\n\r\nThanks\r\nSam\r\n\r\n```\r\nRunning test: Test depreciate Fixed Assets(OrderProcureToPayBasicFlow)\r\n\r\nOrderProcureToPayBasicFlow > depreciate Fixed Assets STANDARD_OUT\r\n    --- 35466    [    Test worker] INFO   org.moqui.impl.context.LoggerFacadeImpl\r\n     Calculating and posting depreciation for organizations: [ORG_ZIZI_RETAIL], assets: [55402, 55403]\r\n    --- 35724    [    Test worker] WARN  moqui.impl.context.TransactionFacadeImpl\r\n     Transaction set rollback only. The rollback was originally caused by: Error running service [mantle.party.TimeServices.create#TimePeriod] (message): Existing Fiscal Month Time Period found for Party [ORG_ZIZI_RETAIL] starting on 2015-10-01\r\n\r\n    --- 35727    [    Test worker] WARN  moqui.impl.context.TransactionFacadeImpl\r\n     Transaction set rollback only for [Error running service [mantle.party.TimeServices.create#TimePeriod] (message): Existing Fiscal Month Time Period found for Party [ORG_ZIZI_RETAIL] starting on 2015-10-01\r\n    ]. Here is the current location:\r\n    org.moqui.BaseException: Set rollback only location\r\n    \tat org.moqui.impl.context.TransactionFacadeImpl.setRollbackOnly(TransactionFacadeImpl.groovy:457)\r\n    \tat org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:414)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:271)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat mantle_ledger_LedgerServices_get_OrganizationFiscalTimePeriods.run(mantle_ledger_LedgerServices_get_OrganizationFiscalTimePeriods:40)\r\n    \tat org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:99)\r\n    \tat org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:260)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat mantle_ledger_LedgerServices_post_AcctgTrans.run(mantle_ledger_LedgerServices_post_AcctgTrans:102)\r\n    \tat org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:99)\r\n    \tat org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:260)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat mantle_ledger_AssetAutoPostServices_post_FixedAssetDepreciation.run(mantle_ledger_AssetAutoPostServices_post_FixedAssetDepreciation:180)\r\n    \tat org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:99)\r\n    \tat org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:260)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat mantle_ledger_AssetAutoPostServices_calculateAndPost_FixedAssetDepreciation.run(mantle_ledger_AssetAutoPostServices_calculateAndPost_FixedAssetDepreciation:42)\r\n    \tat org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:99)\r\n    \tat org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:260)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat mantle_ledger_AssetAutoPostServices_calculateAndPost_AllFixedAssetDepreciations.run(mantle_ledger_AssetAutoPostServices_calculateAndPost_AllFixedAssetDepreciations:49)\r\n    \tat org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:99)\r\n    \tat org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:260)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat OrderProcureToPayBasicFlow.$spock_feature_0_13(OrderProcureToPayBasicFlow.groovy:704)\r\n    \tat org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:153)\r\n    \tat org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:84)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:405)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:324)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)\r\n    \tat org.spockframework.runtime.Sputnik.run(Sputnik.java:63)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)\r\n    \tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n    \tat org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)\r\n    \tat org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)\r\n    \tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n    \tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n    \tat org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)\r\n    \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n    \tat org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\n    \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n    \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n    \tat java.lang.Thread.run(Thread.java:745)\r\n    --- 35761    [    Test worker] WARN  moqui.impl.context.TransactionFacadeImpl\r\n     Transaction rollback. The rollback was originally caused by: Error running service [mantle.ledger.AssetAutoPostServices.calculateAndPost#AllFixedAssetDepreciations] (message): Existing Fiscal Month Time Period found for Party [ORG_ZIZI_RETAIL] starting on 2015-10-01\r\n\r\n    --- 35773    [    Test worker] WARN  moqui.impl.context.TransactionFacadeImpl\r\n     Transaction rollback for [Error running service [mantle.ledger.AssetAutoPostServices.calculateAndPost#AllFixedAssetDepreciations] (message): Existing Fiscal Month Time Period found for Party [ORG_ZIZI_RETAIL] starting on 2015-10-01\r\n    ]. Here is the current location:\r\n    org.moqui.BaseException: Rollback location\r\n    \tat org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:429)\r\n    \tat org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:412)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:271)\r\n    \tat org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:137)\r\n    \tat OrderProcureToPayBasicFlow.$spock_feature_0_13(OrderProcureToPayBasicFlow.groovy:704)\r\n    \tat org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:153)\r\n    \tat org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:84)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:405)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:324)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:309)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:288)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:278)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:269)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:263)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:246)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:238)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:188)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:98)\r\n    \tat org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:84)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:480)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:463)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:76)\r\n    \tat org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:67)\r\n    \tat org.spockframework.runtime.Sputnik.run(Sputnik.java:63)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)\r\n    \tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)\r\n    \tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n    \tat org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)\r\n    \tat org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)\r\n    \tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n    \tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\r\n    \tat org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n    \tat org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)\r\n    \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n    \tat org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\n    \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n    \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n    \tat java.lang.Thread.run(Thread.java:745)\r\n    --- 35934    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Checked 44 fields\r\n    --- 35935    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Field [mantle.product.asset.Asset.depreciation] did not match; check (file) value [283.33], db value [null] for primary key [[assetId:55402]]\r\n    --- 35938    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.product.asset.AssetDepreciation] record not found for primary key [[timePeriodId:55100, assetId:55402]]\r\n    --- 35938    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTrans] record not found for primary key [[acctgTransId:55407]]\r\n    --- 35939    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTransEntry] record not found for primary key [[acctgTransEntrySeqId:01, acctgTransId:55407]]\r\n    --- 35940    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTransEntry] record not found for primary key [[acctgTransEntrySeqId:02, acctgTransId:55407]]\r\n    --- 35941    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.product.asset.AssetDepreciation] record not found for primary key [[timePeriodId:55100, assetId:55403]]\r\n    --- 35942    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTrans] record not found for primary key [[acctgTransId:55408]]\r\n    --- 35943    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTransEntry] record not found for primary key [[acctgTransEntrySeqId:01, acctgTransId:55408]]\r\n    --- 35944    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.transaction.AcctgTransEntry] record not found for primary key [[acctgTransEntrySeqId:02, acctgTransId:55408]]\r\n    --- 35945    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.account.GlAccountOrgTimePeriod] record not found for primary key [[glAccountId:182000000, timePeriodId:55100, organizationPartyId:ORG_ZIZI_RETAIL]]\r\n    --- 35945    [    Test worker] INFO                OrderProcureToPayBasicFlow\r\n     Entity [mantle.ledger.account.GlAccountOrgTimePeriod] record not found for primary key [[glAccountId:672000000, timePeriodId:55100, organizationPartyId:ORG_ZIZI_RETAIL]]\r\n    --- 35951    [    Test worker] WARN                OrderProcureToPayBasicFlow\r\n     Existing Fiscal Month Time Period found for Party [ORG_ZIZI_RETAIL] starting on 2015-10-01\r\n\r\n\r\nOrderProcureToPayBasicFlow > depreciate Fixed Assets FAILED\r\n    java.lang.NoClassDefFoundError\r\n```"},"comment":{"url":"https://api.github.com/repos/moqui/mantle/issues/comments/159491316","html_url":"https://github.com/moqui/mantle/issues/75#issuecomment-159491316","issue_url":"https://api.github.com/repos/moqui/mantle/issues/75","id":159491316,"user":{"login":"samhamilton","id":415410,"avatar_url":"https://avatars.githubusercontent.com/u/415410?v=3","gravatar_id":"","url":"https://api.github.com/users/samhamilton","html_url":"https://github.com/samhamilton","followers_url":"https://api.github.com/users/samhamilton/followers","following_url":"https://api.github.com/users/samhamilton/following{/other_user}","gists_url":"https://api.github.com/users/samhamilton/gists{/gist_id}","starred_url":"https://api.github.com/users/samhamilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhamilton/subscriptions","organizations_url":"https://api.github.com/users/samhamilton/orgs","repos_url":"https://api.github.com/users/samhamilton/repos","events_url":"https://api.github.com/users/samhamilton/events{/privacy}","received_events_url":"https://api.github.com/users/samhamilton/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T04:49:53Z","updated_at":"2015-11-25T04:49:53Z","body":"Ok I have some weirdness going on with local, sorry about that David. "}}