EmuNewz Network
log4j.dtd - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: log4j.dtd (/showthread.php?tid=5914)



log4j.dtd - mandrac - 07-26-2011

it apear that something is missing

the emulator is not loading
here is what is writen in the consol when starting the emulator



Code:
*:\******\*********\jpcsp-windows-x86>start-windows-x86.bat
Running Jpcsp 32bit...
log4j:WARN Could not find [log4j.dtd] using [sun.misc.Launcher$AppClassLoader@13
f5d07] class loader, parsed without DTD.
log4j:WARN Continuable parsing error 4 and column 22
log4j:WARN Element type "log4j:configuration" must be declared.
log4j:WARN Continuable parsing error 6 and column 67
log4j:WARN Element type "appender" must be declared.
log4j:WARN Continuable parsing error 7 and column 48
log4j:WARN Element type "layout" must be declared.
log4j:WARN Continuable parsing error 8 and column 66
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 11 and column 69
log4j:WARN Element type "appender" must be declared.
log4j:WARN Continuable parsing error 12 and column 39
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 13 and column 38
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 14 and column 38
log4j:WARN Element type "layout" must be declared.
log4j:WARN Continuable parsing error 15 and column 46
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 18 and column 76
log4j:WARN Element type "appender" must be declared.
log4j:WARN Continuable parsing error 19 and column 43
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 20 and column 38
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 21 and column 48
log4j:WARN Element type "layout" must be declared.
log4j:WARN Continuable parsing error 22 and column 48
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 25 and column 70
log4j:WARN Element type "appender" must be declared.
log4j:WARN Continuable parsing error 26 and column 42
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 27 and column 42
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 28 and column 52
log4j:WARN Element type "layout" must be declared.
log4j:WARN Continuable parsing error 29 and column 82
log4j:WARN Element type "param" must be declared.
log4j:WARN Continuable parsing error 33 and column 22
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 34 and column 22
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 35 and column 25
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 36 and column 21
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 37 and column 22
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 38 and column 26
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 38 and column 48
log4j:WARN Element type "level" must be declared.
log4j:WARN Continuable parsing error 39 and column 25
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 39 and column 47
log4j:WARN Element type "level" must be declared.
log4j:WARN Continuable parsing error 40 and column 24
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 40 and column 46
log4j:WARN Element type "level" must be declared.
log4j:WARN Continuable parsing error 41 and column 25
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 42 and column 25
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 44 and column 44
log4j:WARN Element type "logger" must be declared.
log4j:WARN Continuable parsing error 45 and column 23
log4j:WARN Element type "level" must be declared.
log4j:WARN Continuable parsing error 46 and column 43
log4j:WARN Element type "appender-ref" must be declared.
log4j:WARN Continuable parsing error 49 and column 7
log4j:WARN Element type "root" must be declared.
log4j:WARN Continuable parsing error 50 and column 23
log4j:WARN Element type "level" must be declared.
log4j:WARN Continuable parsing error 51 and column 37
log4j:WARN Element type "appender-ref" must be declared.
log4j:WARN Continuable parsing error 52 and column 36
log4j:WARN Element type "appender-ref" must be declared.
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Unknown Source)
        at java.util.Properties.load0(Unknown Source)
        at java.util.Properties.load(Unknown Source)
        at jpcsp.Settings.<init>(Settings.java:67)
        at jpcsp.Settings.getInstance(Settings.java:54)
        at jpcsp.log.TextPaneAppender.createAttributes(TextPaneAppender.java:134
)
        at jpcsp.log.TextPaneAppender.<init>(TextPaneAppender.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja
va:237)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat
or.java:171)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi
gurator.java:184)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM
Configurator.java:502)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:4
71)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
:790)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
:682)
        at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:8
11)
        at jpcsp.MainGUI.<init>(MainGUI.java:141)
        at jpcsp.MainGUI$56.run(MainGUI.java:2090)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
log4j:ERROR Could not parse file [LogSettings.xml].
java.lang.NullPointerException
        at java.util.Hashtable.put(Unknown Source)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat
or.java:172)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi
gurator.java:184)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM
Configurator.java:502)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:4
71)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
:790)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
:682)
        at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:8
11)
        at jpcsp.MainGUI.<init>(MainGUI.java:141)
        at jpcsp.MainGUI$56.run(MainGUI.java:2090)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "GUI" java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Unknown Source)
        at java.util.Properties.load0(Unknown Source)
        at java.util.Properties.load(Unknown Source)
        at jpcsp.Settings.<init>(Settings.java:67)
        at jpcsp.Settings.getInstance(Settings.java:54)
        at jpcsp.log.LogWindow.<init>(LogWindow.java:165)
        at jpcsp.MainGUI.<init>(MainGUI.java:143)
        at jpcsp.MainGUI$56.run(MainGUI.java:2090)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
a little help please


RE: log4j.dtd - Darth1701 - 07-26-2011

(07-26-2011, 03:32 AM)mandrac Wrote:
Code:
*:\******\*********\jpcsp-windows-x86>

This is the problem. You probably have it either deep inside of your user directory or you have some special characters in your username/directory. Try to move the whole directory to just C:\jpcsp and it should work.


RE: log4j.dtd - mandrac - 07-30-2011

(07-26-2011, 07:34 AM)Darth1701 Wrote:
(07-26-2011, 03:32 AM)mandrac Wrote:
Code:
*:\******\*********\jpcsp-windows-x86>

This is the problem. You probably have it either deep inside of your user directory or you have some special characters in your username/directory. Try to move the whole directory to just C:\jpcsp and it should work.

oh yes indeed! thanks