B4J Question Problem while compiling B4J [SOLVED]

GMan

Well-Known Member
Licensed User
Longtime User
When compiling, sometimes the following error comes up:

B4X:
Fehler: Beim Versuch, Datei C:\Users\franz\Documents\B4X\SpottyNEU\B4J\Objects\Spotty.jar zu öffnen, ist ein unerwarteter Fehler aufgetreten

Error: An unexpected error occurred while attempting to open the file C:\Users\franz\Documents\B4X\SpottyNEU\B4J\Objects\Spotty.jar

After this, i have to make a new path, copy all projrct files into it and can start again.

Whats the reason for that ?
 

Daestrum

Expert
Licensed User
Longtime User
Check task manager to make sure the old java process has ended. If it is still running it could lock the .jar on disk.
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
I tried this already 'cause i thougth the same.
Nothing to see in Taskmanager

Even after i switched the PC off and on the error occurs

Also deleting the .jar doesnt help
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
I found out the following:

AFTER if i click SYNCHRONIZE in the Files-Tab of the IDE always the error occurs.


Cant believe that this could be a issue of the IDE (latest version)
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
I didnt test it in Debugmode...now the problem seems to be solved:
i had a .ZIP file in my files folder, that was also in the SHARED folder.
After deleting the file from Files ;) it works again without problems: synchronizing is working with no problems
 
Upvote 0
Top