DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
java.io.IOException:Failed to read the contents of the log

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports

Author

Message

Garanthir



Joined: 18 Oct 2006
Posts: 4

PostPosted: Wed Oct 18, 2006 3:45 pm    Post subject: java.io.IOException:Failed to read the contents of the log

Reply with quote


Error message java.io.IOException:Failed to read the contents of the log

I have checked this file and it appears to be OK, but will not parse. What does this indicate ? Corrupt string(s) ? It is giving me this error for the past 2 nights of raids, but not the night before those.


Thanks,
Garanthir
www.rotfguild.com



1015postempstrash.txt
 Description:

Download
 Filename:  1015postempstrash.txt
 Filesize:  33.46 KB
 Downloaded:  201 Time(s)

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Wed Oct 18, 2006 4:28 pm    Post subject:

Reply with quote


There can be many reasons, for more information you would have to check the error log. The easiest way to do that is probably to go to "Miscellaneous"->"Report Bug", the error log for the current and last sessions will be shown there. So reproduce the error, then go there and copy the error log and paste it here if it does not make sense.

Back to top

Garanthir



Joined: 18 Oct 2006
Posts: 4

PostPosted: Wed Oct 18, 2006 4:44 pm    Post subject:

Reply with quote


Very cool thanks ! It states:

The element type "CDATA" must be terminated by the matching end-tag "<CDATA>" with a lot of other stuff Smile

I did a submit also.

Back to top

Garanthir



Joined: 18 Oct 2006
Posts: 4

PostPosted: Wed Oct 18, 2006 4:45 pm    Post subject:

Reply with quote


If that's not enough I'll post the whole file by copying and pasting.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Wed Oct 18, 2006 4:56 pm    Post subject:

Reply with quote


The interesting parts of it:

Code:
org.xml.sax.SAXParseException: The element type "CDATA" must be terminated by the matching end-tag "</CDATA>".
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
   at javax.xml.parsers.SAXParser.parse(Unknown Source)
   at com.lokorin.dkplp.parser.XmlPattern.performParse(Unknown Source)
   at com.lokorin.dkplp.parser.Pattern.parse(Unknown Source)
   at com.lokorin.dkplp.parser.XmlPatternCombination.performParse(Unknown Source)
   at com.lokorin.dkplp.parser.Pattern.parse(Unknown Source)
   at com.lokorin.dkplp.parser.XmlParser.parse(Unknown Source)
   at com.lokorin.dkplp.parser.LogParser.parseLog(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.parseLog(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.access$3700(Unknown Source)
   at com.lokorin.dkplp.gui.GUI$36.widgetSelected(Unknown Source)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
   at com.lokorin.dkplp.gui.GUI.open(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.main(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.lokorin.dkplp.gui.SplashWindow.invokeMain(Unknown Source)
   at com.lokorin.dkplp.gui.Splasher.main(Unknown Source)
java.io.IOException: Failed to read the contents of the log.
   at com.lokorin.dkplp.parser.XmlParser.parse(Unknown Source)
   at com.lokorin.dkplp.parser.LogParser.parseLog(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.parseLog(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.access$3700(Unknown Source)
   at com.lokorin.dkplp.gui.GUI$36.widgetSelected(Unknown Source)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
   at com.lokorin.dkplp.gui.GUI.open(Unknown Source)
   at com.lokorin.dkplp.gui.GUI.main(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.lokorin.dkplp.gui.SplashWindow.invokeMain(Unknown Source)
   at com.lokorin.dkplp.gui.Splasher.main(Unknown Source)
Caused by: java.io.IOException: Parsing error (SAXException): The element type "CDATA" must be terminated by the matching end-tag "</CDATA>". .
   at com.lokorin.dkplp.parser.XmlPattern.performParse(Unknown Source)
   at com.lokorin.dkplp.parser.Pattern.parse(Unknown Source)
   at com.lokorin.dkplp.parser.XmlPatternCombination.performParse(Unknown Source)
   at com.lokorin.dkplp.parser.Pattern.parse(Unknown Source)
   ... 18 more


So it would seem that the log is corrupted. Looking at the contents there are a whole bunch of
Code:
<CDATA>
that should not be there. Do a search in the log, remove the occurrences of that exact string and try again.

Back to top

Garanthir



Joined: 18 Oct 2006
Posts: 4

PostPosted: Wed Oct 18, 2006 5:00 pm    Post subject:

Reply with quote


Woot !! Thank you so much that did it Smile

Do you think it is CT_Tracker bugging out ?

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Wed Oct 18, 2006 5:01 pm    Post subject:

Reply with quote


If it was taken directly from CT RT then yes.

Back to top

Ancaglon



Joined: 28 Sep 2006
Posts: 18

PostPosted: Thu Oct 19, 2006 3:00 pm    Post subject:

Reply with quote


I've noticed that posting stuff into a phpBB has this effect of ripping out the contents of CDATA elements....

Back to top

Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
SoftGreen 1.1 phpBB theme © DaTutorials.com 2005