Bug #50
closednew mdeBean generates NullPointerException when run
0%
Description
Running the new dmanclinet code with the mdeBean generates a
NullPointerException when a new document is created. The npe is associated with
loading the icons for the tree in mde.
To reproduce:
1) open dmanclient and switch to the metaeditor tab
2) File->New->EML-Variable
3) null pointer exception occurs, wait a few seconds to get control back, will
see tree with default icons rather than custom icons.
In general, we should change all of this image loading code to use getResource()
calls rather than symantec call and sun Toolkit calls as is currently done.
Updated by Dan Higgins over 24 years ago
Bug fixed by minor changers in code and placing gif files in proper location
(Loding using getResource() appends package path to resource string - Thus gif
for icons need to be in the same path as package that loads them.)