Closed GoogleCodeExporter closed 8 years ago
This issue must be due to the nifty object not closing the file properly when
theres issues and should be fixed by either the niftygui developer or the
developer of the jme3 implementation:
public Object call() throws Exception {
try {
nifty.fromXml(pm.getRelativeAssetPath(niftyObject.getPrimaryFile().getPath()), screen);
if (screen == null || screen.length() == 0) {
Collection<String> screens = nifty.getAllScreensName();
for (Iterator<String> it = screens.iterator(); it.hasNext();) {
String string = it.next();
nifty.gotoScreen(string);
return null;
}
}
} catch (Exception ex) {
Message msg = new NotifyDescriptor.Message(
"Error opening File:" + ex,
NotifyDescriptor.ERROR_MESSAGE);
DialogDisplayer.getDefault().notifyLater(msg);
Exceptions.printStackTrace(ex);
}
return null;
}
Original comment by normen667
on 4 Sep 2011 at 9:36
Original issue reported on code.google.com by
ShadowIs...@gmail.com
on 4 Sep 2011 at 8:54Attachments: