EOF Exception using InputStream/ReadObject
Hello there java comunity!
I'm looking for this specific problem but the solutions i see are for diferent implementations.
I'm making a free time exercise for learning java on my vacations (I'm starting indeed), i was making some sort of "system" that allows you handle objects into a ArrayList, it may save objects from an ArrayList to a file and read them too, the saving feature seems to work(the file is created with no errors), but the loading of the file throws a EOF Exception, and I know right where is the error (In the method "Leer" from the file "Archivo Curso"), just when the input stream calls the method readObject. Is there a way to fix this error, I leave the netbeans project here for you to check
Thanks for your help
P.D: The ones to check are only Principal.java, Curso.java, AdminCurso.java and ArchivoCurso.java , the rest are not implemented yet
I think the implementation is not wrong at all, the problem is the handling of EOF, i dont get how to make it work properly
Re: EOF Exception using InputStream/ReadObject
can't read your lab01.rar