I have a Java program that does some XML manipulation. It throws this error in my log:
[Fatal Error] :-1:-1: Premature end of file.
It is not causing any problems and it is beyond my control to fix it. Is there any way I can suppress these errors and clean up my log? Or maybe, change the message to be more friendly?
Bad News: Although it has been about 10 years ago, I have purchased a "Sold and Shipped by Amazon" SanDisk USB drive that was counterfeit. They exchanged it no problem.
Use the utility Jim K referenced above and you will know for sure if something is not legit.
Question
Annorax
Hi everyone,
I have a Java program that does some XML manipulation. It throws this error in my log:
[Fatal Error] :-1:-1: Premature end of file.
It is not causing any problems and it is beyond my control to fix it. Is there any way I can suppress these errors and clean up my log? Or maybe, change the message to be more friendly?
Thanks for any help. :)
Link to comment
https://www.neowin.net/forum/topic/653904-java-how-to-suppress-fatal-errors-in-the-log/Share on other sites
52 answers to this question
Recommended Posts