concierge icon indicating copy to clipboard operation
concierge copied to clipboard

Uncatchable exception caused by corrupt "meta" file

Open filippo-baccani opened this issue 4 years ago • 0 comments

Goog morning. I'm experiencing a peculiar failure: A "meta" file inside storage/default/[bundle id]/ has gone corrupted (zero length). "Concierge" class catchs EOFException and print the stack trace but do not take any action to perform a "clean start" and don't send the exception up in the class calling chain. So for the calling program there is no way to handle the problem.

Here below the stack trace:

java.io.EOFException at java.base/java.io.DataInputStream.readInt(Unknown Source) at org.eclipse.concierge.BundleImpl.(BundleImpl.java:252) at org.eclipse.concierge.Concierge.restoreProfile(Concierge.java:1517) at org.eclipse.concierge.Concierge.init(Concierge.java:1330) at org.myorg.ACallingClass .....

Thanks

filippo-baccani avatar Mar 11 '21 09:03 filippo-baccani