Any ideas what might be causing this error (after order creation) in trunk ?

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

Any ideas what might be causing this error (after order creation) in trunk ?

Bilgin Ibryam
[Error] :2:12: cvc-elt.1: Cannot find the declaration of element 'ofbiz-ser'.
     [java] 2007-11-28 16:02:05,221 (default-invoker-Thread-7) [      ScreenFactory.java:118:INFO ] Got 7 screens in 0.015s from: file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/EmailOrderScreens.xml
     [java] 2007-11-28 16:02:05,365 (default-invoker-Thread-7) [      ScreenFactory.java:118:INFO ] Got 34 screens in 0.025s from: file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/OrderScreens.xml
     [java] 2007-11-28 16:02:05,655 (default-invoker-Thread-7) [      ScreenFactory.java:118:INFO ] Got 17 screens in 0.015s from: file:/home/bibryam/workspace/ofbiz-trunk/framework/common/widget/CommonScreens.xml
     [java] 2007-11-28 16:02:05,675 (default-invoker-Thread-7) [      ScreenFactory.java:118:INFO ] Got 4 screens in 0.014s from: file:/home/bibryam/workspace/ofbiz-trunk/applications/order/widget/ordermgr/OrderPrintScreens.xml
     [java] 2007-11-28 16:02:05,761 (default-invoker-Thread-7) [      ContentUrlTag.java:43 :WARN ] WARNING: request was null in appendContentPrefix; this probably means this was used where it shouldn't be, like using ofbizContentUrl in a screen rendered through a service; using best-bet behavior: standard prefix from url.properties (no WebSite or security setting known)
     [java] [Fatal Error] :4:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] 2007-11-28 16:02:05,838 (default-invoker-Thread-7) [  ServiceDispatcher.java:513:ERROR] Error in Service [sendMailFromScreen]: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] 2007-11-28 16:02:05,839 (default-invoker-Thread-7) [    TransactionUtil.java:298:WARN ]
     [java] ---- exception report ----------------------------------------------------------
     [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
     [java] Exception: java.lang.Exception
     [java] Message: Error in Service [sendMailFromScreen]: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] ---- stack trace ---------------------------------------------------------------
     [java] java.lang.Exception: Error in Service [sendMailFromScreen]: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:298)
     [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:245)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
     [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
     [java] org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2308)
     [java] org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2158)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] java.lang.reflect.Method.invoke(Method.java:585)
     [java] org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
     [java] org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:374)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
     [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
     [java] org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
     [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
     [java] java.lang.Thread.run(Thread.java:595)
     [java] --------------------------------------------------------------------------------
     [java] 2007-11-28 16:02:05,841 (default-invoker-Thread-7) [  ServiceDispatcher.java:513:ERROR] Error in Service [sendOrderConfirmation]: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] 2007-11-28 16:02:05,842 (default-invoker-Thread-7) [    TransactionUtil.java:262:ERROR]
     [java] ---- exception report ----------------------------------------------------------
     [java] [TransactionUtil.rollback]
     [java] Exception: java.lang.Exception
     [java] Message: Stack Trace
     [java] ---- stack trace ---------------------------------------------------------------
     [java] java.lang.Exception: Stack Trace
     [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:261)
     [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:243)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
     [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
     [java] org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
     [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
     [java] java.lang.Thread.run(Thread.java:595)
     [java] --------------------------------------------------------------------------------
     [java] 2007-11-28 16:02:05,843 (default-invoker-Thread-7) [    TransactionUtil.java:272:INFO ] [TransactionUtil.rollback] transaction rolled back
     [java] 2007-11-28 16:02:05,844 (default-invoker-Thread-7) [  GenericServiceJob.java:116:ERROR]
     [java] ---- exception report ----------------------------------------------------------
     [java] Async-Service failed.
     [java] Exception: java.lang.Exception
     [java] Message: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] ---- stack trace ---------------------------------------------------------------
     [java] java.lang.Exception: FOP transform failed: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
     [java] org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75)
     [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
     [java] java.lang.Thread.run(Thread.java:595)
     [java] --------------------------------------------------------------------------------
     [java] 2007-11-28 16:02:05,851 (default-invoker-Thread-7) [PersistedServiceJob.java:203:INFO ] Persisted Job [10011] Failed Re-Scheduling : 1196258705847
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

Vince Clark
I am seeing this too, but it doesn't seem to be related to orders. I noticed it after I setup synchronization and created a recurrence rule. It seems to be related to scheduled services. You will see <ofbiz-ser> tags in scheduled services xml files such as EntityScheduledServices.xml.

It is annoying in the console but doesn't seem to be creating any real problems. At least not for what I'm working on.

----- Original Message -----
From: "Bilgin Ibryam" <[hidden email]>
To: [hidden email]
Sent: Wednesday, November 28, 2007 7:10:27 AM (GMT-0700) America/Denver
Subject: Any ideas what might be causing this error (after order creation) in trunk ?


[Error] :2:12: cvc-elt.1: Cannot find the declaration of element 'ofbiz-ser'.
[java] 2007-11-28 16:02:05,221 (default-invoker-Thread-7) [
ScreenFactory.java:118:INFO ] Got 7 screens in 0.015s from:
file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/EmailOrderScreens.xml
[java] 2007-11-28 16:02:05,365 (default-invoker-Thread-7) [
ScreenFactory.java:118:INFO ] Got 34 screens in 0.025s from:
file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/OrderScreens.xml
[java] 2007-11-28 16:02:05,655 (default-invoker-Thread-7) [
ScreenFactory.java:118:INFO ] Got 17 screens in 0.015s from:
file:/home/bibryam/workspace/ofbiz-trunk/framework/common/widget/CommonScreens.xml
[java] 2007-11-28 16:02:05,675 (default-invoker-Thread-7) [
ScreenFactory.java:118:INFO ] Got 4 screens in 0.014s from:
file:/home/bibryam/workspace/ofbiz-trunk/applications/order/widget/ordermgr/OrderPrintScreens.xml
[java] 2007-11-28 16:02:05,761 (default-invoker-Thread-7) [
ContentUrlTag.java:43 :WARN ] WARNING: request was null in
appendContentPrefix; this probably means this was used where it shouldn't
be, like using ofbizContentUrl in a screen rendered through a service; using
best-bet behavior: standard prefix from url.properties (no WebSite or
security setting known)
[java] [Fatal Error] :4:6: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
[java] 2007-11-28 16:02:05,838 (default-invoker-Thread-7) [
ServiceDispatcher.java:513:ERROR] Error in Service [sendMailFromScreen]: FOP
transform failed: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
[java] 2007-11-28 16:02:05,839 (default-invoker-Thread-7) [
TransactionUtil.java:298:WARN ]
[java] ---- exception report
----------------------------------------------------------
[java] [TransactionUtil.setRollbackOnly] Calling transaction
setRollbackOnly; this stack trace shows where this is happening:
[java] Exception: java.lang.Exception
[java] Message: Error in Service [sendMailFromScreen]: FOP transform
failed: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
[java] ---- stack trace
---------------------------------------------------------------
[java] java.lang.Exception: Error in Service [sendMailFromScreen]: FOP
transform failed: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
[java]
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:298)
[java]
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:245)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
[java]
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
[java]
org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2308)
[java]
org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2158)
[java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java]
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java]
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] java.lang.reflect.Method.invoke(Method.java:585)
[java]
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
[java]
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:374)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
[java]
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
[java]
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
[java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
[java] java.lang.Thread.run(Thread.java:595)
[java]
--------------------------------------------------------------------------------
[java] 2007-11-28 16:02:05,841 (default-invoker-Thread-7) [
ServiceDispatcher.java:513:ERROR] Error in Service [sendOrderConfirmation]:
FOP transform failed: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
[java] 2007-11-28 16:02:05,842 (default-invoker-Thread-7) [
TransactionUtil.java:262:ERROR]
[java] ---- exception report
----------------------------------------------------------
[java] [TransactionUtil.rollback]
[java] Exception: java.lang.Exception
[java] Message: Stack Trace
[java] ---- stack trace
---------------------------------------------------------------
[java] java.lang.Exception: Stack Trace
[java]
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:261)
[java]
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:243)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
[java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
[java]
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
[java]
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
[java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
[java] java.lang.Thread.run(Thread.java:595)
[java]
--------------------------------------------------------------------------------
[java] 2007-11-28 16:02:05,843 (default-invoker-Thread-7) [
TransactionUtil.java:272:INFO ] [TransactionUtil.rollback] transaction
rolled back
[java] 2007-11-28 16:02:05,844 (default-invoker-Thread-7) [
GenericServiceJob.java:116:ERROR]
[java] ---- exception report
----------------------------------------------------------
[java] Async-Service failed.
[java] Exception: java.lang.Exception
[java] Message: FOP transform failed:
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The
processing instruction target matching "[xX][mM][lL]" is not allowed.
[java] ---- stack trace
---------------------------------------------------------------
[java] java.lang.Exception: FOP transform failed:
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The
processing instruction target matching "[xX][mM][lL]" is not allowed.
[java]
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75)
[java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
[java] java.lang.Thread.run(Thread.java:595)
[java]
--------------------------------------------------------------------------------
[java] 2007-11-28 16:02:05,851 (default-invoker-Thread-7)
[PersistedServiceJob.java:203:INFO ] Persisted Job [10011] Failed
Re-Scheduling : 1196258705847

--
View this message in context: http://www.nabble.com/Any-ideas-what-might-be-causing-this-error-%28after-order-creation%29-in-trunk---tf4888766.html#a13993034 
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

BJ Freeman
In reply to this post by Bilgin Ibryam
seen this when one of the xml file is not well formed
     [java] [Fatal Error] :4:6: The processing instruction target matching
"[xX][mM][lL]" is not allowed.


Bilgin Ibryam sent the following on 11/28/2007 6:10 AM:

> [Error] :2:12: cvc-elt.1: Cannot find the declaration of element 'ofbiz-ser'.
>      [java] 2007-11-28 16:02:05,221 (default-invoker-Thread-7) [    
> ScreenFactory.java:118:INFO ] Got 7 screens in 0.015s from:
> file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/EmailOrderScreens.xml
>      [java] 2007-11-28 16:02:05,365 (default-invoker-Thread-7) [    
> ScreenFactory.java:118:INFO ] Got 34 screens in 0.025s from:
> file:/home/bibryam/workspace/ofbiz-trunk/applications/ecommerce/widget/OrderScreens.xml
>      [java] 2007-11-28 16:02:05,655 (default-invoker-Thread-7) [    
> ScreenFactory.java:118:INFO ] Got 17 screens in 0.015s from:
> file:/home/bibryam/workspace/ofbiz-trunk/framework/common/widget/CommonScreens.xml
>      [java] 2007-11-28 16:02:05,675 (default-invoker-Thread-7) [    
> ScreenFactory.java:118:INFO ] Got 4 screens in 0.014s from:
> file:/home/bibryam/workspace/ofbiz-trunk/applications/order/widget/ordermgr/OrderPrintScreens.xml
>      [java] 2007-11-28 16:02:05,761 (default-invoker-Thread-7) [    
> ContentUrlTag.java:43 :WARN ] WARNING: request was null in
> appendContentPrefix; this probably means this was used where it shouldn't
> be, like using ofbizContentUrl in a screen rendered through a service; using
> best-bet behavior: standard prefix from url.properties (no WebSite or
> security setting known)
>      [java] [Fatal Error] :4:6: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
>      [java] 2007-11-28 16:02:05,838 (default-invoker-Thread-7) [
> ServiceDispatcher.java:513:ERROR] Error in Service [sendMailFromScreen]: FOP
> transform failed: javax.xml.transform.TransformerException:
> org.xml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
>      [java] 2007-11-28 16:02:05,839 (default-invoker-Thread-7) [  
> TransactionUtil.java:298:WARN ]
>      [java] ---- exception report
> ----------------------------------------------------------
>      [java] [TransactionUtil.setRollbackOnly] Calling transaction
> setRollbackOnly; this stack trace shows where this is happening:
>      [java] Exception: java.lang.Exception
>      [java] Message: Error in Service [sendMailFromScreen]: FOP transform
> failed: javax.xml.transform.TransformerException:
> org.xml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
>      [java] ---- stack trace
> ---------------------------------------------------------------
>      [java] java.lang.Exception: Error in Service [sendMailFromScreen]: FOP
> transform failed: javax.xml.transform.TransformerException:
> org.xml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
>      [java]
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:298)
>      [java]
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:245)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
>      [java]
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
>      [java]
> org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2308)
>      [java]
> org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2158)
>      [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java]
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] java.lang.reflect.Method.invoke(Method.java:585)
>      [java]
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
>      [java]
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:374)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
>      [java]
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
>      [java]
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
>      [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
>      [java] java.lang.Thread.run(Thread.java:595)
>      [java]
> --------------------------------------------------------------------------------
>      [java] 2007-11-28 16:02:05,841 (default-invoker-Thread-7) [
> ServiceDispatcher.java:513:ERROR] Error in Service [sendOrderConfirmation]:
> FOP transform failed: javax.xml.transform.TransformerException:
> org.xml.sax.SAXParseException: The processing instruction target matching
> "[xX][mM][lL]" is not allowed.
>      [java] 2007-11-28 16:02:05,842 (default-invoker-Thread-7) [  
> TransactionUtil.java:262:ERROR]
>      [java] ---- exception report
> ----------------------------------------------------------
>      [java] [TransactionUtil.rollback]
>      [java] Exception: java.lang.Exception
>      [java] Message: Stack Trace
>      [java] ---- stack trace
> ---------------------------------------------------------------
>      [java] java.lang.Exception: Stack Trace
>      [java]
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:261)
>      [java]
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:243)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:517)
>      [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208)
>      [java]
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
>      [java]
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
>      [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
>      [java] java.lang.Thread.run(Thread.java:595)
>      [java]
> --------------------------------------------------------------------------------
>      [java] 2007-11-28 16:02:05,843 (default-invoker-Thread-7) [  
> TransactionUtil.java:272:INFO ] [TransactionUtil.rollback] transaction
> rolled back
>      [java] 2007-11-28 16:02:05,844 (default-invoker-Thread-7) [
> GenericServiceJob.java:116:ERROR]
>      [java] ---- exception report
> ----------------------------------------------------------
>      [java] Async-Service failed.
>      [java] Exception: java.lang.Exception
>      [java] Message: FOP transform failed:
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The
> processing instruction target matching "[xX][mM][lL]" is not allowed.
>      [java] ---- stack trace
> ---------------------------------------------------------------
>      [java] java.lang.Exception: FOP transform failed:
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The
> processing instruction target matching "[xX][mM][lL]" is not allowed.
>      [java]
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75)
>      [java] org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
>      [java] java.lang.Thread.run(Thread.java:595)
>      [java]
> --------------------------------------------------------------------------------
>      [java] 2007-11-28 16:02:05,851 (default-invoker-Thread-7)
> [PersistedServiceJob.java:203:INFO ] Persisted Job [10011] Failed
> Re-Scheduling : 1196258705847
>
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

