Minilang error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Minilang error

Jacques Le Roux
Administrator
Hi Adrian,

Got this is local log with trunk HEAD (Revision: 1345660)

2012-06-03 14:25:06,765 (default-invoker-Thread-15) [       SequenceUtil.java:348:INFO ] Got bank of sequenced IDs for [JobSandbox];
curSeqId=10190, maxSeqId=10200, bankSize=10
2012-06-03 14:25:06,796 (default-invoker-Thread-15) [PersistedServiceJob.java:180:INFO ] Job  [Auto-create Fixed Asset Maintenances]
Id [10170] -- Next runtime: Sun Jun 03 15:25:06 CEST 2012
2012-06-03 14:25:06,875 (default-invoker-Thread-15) [     ServiceEcaRule.java:137:INFO ] For Service ECA [fixedAssetPermissionCheck]
on [return] got false for condition: [hasPermission][equals][false][true][B
oolean]
2012-06-03 14:25:06,875 (default-invoker-Thread-15) [  ServiceDispatcher.java:590:INFO ] Slow sync service execution detected:
service [default/fixedAssetPermissionCheck] finished in [79] milliseconds
2012-06-03 14:25:06,921 (default-invoker-Thread-15) [  ServiceDispatcher.java:510:INFO ] [[Sync service failed...- total:0.0,since
last(Begin):0.0]] - 'default / createMaintsFromTimeInterval'
2012-06-03 14:25:06,921 (default-invoker-Thread-15) [    TransactionUtil.java:387:WARN ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, status is STATUS_NO_TRANSACTION
2012-06-03 14:25:06,921 (default-invoker-Thread-15) [  GenericServiceJob.java:118:ERROR]
---- exception report ----------------------------------------------------------
Async-Service failed.
Exception: org.ofbiz.service.GenericServiceException
Message: Service [createMaintsFromTimeInterval] Failed (org/ofbiz/minilang/method/otherops/Calculate$NumberOp)
---- cause ---------------------------------------------------------------------
Exception: java.lang.NoClassDefFoundError
Message: org/ofbiz/minilang/method/otherops/Calculate$NumberOp
---- cause ---------------------------------------------------------------------
Exception: java.lang.ClassNotFoundException
Message: org.ofbiz.minilang.method.otherops.Calculate$NumberOp
---- stack trace ---------------------------------------------------------------
java.lang.ClassNotFoundException: org.ofbiz.minilang.method.otherops.Calculate$NumberOp
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
java.lang.ClassLoader.loadClass(ClassLoader.java:307)
java.lang.ClassLoader.loadClass(ClassLoader.java:248)
org.ofbiz.minilang.method.otherops.Calculate$CalcOp.<init>(Calculate.java:236)
org.ofbiz.minilang.method.otherops.Calculate.<init>(Calculate.java:79)
org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:330)
org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:328)
org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
org.ofbiz.minilang.method.envops.Loop.<init>(Loop.java:57)
org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:125)
org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:123)
org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
org.ofbiz.minilang.method.conditional.MasterIf.<init>(MasterIf.java:54)
org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:134)
org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:132)
org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
org.ofbiz.minilang.SimpleMethod.<init>(SimpleMethod.java:376)
org.ofbiz.minilang.SimpleMethod.compileAllSimpleMethods(SimpleMethod.java:114)
org.ofbiz.minilang.SimpleMethod.getAllSimpleMethods(SimpleMethod.java:145)
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:193)
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:185)
org.ofbiz.minilang.SimpleMethod.getSimpleMethod(SimpleMethod.java:164)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:268)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:291)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
java.lang.Thread.run(Thread.java:662)
--------------------------------------------------------------------------------

HTH

Jacques
Reply | Threaded
Open this post in threaded view
|

Re: Minilang error

Adrian Crum-3
I am unable to reproduce that error.

-Adrian

On 6/3/2012 1:31 PM, Jacques Le Roux wrote:

