pierstocazzo / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

null pointer dereference in com.jme.system.PropertiesDialog.setImage #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you call setImage with a malformed URL, the exceptions of the URL 
constructor is ignored and after this, the URL (which is null) is used and 
dereferenced which causes a null-Exception.

To solve this, you should the futher processing of the URL in the try-
block.
But think about it, that the exception should really be ignored because 
the user will then not be able to notice that the loading of the image 
failed.

Version: SVN Trunk of 2009/08/22

Original issue reported on code.google.com by Flori...@gmx.net on 23 Aug 2009 at 12:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by remy.bou...@gmail.com on 9 Feb 2011 at 9:24

GoogleCodeExporter commented 9 years ago
closing old, applied, invalid and wrongly posted issues, all people searching 
for help please use the forum at jmonkeyengine.org

Original comment by normen667 on 7 Jun 2011 at 11:44