Bilgin Ibryam
Thanks guys.

I still donot know where to search this not well formed xml...
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

BJ Freeman
trace through your log.


Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
> Thanks guys.
>
> I still donot know where to search this not well formed xml...
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

BJ Freeman
think I fould something
not sure where to go from here.
[UtilXml.java:649:ERROR] XmlFileLoader:
/applications/party/widget/partymgr/PartyScreens.xml process error.
Line: 725. Error message: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'condition'. One of '{actions, widgets}' is
expected.

BJ Freeman sent the following on 11/29/2007 9:53 AM:

> trace through your log.
>
>
> Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
>> Thanks guys.
>>
>> I still donot know where to search this not well formed xml...
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

jonwimp
That's odd. The <condition> element should come before <actions>, which in turn comes before
<widgets>. This error message is odd.

Unless... a screen in there has 2 <condition> elements, maybe you could get this error then.

Jonathon

BJ Freeman wrote:

> think I fould something
> not sure where to go from here.
> [UtilXml.java:649:ERROR] XmlFileLoader:
> /applications/party/widget/partymgr/PartyScreens.xml process error.
> Line: 725. Error message: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'condition'. One of '{actions, widgets}' is
> expected.
>
> BJ Freeman sent the following on 11/29/2007 9:53 AM:
>> trace through your log.
>>
>>
>> Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
>>> Thanks guys.
>>>
>>> I still donot know where to search this not well formed xml...
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