> Hi Adrian,
>
> Got this is local log with trunk HEAD (Revision: 1345660)
>
> 2012-06-03 14:25:06,765 (default-invoker-Thread-15) [      
> SequenceUtil.java:348:INFO ] Got bank of sequenced IDs for
> [JobSandbox]; curSeqId=10190, maxSeqId=10200, bankSize=10
> 2012-06-03 14:25:06,796 (default-invoker-Thread-15)
> [PersistedServiceJob.java:180:INFO ] Job  [Auto-create Fixed Asset
> Maintenances] Id [10170] -- Next runtime: Sun Jun 03 15:25:06 CEST 2012
> 2012-06-03 14:25:06,875 (default-invoker-Thread-15) [    
> ServiceEcaRule.java:137:INFO ] For Service ECA
> [fixedAssetPermissionCheck] on [return] got false for condition:
> [hasPermission][equals][false][true][B
> oolean]
> 2012-06-03 14:25:06,875 (default-invoker-Thread-15) [  
> ServiceDispatcher.java:590:INFO ] Slow sync service execution
> detected: service [default/fixedAssetPermissionCheck] finished in [79]
> milliseconds
> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [  
> ServiceDispatcher.java:510:INFO ] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'default /
> createMaintsFromTimeInterval'
> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [    
> TransactionUtil.java:387:WARN ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, status is STATUS_NO_TRANSACTION
> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [  
> GenericServiceJob.java:118:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Async-Service failed.
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [createMaintsFromTimeInterval] Failed
> (org/ofbiz/minilang/method/otherops/Calculate$NumberOp)
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.NoClassDefFoundError
> Message: org/ofbiz/minilang/method/otherops/Calculate$NumberOp
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.ClassNotFoundException
> Message: org.ofbiz.minilang.method.otherops.Calculate$NumberOp
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.ClassNotFoundException:
> org.ofbiz.minilang.method.otherops.Calculate$NumberOp
> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> java.security.AccessController.doPrivileged(Native Method)
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> org.ofbiz.minilang.method.otherops.Calculate$CalcOp.<init>(Calculate.java:236)
>
> org.ofbiz.minilang.method.otherops.Calculate.<init>(Calculate.java:79)
> org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:330)
>
> org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:328)
>
> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
> org.ofbiz.minilang.method.envops.Loop.<init>(Loop.java:57)
> org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:125)
>
> org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:123)
>
> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
> org.ofbiz.minilang.method.conditional.MasterIf.<init>(MasterIf.java:54)
> org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:134)
>
> org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:132)
>
> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
> org.ofbiz.minilang.SimpleMethod.<init>(SimpleMethod.java:376)
> org.ofbiz.minilang.SimpleMethod.compileAllSimpleMethods(SimpleMethod.java:114)
>
> org.ofbiz.minilang.SimpleMethod.getAllSimpleMethods(SimpleMethod.java:145)
>
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:193)
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:185)
> org.ofbiz.minilang.SimpleMethod.getSimpleMethod(SimpleMethod.java:164)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:268)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:291)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
>
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
> java.lang.Thread.run(Thread.java:662)
> --------------------------------------------------------------------------------
>
>
> HTH
>
> Jacques
Reply | Threaded
Open this post in threaded view
|

Re: Minilang error

Adam Heath-2
On 06/03/2012 04:48 PM, Adrian Crum wrote:
> I am unable to reproduce that error.

Someone didn't do a clean, which mean their build/lib/foo.jar wasn't
rebuilt, so it had an older META-INF/services that referenced a class
that had been removed.

Or something like that.

