Project

General

Profile

Bug #50

new mdeBean generates NullPointerException when run

Added by Matt Jones about 19 years ago. Updated over 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
07/31/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
50

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.

History

#1 Updated by Dan Higgins about 19 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.)

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 50

Also available in: Atom PDF