BJ Freeman
the trunk partyscreens.xml
this was added
                        <section>
                            <condition>
                                <not><if-empty field-name="party"/></not>
                            </condition>
                            <widgets>
                                <section>
                                    <condition>
                                        <if-compare field-name="showOld"
operator="equals" value="true" type="Boolean"/>
                                    </condition>
                                    <widgets>
                                        <container>
                                            <link
target="viewprofile?partyId=${party.partyId}"
text="${uiLabelMap.PartyHideOld}" style="smallSubmit"/>
                                        </container>
                                    </widgets>
                                    <fail-widgets>
                                        <container>
                                            <link
target="viewprofile?partyId=${party.partyId}&amp;SHOW_OLD=true"
text="${uiLabelMap.PartyShowOld}" style="smallSubmit"/>
                                        </container>
                                    </fail-widgets>
                                </section>
                                <include-screen name="Party"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Contact"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="LoyaltyPoints"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="PaymentMethods"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="AvsSettings"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="FinAccounts"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="UserLogin"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Attributes"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Visits"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Cart"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen
name="SerializedInventory"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Subscriptions"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Content"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="ShipperAccount"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                <include-screen name="Notes"
location="component://party/widget/partymgr/ProfileScreens.xml"/>
                            </widgets>
                            <fail-widgets>
                                <container>
                                    <label
