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 16798 - GLoaderBeanInfo needs updating
Summary: GLoaderBeanInfo needs updating
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: antlr (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-20 13:34 UTC by _ derrick
Modified: 2001-11-11 18:59 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ derrick 2001-10-20 13:34:53 UTC
The GLoaderBeanInfo class says that GLoader has a getExtensions() method which
it does not:

java.beans.IntrospectionException: No method "getExtensions" with 0 arg(s)
        at java.beans.Introspector.findMethod(Introspector.java:985)
        at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:83)
        at
org.netbeans.modules.antlr.GLoaderBeanInfo.initializeDescriptors(GLoaderBeanInfo.java:70)
        at
org.netbeans.modules.antlr.GLoaderBeanInfo.getPropertyDescriptors(GLoaderBeanInfo.java:45)
        at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:346)
        at java.beans.Introspector.getBeanInfo(Introspector.java:296)
        at java.beans.Introspector.getBeanInfo(Introspector.java:81)
        at
org.netbeans.modules.projects.PSupport.hasGlobalAtrributeInBeanInfo(PSupport.java:539)
        at
org.netbeans.modules.projects.PSupport.isProjectObject(PSupport.java:516)
        at
org.netbeans.modules.projects.PSupport.getProjectObjects(PSupport.java:499)
        at org.netbeans.modules.projects.PSupport.projectSave(PSupport.java:323)
        at org.netbeans.modules.projects.PSupport$1.run(PSupport.java:788)
        at org.openide.util.Task.run(Task.java:124)
        at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)

This may be a carry-over from a previous version of MultiFileLoader which did
have this method or may be completely bogus. Anyway, it needs updating with the
available properties GLoader does have.
Comment 1 Jesse Glick 2001-10-20 16:26:59 UTC
It probably used to be a UniFileLoader.
Comment 2 _ derrick 2001-11-11 18:59:10 UTC
I think this was fixed as a byproduct of task 16555 secondary file
recognition.
We can always reopen it if not.