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 18277 - You must call super.initialize() from YourLoader.initialize()
Summary: You must call super.initialize() from YourLoader.initialize()
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-03 10:54 UTC by Jan Zajicek
Modified: 2003-07-01 15:16 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-12-03 10:54:44 UTC
release33 build #200111300330
jdk1.4.0-rc-b88

You must call super.initialize() from YourLoader.initialize(). Following note
was printed into the ide.log during ide start. Assigning to the first module in
the list and ccing others. After one fix is complete, then add comment about it
and/or pass this issue to other module. Marking this as P2.

<...snip...>
You must call super.initialize() from
org.netbeans.modules.java.JavaDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.pdf.PDFDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.url.URLDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.html.HtmlLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.form.FormDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.projects.ProjectDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.text.TXTDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.rmi.RMIDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.web.core.jsploader.ServletDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.web.html.HtmlLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.web.core.jsploader.JspServletDataLoader.initialize()
You must call super.initialize() from
org.netbeans.modules.autoupdate.Settings.initialize()
You must call super.initialize() from
org.netbeans.modules.openfile.Settings.initialize()
Comment 1 Vitezslav Stejskal 2001-12-03 12:26:55 UTC
Done for projects module, removing projects from CC.
Comment 2 Petr Jiricka 2001-12-03 13:05:00 UTC
Fixed for 

org.netbeans.modules.html.HtmlLoader.initialize()
org.netbeans.modules.web.html.HtmlLoader.initialize()

in branch release33. The other loaders belonging to module web will 
be fixed by fixing this in module java, as they subclass its 
dataloader.
Comment 3 _ lkramolis 2001-12-03 15:28:05 UTC
Fixed for utilities module in release33 branch:

/cvs/utilities/src/org/netbeans/modules/openfile/Settings.java,v  <--
 Settings.java
new revision: 1.22.14.1; previous revision: 1.22

Checking in src/org/netbeans/modules/pdf/PDFDataLoader.java;
/cvs/utilities/src/org/netbeans/modules/pdf/PDFDataLoader.java,v  <--
 PDFDataLoader.java
new revision: 1.3.14.1; previous revision: 1.3

Checking in src/org/netbeans/modules/url/URLDataLoader.java;
/cvs/utilities/src/org/netbeans/modules/url/URLDataLoader.java,v  <--
 URLDataLoader.java
new revision: 1.17.14.1; previous revision: 1.17

--

Q: Will this be fixed in NB3.3 or is it 3.3.0_WAIVER?
Comment 4 Jan Zajicek 2001-12-03 15:32:33 UTC
CCing Jesse to answer last questin, afaik the message is his. I am not
sure if this should go into 330.
Comment 5 Svata Dedic 2001-12-03 16:50:11 UTC
Fixed in both trunk and release33 branch in Java module. Am I last ?

/cvs/java/src/org/netbeans/modules/java/JavaDataLoader.java,v  <-- 
JavaDataLoader.java
new revision: 1.56.14.1; previous revision: 1.56

/cvs/java/src/org/netbeans/modules/java/JavaDataLoader.java,v  <-- 
JavaDataLoader.java
new revision: 1.58; previous revision: 1.57

Comment 6 Tomas Pavek 2001-12-03 16:52:34 UTC
Form is OK - extending JavaDataLoader...
Comment 7 Jan Zajicek 2001-12-03 17:22:20 UTC
AU and Text modules are the last ones.
Comment 8 Jesse Glick 2001-12-03 19:59:14 UTC
Someone saw my log message! :-)

Note the message is not printed in release330 branch. I see no reason
to merge such changes to 3.3.0 unless there is some reason to think
specific harm is being done. *Currently* the super.initialize() are
all no-ops, I think.

I already took care of core/openide SharedClassObject's.

All apisupport templates also include the super call.
Comment 9 akemr 2001-12-04 07:40:40 UTC
Autoupdate fixed (trunk: 1.18 and release33: 1.16.2.2)
Comment 10 Miloslav Metelka 2001-12-14 16:16:01 UTC
Fixed in text module
trunk:
/cvs/text/src/org/netbeans/modules/text/TXTDataLoader.java,v  <-- 
TXTDataLoader.java
new revision: 1.26; previous revision: 1.25

release33:
/cvs/text/src/org/netbeans/modules/text/TXTDataLoader.java,v  <-- 
TXTDataLoader.java
new revision: 1.25.14.1; previous revision: 1.25
Comment 11 Jan Zajicek 2001-12-17 08:59:26 UTC
All modifications are done. Marking as fixed.
Comment 12 Jan Zajicek 2001-12-17 09:04:52 UTC
verified in release33#200112170331
Comment 13 Quality Engineering 2003-07-01 15:16:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.