Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 170346

Summary: EOFException when reading the AuthorizationDatabase
Product: [Eclipse Project] Platform Reporter: Benjamin Pasero <bpasero>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Benjamin Pasero CLA 2007-01-12 13:58:45 EST
I am not sure if this is the right component.

Occasionally we see this exception when calling the Platform.getAuthorizationInfo() method. I searched through existing bugs, but was unable to find any about this exception. Unfortunately I am not able to provide steps to reproduce, but maybe someone could give a hint he this is some kind of known problem under certain circumstances? 

java.io.EOFException
at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.eclipse.core.internal.runtime.auth.AuthorizationDatabase.load(AuthorizationDatabase.java:294)
at
org.eclipse.core.internal.runtime.auth.AuthorizationDatabase.load(AuthorizationDatabase.java:275)
at
org.eclipse.core.internal.runtime.auth.AuthorizationDatabase.<init>(AuthorizationDatabase.java:95)
at
org.eclipse.core.internal.runtime.auth.AuthorizationHandler.loadKeyring(AuthorizationHandler.java:58)
at
org.eclipse.core.internal.runtime.auth.AuthorizationHandler.getAuthorizationInfo(AuthorizationHandler.java:176)
at org.eclipse.core.runtime.Platform.getAuthorizationInfo(Platform.java:608)
at
org.rssowl.core.connection.internal.DefaultCredentialsProvider.getAuthCredentials(DefaultCredentialsProvider.java:78)
at
org.rssowl.core.connection.ConnectionManager.getAuthCredentials(ConnectionManager.java:196)
at
org.rssowl.contrib.httpclient.internal.HttpHandlerImpl.setupAuthentication(HttpHandlerImpl.java:179)
at
org.rssowl.contrib.httpclient.internal.HttpHandlerImpl.load(HttpHandlerImpl.java:138)
at
org.rssowl.core.connection.ConnectionManager.load(ConnectionManager.java:170)
at org.rssowl.ui.internal.Controller.reload(Controller.java:420)
at org.rssowl.ui.internal.Controller$ReloadTask.run(Controller.java:166)
at org.rssowl.core.model.util.JobQueue$2$1.run(JobQueue.java:235)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.rssowl.core.model.util.JobQueue$2.run(JobQueue.java:232)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Benjamin Pasero CLA 2007-02-10 14:23:07 EST
I think this has been fixed for m5 right?
Comment 2 John Arthorne CLA 2007-02-12 10:34:21 EST
I believe this is a duplicate. Please reopen if it happens again after 3.3 M5.

*** This bug has been marked as a duplicate of bug 170722 ***