[Esapi-user] (no subject)

viijay.mani viijay.mani at gmail.com
Wed Jan 23 08:41:36 UTC 2013


Hi all/Kevin


Attempting to load ESAPI.properties via file I/O.
Attempting to load ESAPI.properties as resource file via file I/O.
Found in 'org.owasp.esapi.resources' directory:
c:\resources\ESAPI.properties
Loaded 'ESAPI.properties' properties file
Attempting to load validation.properties via file I/O.
Attempting to load validation.properties as resource file via file I/O.
Found in 'org.owasp.esapi.resources' directory:
c:\resources\validation.properties
Loaded 'validation.properties' properties file
org.owasp.esapi.errors.ConfigurationException:
java.lang.reflect.InvocationTargetException Encoder class
(org.owasp.esapi.reference.DefaultEncoder) CTOR threw exception.
at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:129)
at org.owasp.esapi.ESAPI.encoder(ESAPI.java:98)
at Example.main(Example.java:16)
Caused by: java.lang.reflect.InvocationTargetException
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)
... 2 more
Caused by: org.owasp.esapi.errors.ConfigurationException:
java.lang.reflect.InvocationTargetException LogFactory class
(org.owasp.esapi.reference.Log4JLogFactory) CTOR threw exception.
at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:129)
at org.owasp.esapi.ESAPI.logFactory(ESAPI.java:136)
at org.owasp.esapi.ESAPI.getLogger(ESAPI.java:153)
at org.owasp.esapi.reference.DefaultEncoder.<init>(DefaultEncoder.java:75)
at
org.owasp.esapi.reference.DefaultEncoder.getInstance(DefaultEncoder.java:59)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
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)
... 11 more
Caused by: java.lang.Error: Unresolved compilation problem:

at
org.owasp.esapi.reference.Log4JLogFactory.getInstance(Log4JLogFactory.java:64)


I am gettign the above Exception what would be reason

I am using ESAPI2.0GA.jar and  Properties file is attached

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20130123/b56e6dc0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ESAPI.properties
Type: application/octet-stream
Size: 24441 bytes
Desc: not available
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20130123/b56e6dc0/attachment.obj>


More information about the Esapi-user mailing list