style="head3">${uiLabelMap.PartyNoPartyFoundWithPartyId}:
${parameters.partyId}</label>
                                </container>
                            </fail-widgets>
                        </section>



Jonathon -- Improov sent the following on 11/29/2007 5:32 PM:

> That's odd. The <condition> element should come before <actions>, which
> in turn comes before <widgets>. This error message is odd.
>
> Unless... a screen in there has 2 <condition> elements, maybe you could
> get this error then.
>
> Jonathon
>
> BJ Freeman wrote:
>> think I fould something
>> not sure where to go from here.
>> [UtilXml.java:649:ERROR] XmlFileLoader:
>> /applications/party/widget/partymgr/PartyScreens.xml process error.
>> Line: 725. Error message: cvc-complex-type.2.4.a: Invalid content was
>> found starting with element 'condition'. One of '{actions, widgets}' is
>> expected.
>>
>> BJ Freeman sent the following on 11/29/2007 9:53 AM:
>>> trace through your log.
>>>
>>>
>>> Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
>>>> Thanks guys.
>>>>
>>>> I still donot know where to search this not well formed xml...
>>>
>>>
>>
>>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Any ideas what might be causing this error (after order creation) in trunk ?

BJ Freeman
Ok got confused.. sorry
it is ver 4.0 that has the error
ver 4.0 partyscreens.xml
not sure what a FinAccountSummary
screen is doing in partyscreens.
and this is the culprit I belive
               <section>
                    <condition>
                        <not>
                            <if-empty field-name="ownedFinAccountList"/>
                        </not>
                    </condition>
                    <condition>
                        <if-has-permission permission="ACCOUNTING"
