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 169009 - "External HTML Browser" module has an undeclared dependency.
Summary: "External HTML Browser" module has an undeclared dependency.
Status: RESOLVED INCOMPLETE
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL: http://wiki.netbeans.org/TaT_FixExter...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 08:01 UTC by polytekpatrick
Modified: 2013-07-08 08:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full Exception text (4.47 KB, text/plain)
2009-07-23 08:02 UTC, polytekpatrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description polytekpatrick 2009-07-23 08:01:20 UTC
This dependency should be declared so that the Resolve button can handle it automatically. I presume that this should be
easy to fix.

I had the "Visual Library API" module disabled because it seemed that nothing in my platform project required it (there
was no red warning on the Libraries screen of the Project Properties dialog). Without having the "Visual Library API"
module enabled, the Options page is able to show the list of available Browsers and launch the configured one when a
link is clicked. However, when you click the "Edit..." button in the Options page it causes an exception that starts with:
java.lang.IllegalArgumentException: Property editor
org.openide.explorer.propertysheet.PropUtils$NoPropertyEditorEditor@552efed9 for property
org.openide.explorer.propertysheet.ModelProperty$DPMWrapper@0 does not support a custom editor.

(full Exception attached separately)

It was not at all obvious from the exception that "Visual Library API" needed to be included; I simply figured it out
through some trial and error. There may be other undeclared dependencies that were overlooked like this one; I didn't
test for others.

For the time being, I have posted about this issue on a related Wiki page:
http://wiki.netbeans.org/TaT_FixExternalWebBrowserInRCPApp
Comment 1 polytekpatrick 2009-07-23 08:02:26 UTC
Created attachment 85103 [details]
Full Exception text
Comment 2 polytekpatrick 2009-07-23 19:29:46 UTC
I'm using today's development build now (NetBeans IDE Build 200907230201) and just found another undeclared dependency:
on the "Core - Execution" module, also in the platform cluster.
Comment 3 Petr Jiricka 2009-08-26 17:07:57 UTC
I must say I don't understand this request. The extbrowser module does not use the Visual Library API, so why should it
declare a dependency on it?

It sounds to me like the fix should be on the side of the Options dialog. See also issue 170928.
Comment 4 ibeaumont 2011-01-12 13:17:06 UTC
I had this same error, and found I needed to include the "Master Filesystem" module from the platform node to fix it.

So the ExtBrowser does seem to have some undeclared dependencies.  I'm not sure if that is on the Visual Library API though.  Hence I have changed the Summary description.

I'm using 6.9.1
Comment 5 Petr Jiricka 2013-06-25 16:46:17 UTC
Can someone please confirm whether this is still a problem in 7.4 trunk builds after the fix of bug 228250? If so, what additional dependency is needed? Thanks.
Comment 6 Tomas Mysik 2013-07-08 08:38:42 UTC
No response for some time, so marking as INCOMPLETE. Feel free to reopen but please tell us what dependency is missing.

Thanks.