[Esapi-user] File Not found Exception

Vijay M viijay.mani at gmail.com
Tue May 14 04:33:29 UTC 2013


Hi,

I am Using ESAPI for my application using ESAPI-2.0.1 jar

but i am getting the below exception in my application
could anyone please help me in this regards,


Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

java.io.FileNotFoundException

        at
org.owasp.esapi.reference.DefaultSecurityConfiguration.getResourceStream(DefaultSecurityConfiguration.java:518)

        at
org.owasp.esapi.reference.DefaultSecurityConfiguration.loadConfiguration(DefaultSecurityConfiguration.java:429)

        at
org.owasp.esapi.reference.DefaultSecurityConfiguration.<init>(DefaultSecurityConfiguration.java:227)

        at
org.owasp.esapi.reference.DefaultSecurityConfiguration.getInstance(DefaultSecurityConfiguration.java:75)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:86)

        at org.owasp.esapi.ESAPI.securityConfiguration(ESAPI.java:184)

        at org.owasp.esapi.ESAPI.encoder(ESAPI.java:99)

        at
com.example.project.common.util.security.SecurityValidationUtils.encodeInputForSQLInjection(SecurityValidationUtils.java:251)

        at
com.example.project.server.framework.dao.example.projectBaseDAO.setString(example.projectBaseDAO.java:448)

        at
com.example.project.server.framework.dao.DBConfigurationDAO.selectValue(DBConfigurationDAO.java:124)

        at
com.example.project.server.framework.util.DBConfiguration.refresh(DBConfiguration.java:144)

        at
com.example.project.server.framework.util.DBConfiguration.getApplConfig(DBConfiguration.java:185)

        at
com.example.project.server.framework.util.DBConfigurator.getApplConfig(DBConfigurator.java:148)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
com.example.project.common.configuration.PropertiesConfiguration.getConfig(PropertiesConfiguration.java:119)

        at
com.example.project.common.tdp.util.FilePathConfiguration.getAsMap(FilePathConfiguration.java:333)

        at
com.example.project.server.tdp.batch.tex.ABCInvoker.getPropMap(ABCInvoker.java:192)

        at
com.example.project.server.tdp.batch.tex.ABCInvoker.main(ABCInvoker.java:55)

[com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,001]

setting ret Value as0

[INFO ] ABC Completed!!!!!
[com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,001]

[INFO ] After call to C program.
[com.example.project.server.tdp.batch.tex.AbcMain  2013-05-13 07:01:27,002]

Thanks in Advance.

Regards,
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20130514/3bd9e382/attachment.html>


More information about the Esapi-user mailing list