Files create with JCreator appear blank when opened through Windows client.

  • 7009189
  • 16-Aug-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

While JCreator is open, no changes to the file seem to be reflected on the Windows client machine.  Instead, the file shows up as blank but appears complete when opened by other programs.

When JCreator is closed, changes to the file are reflected normally on the Windows client.
At all times, however, on the server the file always contains the latest changes.

Resolution

The issue has been  fixed and included in the July 2011 maintenance patch.

Additional Information

The problem can be reproduced like this. It is important to note that JCreator saves (or at least *should* save the file, theoretically), every time the project is built:

- open a Java file in JCreator and build => the project builds ok

- make a syntax error in the file and build => the project still builds,  although it should not, due to the syntax error.

- open the file through Windows explorer and notepad at this point => file  shows up as blank! At the same time, when checking the file on the server  directly with e.g. "cat", the syntax error is there.

- edit the (blank) file with notepad, fill it with random characters, save in  notepad => project still builds in JCreator, and the file still shows up as  blank if opened through explorer/notepad again. Again, on the server, the  most recent changes done in notepad can be seen when viewing the file.

- close JCreator and open the file in notepad => the file now shows up  perfectly fine in notepad (not blank), with the latest changes applied.