This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31215 - UNABLE TO INSTALL ON COMPONENTS PALETTE
Summary: UNABLE TO INSTALL ON COMPONENTS PALETTE
Status: CLOSED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 14:27 UTC by rdgmus
Modified: 2003-07-08 23:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.LOG file after the error. (16.59 KB, text/plain)
2003-02-19 14:29 UTC, rdgmus
Details
class PanelFibreOttiche (3.18 KB, text/plain)
2003-02-19 14:30 UTC, rdgmus
Details
class PanelFibreOtticheBeanInfo (74.54 KB, text/plain)
2003-02-19 14:34 UTC, rdgmus
Details
FibreOttiche.gif (15.00 KB, image/gif)
2003-02-19 14:34 UTC, rdgmus
Details
FibreOttiche16.gif icon of the bean on the components palette (1.04 KB, image/gif)
2003-02-19 14:35 UTC, rdgmus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdgmus 2003-02-19 14:27:33 UTC
I send you two classes I couldn't install on
component palette because they give me an error.
Other classes with the same structure don't give
me any error, so I don't understand where is the
problem. May in be I wrong something.
I send You the source code of the classes and the
log file ide.log.

Best Regards
Comment 1 rdgmus 2003-02-19 14:29:04 UTC
Created attachment 9033 [details]
IDE.LOG file after the error.
Comment 2 rdgmus 2003-02-19 14:30:51 UTC
Created attachment 9034 [details]
class PanelFibreOttiche
Comment 3 rdgmus 2003-02-19 14:34:22 UTC
Created attachment 9035 [details]
class PanelFibreOtticheBeanInfo
Comment 4 rdgmus 2003-02-19 14:34:55 UTC
Created attachment 9036 [details]
FibreOttiche.gif
Comment 5 rdgmus 2003-02-19 14:35:50 UTC
Created attachment 9037 [details]
FibreOttiche16.gif  icon of the bean on the components palette
Comment 6 Jan Becicka 2003-02-19 14:36:28 UTC
Componenets palette is part of form module
Comment 7 Tomas Pavek 2003-02-26 18:13:00 UTC
I can see NPE from your component:

java.lang.NullPointerException
        at
MailRdgSoftPkg.Graphics.PanelFibreOttiche.<init>(PanelFibreOttiche.java:33)


In PanelFibreOttiche.java, there is

URL urlImage =
      getClass().getResource("images/gradiente.gif");

If this resource does not exist (looks like that case), urlImage is
just set to null, then causing NPE on line 33.


So this is not bug in form editor, closing.