>
> -Adrian
>
> On 6/3/2012 1:31 PM, Jacques Le Roux wrote:
>> Hi Adrian,
>>
>> Got this is local log with trunk HEAD (Revision: 1345660)
>>
>> 2012-06-03 14:25:06,765 (default-invoker-Thread-15) [
>> SequenceUtil.java:348:INFO ] Got bank of sequenced IDs for
>> [JobSandbox]; curSeqId=10190, maxSeqId=10200, bankSize=10
>> 2012-06-03 14:25:06,796 (default-invoker-Thread-15)
>> [PersistedServiceJob.java:180:INFO ] Job [Auto-create Fixed Asset
>> Maintenances] Id [10170] -- Next runtime: Sun Jun 03 15:25:06 CEST 2012
>> 2012-06-03 14:25:06,875 (default-invoker-Thread-15) [
>> ServiceEcaRule.java:137:INFO ] For Service ECA
>> [fixedAssetPermissionCheck] on [return] got false for condition:
>> [hasPermission][equals][false][true][B
>> oolean]
>> 2012-06-03 14:25:06,875 (default-invoker-Thread-15) [
>> ServiceDispatcher.java:590:INFO ] Slow sync service execution
>> detected: service [default/fixedAssetPermissionCheck] finished in [79]
>> milliseconds
>> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [
>> ServiceDispatcher.java:510:INFO ] [[Sync service failed...-
>> total:0.0,since last(Begin):0.0]] - 'default /
>> createMaintsFromTimeInterval'
>> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [
>> TransactionUtil.java:387:WARN ] [TransactionUtil.setRollbackOnly]
>> transaction rollback only not set, status is STATUS_NO_TRANSACTION
>> 2012-06-03 14:25:06,921 (default-invoker-Thread-15) [
>> GenericServiceJob.java:118:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> Async-Service failed.
>> Exception: org.ofbiz.service.GenericServiceException
>> Message: Service [createMaintsFromTimeInterval] Failed
>> (org/ofbiz/minilang/method/otherops/Calculate$NumberOp)
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: java.lang.NoClassDefFoundError
>> Message: org/ofbiz/minilang/method/otherops/Calculate$NumberOp
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: java.lang.ClassNotFoundException
>> Message: org.ofbiz.minilang.method.otherops.Calculate$NumberOp
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.ClassNotFoundException:
>> org.ofbiz.minilang.method.otherops.Calculate$NumberOp
>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> java.security.AccessController.doPrivileged(Native Method)
>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> org.ofbiz.minilang.method.otherops.Calculate$CalcOp.<init>(Calculate.java:236)
>>
>> org.ofbiz.minilang.method.otherops.Calculate.<init>(Calculate.java:79)
>> org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:330)
>>
>> org.ofbiz.minilang.method.otherops.Calculate$CalculateFactory.createMethodOperation(Calculate.java:328)
>>
>> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
>> org.ofbiz.minilang.method.envops.Loop.<init>(Loop.java:57)
>> org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:125)
>>
>> org.ofbiz.minilang.method.envops.Loop$LoopFactory.createMethodOperation(Loop.java:123)
>>
>> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
>> org.ofbiz.minilang.method.conditional.MasterIf.<init>(MasterIf.java:54)
>> org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:134)
>>
>> org.ofbiz.minilang.method.conditional.MasterIf$MasterIfFactory.createMethodOperation(MasterIf.java:132)
>>
>> org.ofbiz.minilang.SimpleMethod.readOperations(SimpleMethod.java:234)
>> org.ofbiz.minilang.SimpleMethod.<init>(SimpleMethod.java:376)
>> org.ofbiz.minilang.SimpleMethod.compileAllSimpleMethods(SimpleMethod.java:114)
>>
>> org.ofbiz.minilang.SimpleMethod.getAllSimpleMethods(SimpleMethod.java:145)
>>
>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:193)
>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:185)
>> org.ofbiz.minilang.SimpleMethod.getSimpleMethod(SimpleMethod.java:164)
>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:268)
>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:291)
>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>
>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
>>
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:398)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
>> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
>> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
>> java.lang.Thread.run(Thread.java:662)
>> --------------------------------------------------------------------------------
>>
>>
>> HTH
>>
>> Jacques