Exception in run mode "prod" but not in "dev"

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception in run mode "prod" but not in "dev"

ricetrac
Hello,

In own application, in run mode "prod" we have this exception :
exceptionModeProd.log

In mode "dev", no.

If I add this in "properties-local-prod", we no longer have this Exception:
    <property as="xs:string"  processor-name="oxf:unsafe-builtin-saxon" name="location-mode" value="dumb"/>

the page-flow file indicate in the log:
page-flow.xml

We use Orbeon 4.4 with java 1.6 and tomcat 5.5.
Have You an idea ?

Thank You.
Julien
Reply | Threaded
Open this post in threaded view
|

Re: Exception in run mode "prod" but not in "dev"

Erik Bruchez
Administrator
Julien,

I implemented a tentative fix based on the stack trace you provided:

    https://github.com/orbeon/orbeon-forms/issues/2166

Location data can be missing in prod mode, and that code assumed it was necessarily present.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Exception in run mode "prod" but not in "dev"

ricetrac
Hi,

Thank You for your response.
I don't understand what is "Location data", but it seems like the right correction. :)

Thank you.

Julien

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Erik Bruchez
Envoyé : lundi 6 avril 2015 13:16
À : [hidden email]
Objet : [orbeon] Re: Exception in run mode "prod" but not in "dev"

Julien,

I implemented a tentative fix based on the stack trace you provided:

    https://github.com/orbeon/orbeon-forms/issues/2166

Location data can be missing in prod mode, and that code assumed it was necessarily present.

-Erik

--
View this message in context: http://discuss.orbeon.com/Exception-in-run-mode-prod-but-not-in-dev-tp4659757p4659758.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Exception in run mode "prod" but not in "dev"

Erik Bruchez
Administrator
Julien,

Location data is information such as filename and line number in a source file.

Did you have a chance to try the fix?

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Exception in run mode "prod" but not in "dev"

ricetrac
Hello Erik,

Sorry for the delay.
I have tested the fix with my application that use orbeon 4.4 and the InstanceToParametersProcessor class modified.
It's OK.

Thank you.

Julien
Reply | Threaded
Open this post in threaded view
|

Re: Exception in run mode "prod" but not in "dev"

Erik Bruchez
Administrator
Great, thanks for confirming! -Erik