This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Is there a binary I/O implementation bug? Class file generated from NB6 is different from CLI, and throws an EOFException whereas the CLI generated class file does not. The java code answers Exercise 18.5 in on Prof. Liang's book, Introduction to Java Programming: Comprehensive Edition 6/e. "(Storing objects and arrays into a file) Write a program that stores an array of five int values 1, 2, 3, 4 and 5, a Date object for current time, and a double value 5.5 into the file named Exercise18_5.dat."
Created attachment 54616 [details] java code for issue
Created attachment 54617 [details] class file, CLI generated
Created attachment 54618 [details] class file, NB6 generated
Newbie mistake