action="_VIEW"/>
                    </condition>
                    <widgets>


BJ Freeman sent the following on 11/29/2007 5:53 PM:

> the trunk partyscreens.xml
> this was added
>                         <section>
>                             <condition>
>                                 <not><if-empty field-name="party"/></not>
>                             </condition>
>                             <widgets>
>                                 <section>
>                                     <condition>
>                                         <if-compare field-name="showOld"
> operator="equals" value="true" type="Boolean"/>
>                                     </condition>
>                                     <widgets>
>                                         <container>
>                                             <link
> target="viewprofile?partyId=${party.partyId}"
> text="${uiLabelMap.PartyHideOld}" style="smallSubmit"/>
>                                         </container>
>                                     </widgets>
>                                     <fail-widgets>
>                                         <container>
>                                             <link
> target="viewprofile?partyId=${party.partyId}&amp;SHOW_OLD=true"
> text="${uiLabelMap.PartyShowOld}" style="smallSubmit"/>
>                                         </container>
>                                     </fail-widgets>
>                                 </section>
>                                 <include-screen name="Party"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Contact"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="LoyaltyPoints"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="PaymentMethods"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="AvsSettings"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="FinAccounts"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="UserLogin"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Attributes"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Visits"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Cart"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen
> name="SerializedInventory"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Subscriptions"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Content"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="ShipperAccount"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                                 <include-screen name="Notes"
> location="component://party/widget/partymgr/ProfileScreens.xml"/>
>                             </widgets>
>                             <fail-widgets>
>                                 <container>
>                                     <label
> style="head3">${uiLabelMap.PartyNoPartyFoundWithPartyId}:
> ${parameters.partyId}</label>
>                                 </container>
>                             </fail-widgets>
>                         </section>
>
>
>
> Jonathon -- Improov sent the following on 11/29/2007 5:32 PM:
>> That's odd. The <condition> element should come before <actions>, which
>> in turn comes before <widgets>. This error message is odd.
>>
>> Unless... a screen in there has 2 <condition> elements, maybe you could
>> get this error then.
>>
>> Jonathon
>>
>> BJ Freeman wrote:
>>> think I fould something
>>> not sure where to go from here.
>>> [UtilXml.java:649:ERROR] XmlFileLoader:
>>> /applications/party/widget/partymgr/PartyScreens.xml process error.
>>> Line: 725. Error message: cvc-complex-type.2.4.a: Invalid content was
>>> found starting with element 'condition'. One of '{actions, widgets}' is
>>> expected.
>>>
>>> BJ Freeman sent the following on 11/29/2007 9:53 AM:
>>>> trace through your log.
>>>>
>>>>
>>>> Bilgin Ibryam sent the following on 11/29/2007 7:47 AM:
>>>>> Thanks guys.
>>>>>
>>>>> I still donot know where to search this not well formed xml...
>>>>
>>>
>>
>>
>>
>
>
>