This looks like a bug. Temporarily, if you turn off encryption in properties.xml:

<property as="xs:boolean" name="oxf.xforms.encrypt-hidden" value="false"/>
<property as="xs:boolean" name="oxf.xforms.encrypt-names" value="false"/>


This should disappear.

-Erik

Eric van der Vlist wrote:
Hi,

Any idea where that error can come from?

I am in the process of updating the bizdoc sample and after some amount
of modification, I get this error on both the save and back actions of
the detail form.

The stacktrace is:

2005-01-11 11:53:19,554 ERROR org.orbeon.oxf.pipeline.InitUtils null - 
Exception with no location data
javax.crypto.BadPaddingException: Given final block not properly padded
        at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
        at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
        at com.sun.crypto.provider.SunJCE_ab.b(DashoA6275)
        at 
com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA6275)
        at javax.crypto.Cipher.doFinal(DashoA6275)
        at org.orbeon.oxf.util.SecureUtils.decrypt(SecureUtils.java:157)
        at 
org.orbeon.oxf.processor.xforms.input.RequestParameters.addValue(RequestParameters.java:217)
        at 
org.orbeon.oxf.processor.xforms.input.RequestParameters.<init>(RequestParameters.java:196)
        at 
org.orbeon.oxf.processor.xforms.input.XFormsInput$3.read(XFormsInput.java:90)
        at 
org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:461)
        at 
org.orbeon.oxf.processor.xforms.input.XFormsInput.access$400(XFormsInput.java:55)
        at 
org.orbeon.oxf.processor.xforms.input.XFormsInput$1.readImpl(XFormsInput.java:87)
        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:945)
        at 
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1106)
        at 
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:340)
        at 
org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:27)
        at 
org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:48)

...

The update in the eXist database seems to be done despite this error
and, together with the fact that I have the same error on the back
action which is just:

        <!-- Back: Return to the summary page -->
        <action when="/form/action = 'back'">
            <result page="summary"/>
        </action>

I think that this is something which is related to the XForm processing
itself.

Any idea of what can be the cause of this error and how I can debug this
kind of situations?

Thanks,

Eric



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to