[ 
https://issues.apache.org/jira/browse/OFBIZ-13155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reopened OFBIZ-13155:
-------------------------------------

Here the error stack for testSendOrderConfirmation

2024-10-21 18:30:48,405 |main                 |ServiceDispatcher             
|T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 
'test-dispatcher-BwGo6DM4DS / sendMailFromScreen'
2024-10-21 18:30:48,406 |main                 |TransactionUtil               
|W| Calling transaction setRollbackOnly; this stack trace shows where this is 
happening:
java.lang.Exception: Service [sendMailFromScreen] threw an unexpected 
exception/error
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:372)
 [main/:?]
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:306)
 [main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:556) 
[main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:244) 
[main/:?]
        at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]
        at 
org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2858)
 [main/:?]
        at 
org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2679)
 [main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:429) 
[main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:244) 
[main/:?]
        at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]
        at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) 
[groovy-4.0.22.jar:4.0.22]
        at 
org.apache.ofbiz.ecommerce.order.test.OrderNotificationTests.testSendOrderConfirmation(OrderNotificationTests.groovy:36)
 [main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at junit.framework.TestCase.runTest(TestCase.java:177) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestCase.runBare(TestCase.java:142) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult$1.protect(TestResult.java:122) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult.runProtected(TestResult.java:142) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult.run(TestResult.java:125) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestCase.run(TestCase.java:130) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.runTest(TestSuite.java:241) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.run(TestSuite.java:236) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.runTest(TestSuite.java:241) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.run(TestSuite.java:236) 
[junit-4.13.2.jar:4.13.2]
        at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90) 
[main/:?]
        at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
 [main/:?]
        at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77) 
[main/:?]
        at 
org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
 [main/:?]
        at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
 [main/:?]
        at org.apache.ofbiz.base.start.Start.main(Start.java:89) [main/:?]
2024-10-21 18:30:48,409 |main                 |OrderServices                 
|E| null
org.apache.ofbiz.service.GenericServiceException: Service [sendMailFromScreen] 
target threw an unexpected exception 
(org/apache/avalon/framework/configuration/ConfigurationException)
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:118)
 ~[main/:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 ~[main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:429) 
~[main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:244) 
~[main/:?]
        at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 ~[main/:?]
        at 
org.apache.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2858)
 [main/:?]
        at 
org.apache.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2679)
 [main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:429) 
[main/:?]
        at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:244) 
[main/:?]
        at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]
        at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) 
[groovy-4.0.22.jar:4.0.22]
        at 
org.apache.ofbiz.ecommerce.order.test.OrderNotificationTests.testSendOrderConfirmation(OrderNotificationTests.groovy:36)
 [main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at junit.framework.TestCase.runTest(TestCase.java:177) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestCase.runBare(TestCase.java:142) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult$1.protect(TestResult.java:122) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult.runProtected(TestResult.java:142) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestResult.run(TestResult.java:125) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestCase.run(TestCase.java:130) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.runTest(TestSuite.java:241) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.run(TestSuite.java:236) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.runTest(TestSuite.java:241) 
[junit-4.13.2.jar:4.13.2]
        at junit.framework.TestSuite.run(TestSuite.java:236) 
[junit-4.13.2.jar:4.13.2]
        at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90) 
[main/:?]
        at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
 [main/:?]
        at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77) 
[main/:?]
        at 
org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
 [main/:?]
        at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
 [main/:?]
        at org.apache.ofbiz.base.start.Start.main(Start.java:89) [main/:?]
Caused by: java.lang.NoClassDefFoundError: 
org/apache/avalon/framework/configuration/ConfigurationException
        at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:3373) 
~[?:?]
        at java.lang.Class.getConstructor0(Class.java:3578) ~[?:?]
        at java.lang.Class.getDeclaredConstructor(Class.java:2754) ~[?:?]
        at org.apache.xmlgraphics.util.Service.providers(Service.java:86) 
~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.discoverClasspathImplementations(ImageImplRegistry.java:102)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:78)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:86)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.newInstance(ImageImplRegistry.java:94)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.ImageManager.<init>(ImageManager.java:64) 
~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.fop.apps.FopFactoryBuilder$FopFactoryConfigImpl.<init>(FopFactoryBuilder.java:434)
 ~[fop-core-2.10.jar:2.10]
        at 
org.apache.fop.apps.FopFactoryBuilder.<init>(FopFactoryBuilder.java:91) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:161) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:95) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:148) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:121) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:137) 
~[fop-core-2.10.jar:2.10]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.getFactoryInstance(ApacheFopWorker.java:108)
 ~[main/:?]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.createFopInstance(ApacheFopWorker.java:203)
 ~[main/:?]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.createFopInstance(ApacheFopWorker.java:188)
 ~[main/:?]
        at 
org.apache.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:582)
 ~[main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 ~[main/:?]
        ... 37 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.avalon.framework.configuration.ConfigurationException
        at 
jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) 
~[?:?]
        at 
jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
 ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:3373) 
~[?:?]
        at java.lang.Class.getConstructor0(Class.java:3578) ~[?:?]
        at java.lang.Class.getDeclaredConstructor(Class.java:2754) ~[?:?]
        at org.apache.xmlgraphics.util.Service.providers(Service.java:86) 
~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.discoverClasspathImplementations(ImageImplRegistry.java:102)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:78)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.<init>(ImageImplRegistry.java:86)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry.newInstance(ImageImplRegistry.java:94)
 ~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.xmlgraphics.image.loader.ImageManager.<init>(ImageManager.java:64) 
~[xmlgraphics-commons-2.10.jar:2.10]
        at 
org.apache.fop.apps.FopFactoryBuilder$FopFactoryConfigImpl.<init>(FopFactoryBuilder.java:434)
 ~[fop-core-2.10.jar:2.10]
        at 
org.apache.fop.apps.FopFactoryBuilder.<init>(FopFactoryBuilder.java:91) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:161) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:95) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:148) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopConfParser.<init>(FopConfParser.java:121) 
~[fop-core-2.10.jar:2.10]
        at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:137) 
~[fop-core-2.10.jar:2.10]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.getFactoryInstance(ApacheFopWorker.java:108)
 ~[main/:?]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.createFopInstance(ApacheFopWorker.java:203)
 ~[main/:?]
        at 
org.apache.ofbiz.webapp.view.ApacheFopWorker.createFopInstance(ApacheFopWorker.java:188)
 ~[main/:?]
        at 
org.apache.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:582)
 ~[main/:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 ~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 ~[main/:?]
        ... 37 more

> Update to Apache Tika 3.0.0
> ---------------------------
>
>                 Key: OFBIZ-13155
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13155
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: content, framework/security, framework/widget
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> Follows [https://lists.apache.org/thread/wz7ds83q39t74n5lloy87m504m9r7gs9]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to