Wednesday, August 15, 2001 10:09 AM
Well, it appears that I have found the solution to my own problem, so I'm recording it here in case anybody ever experiences the same amount of frustration that I have experienced over this past few days.
I still don't quite get it, though, so I am going to make a few suppositions below.
The reason for JBuilder crashing was some sort of inconsistency in a library which I had created and was using in my project.
This library was composed of multiple jar files, all contained on a network drive.
In addition to specifying the jar files, I also wanted to specify the source directories for these files.
These were stored across multiple directories on the same network drive, and potentially modifiable by someone other than me, during the lifetime of my project.
In addition, these directories did not fully reflect the package structure which resulted from compiling the source code.
I noticed that the problem was with this library when I attempted to add the library to a newly created project. Before adding the library, I could add files with no problem, however, after adding in the library, I again received the error specified in the title to this query.
I then chanced removing the source directories completely from the library and tried again. Lo and behold, everything worked properly!!
So, what was causing it? Well, here's where I make my suppositions:
- Maybe it was because somebody could have changed the source files after I had added their location to the library.
- On the other hand, it might have been because the directory structure of the source did not reflect the directory structure of the compiled code.
- Finally, it might have been because of some sort of network failure - the network drive to which I refer is a 'virtual' drive, potentially made up of numerous physical volimes.
So if you ever come across this problem with JBuilder, you should at least know something more than I did to start out.