[Esapi-user] Getting - org.owasp.esapi.errors.ConfigurationException

Fabio Cerullo fcerullo at gmail.com
Fri May 10 10:47:24 UTC 2013


*hi Vijay,*

*Could you provide a complete stack trace of the exception and the
exception **message?*

*Thanks
Fabio*



On Fri, May 10, 2013 at 10:51 AM, Vijayakumar Manivannan <
viijay.mani at gmail.com> wrote:

>
>
>
> Hi chris/Kevin & all,
>
>   I am using ESAPI2.0 jar especially encodeforSQL method
>
> Below is the code sample.
>
>
>
> *public* *static* String Method {
>
>         Codec ORACLE_CODEC = new OracleCodec();
>
>                                 String encodedsqlParameter = "";
>
>                                    encodedsqlParameter = ESAPI.*encoder*
> ().encodeForSQL(
>
>
> ORACLE_CODEC,*”test”*);
>
>                                                     }
>
>                                 }
>
>                 }
>
>                                 *return* sb. encodedsqlParameter ;
>
> }
>
>
> But I am getting the  below exception
>
>
> org.owasp.esapi.errors.ConfigurationException:
> java.lang.reflect.InvocationTargetException Encoder class
> (org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception
>
>
> Jar and ESAPI.properties,validation.properties are commited in respective
> location.
>
> Could you please tell me what cause this exception...??????  Is there any
> other configuration files required apart from ESAPI.properties and
> validation.properties...??????
>
> Thanks in advance.
>
> Regards,
> Vijay :)
>
> _______________________________________________
> Esapi-user mailing list
> Esapi-user at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/esapi-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20130510/46f0cab3/attachment.html>


More information about the Esapi-user mailing list