JBuilder surprize
Hello guys hwo use JBuilder.
I use JBuilder4 and 20 minutes ago it played with me a strange game. I worked and everything was ok untill I've decided to save a project on diskette. Then if I wanted to save something it always asked for diskette.
I quit JBuilder but to my surprize I couldn't start it again clicking on my project data.jpr
I restarted computer but id didn't help : if I try to start my project clicking data.jpr it always asked a diskette and even with inserted diskette it didn't work!
When I try to start JBuilder.exe it writes me following :
Unable to create Browser socket at port 8'888.
And then again a window : there is no disk in drive a..
I tried to close a window which gave me JBuilder
and received :
***Shutdown request received ***
Attempting to save all open files.java.lang.NullPointerException
at
1 com.Borland.primetime.ide.ProjectView.getOpenProjects(unknown sourse).
2 com.Borland.primetime.ide.Browser.doSaveAll(unknown sourse)
3 com.Borland.primtime.ide.eh.run (unknown source)
Unable to save one or more files.
What does it mean?
Help please if anybody can!! I'am shocked!
[1249 byte] By [
M_Timur] at [2007-9-26 1:32:39]

Sorry, but it seems stupid to me to let JBuilder save a project on diskette.
I would always use JBuilder on a local HD drive, even not on network drives.
If you have finished your JBuilder work, you can save your project directory whereever you want.
But to use it furtherly, copy it on a HD drive again.
To help you from your problem:
Put in this diskette.
Open JBuilder.
Close this diskette project.
Close JBuilder.
Pull out your diskette.
Open JBuilder again.
Everything ok?
If not (I may have thought something wrong):please post again.
And to be honest against JBuilder, we should mention, that this could happen just the same way with nearly every file saving application.
1. Jbuilder projects end on jpr not jpx!
2. you can try the following:
- shut down JB
- make a backup copy of the jpr file in case something goes wrong in the following steps:
- open the jpr of your ill project in an texteditor (notepad for example).
you'll notice all the files making up your project in there
with the path where to load them from.
- Check that your disc drive isn't mentioned in there
if it is fix the entry to point to your HD or remove the entry totally.
- save the file
- restart JB
Hope it works
Spieler
> 1. Jbuilder projects end on jpr not jpx!
No, spieler, since JBuilder 4 - at least - there are both formats available. .jpx is XML-based.
You can choose for a new project, which you want, but the defaults are version-dependant, I think.
(JBuilder 4 Foundation suggests .jpr, Professional .jpx, if I remember right.)
But the rest of your post should be appliable on .jpx as well.