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 118509 - NPW while trying to open url property editor of hyperlink
Summary: NPW while trying to open url property editor of hyperlink
Status: REOPENED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gowri
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 09:40 UTC by akulinsk
Modified: 2009-03-26 14:57 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 4270


Attachments
stacktrace (2.82 KB, text/plain)
2007-10-11 09:40 UTC, akulinsk
Details
stacktrace (2.17 KB, text/plain)
2007-10-20 13:30 UTC, brettbergquist
Details
stacktrace (2.17 KB, text/plain)
2007-11-23 13:35 UTC, dante
Details
stacktrace (2.82 KB, text/plain)
2007-12-14 22:37 UTC, jrcampins
Details
stacktrace (2.82 KB, text/plain)
2007-12-18 18:05 UTC, jey350
Details
stacktrace (2.82 KB, text/plain)
2007-12-19 17:33 UTC, jey350
Details
stacktrace (2.82 KB, text/plain)
2007-12-27 23:41 UTC, cadorca
Details
stacktrace (2.75 KB, text/plain)
2007-12-28 19:47 UTC, marcosjunqueira
Details
stacktrace (2.82 KB, text/plain)
2008-01-04 12:15 UTC, acabrerisso
Details
stacktrace (2.17 KB, text/plain)
2008-01-09 19:57 UTC, jrcampins
Details
stacktrace (2.82 KB, text/plain)
2008-02-27 12:04 UTC, akbani
Details
stacktrace (2.17 KB, text/plain)
2008-03-18 16:30 UTC, nihao5999
Details
stacktrace (2.91 KB, text/plain)
2008-04-07 10:57 UTC, gerzhedowich
Details
stacktrace (2.65 KB, text/plain)
2008-04-11 10:47 UTC, avtii
Details
stacktrace (2.91 KB, text/plain)
2008-04-22 13:09 UTC, lkishalmi
Details
stacktrace (2.91 KB, text/plain)
2008-05-10 19:00 UTC, fkjaekel
Details
stacktrace (2.91 KB, text/plain)
2008-05-12 12:06 UTC, emangraviti
Details
stacktrace (2.91 KB, text/plain)
2008-05-14 04:44 UTC, thornd
Details
stacktrace (2.74 KB, text/plain)
2008-05-16 11:18 UTC, gerzhedowich
Details
stacktrace (2.82 KB, text/plain)
2008-05-19 17:10 UTC, jdayton
Details
stacktrace (2.82 KB, text/plain)
2008-05-19 20:56 UTC, jdayton
Details
stacktrace (2.91 KB, text/plain)
2008-05-25 05:29 UTC, thornd
Details
stacktrace (2.91 KB, text/plain)
2008-05-27 15:55 UTC, gkapswara
Details
stacktrace (2.26 KB, text/plain)
2008-06-02 14:32 UTC, fkjaekel
Details
stacktrace (2.26 KB, text/plain)
2008-06-09 10:13 UTC, autozoom
Details
stacktrace (2.91 KB, text/plain)
2008-09-05 11:00 UTC, jim99
Details
stacktrace (2.91 KB, text/plain)
2008-11-13 12:34 UTC, Maksim Khramov
Details
stacktrace (2.74 KB, text/plain)
2008-11-21 10:16 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akulinsk 2007-10-11 09:40:29 UTC
Build: NetBeans IDE 6.0 Beta 1 (Build 200709141330)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Exception (null pointer) occours each time I try to open property editor on url property of hyperlink widget. The problem existsed
in M10 as well.
Comment 1 akulinsk 2007-10-11 09:40:34 UTC
Created attachment 50668 [details]
stacktrace
Comment 2 _ gowri 2007-10-16 18:49:09 UTC
I am not able to reproduce the same with the latest bits. Marking it as worksforme.
Comment 3 Lark Fitzgerald 2007-10-17 21:15:57 UTC
Verified using Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710170700)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 4 brettbergquist 2007-10-20 13:30:00 UTC
Build: NetBeans IDE Dev (Build 200710170000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86

User Comments: 
Added a link to a style sheet on a JSP page and then tried to edit the URL property
Comment 5 brettbergquist 2007-10-20 13:30:08 UTC
Created attachment 51358 [details]
stacktrace
Comment 6 brettbergquist 2007-10-20 13:33:37 UTC
Still broken.  I have a simple page with just a few components.  I dragged and dropped a Link to the head of the page,
clicked on the link and then clicked on the [ ] button to edit the URL property.  The exception happens every time.
Comment 7 _ gowri 2007-10-22 18:40:36 UTC
Here is what I did

Created an EE5 project with the latest Netbeans bit
Dropped the Link component from Advanced section of Palette
From Navigator, selected Link to go to its properties window
In the property sheet, selected ... of the url property
And I didn't get any exceptions when the propertyeditor is open.

If these are not the steps you followed, please provide them. 
Marking it as INCOMPLETE
Comment 8 dante 2007-11-23 13:35:28 UTC
Build: NetBeans IDE Dev (Build 20071112092049)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
select imageURL properties for a Button
Comment 9 dante 2007-11-23 13:35:31 UTC
Created attachment 53401 [details]
stacktrace
Comment 10 Lark Fitzgerald 2007-11-28 20:38:27 UTC
I can not reproduce this.  Do you have references to EJB's in your apps?  I ask because of this post:
http://www.nabble.com/vwp-%3A-clicking-on--...--button-of-url-property-of-any-component-at-design-time-cause-an-error-
tf4824925.html
If you scroll down to the bottom he says:

"I encounter this problem only in two of my vwp projects, the example.rar attachment includes one of these two projects
and two ejb projects which it referenced. When click on [...] button of url property of any hyperlink component in this
project at design time, error above occurs, If I remove the two ejb projects from the vwp project Libraries,  close and
reopen it, the problem disappears."

Comment 11 jrcampins 2007-12-14 22:37:04 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
Comment 12 jrcampins 2007-12-14 22:37:07 UTC
Created attachment 54280 [details]
stacktrace
Comment 13 _ krystyna 2007-12-14 23:38:10 UTC
There must be something in the configuration because I cannot reproduce it on my
XP with jdk1.6.0_04.  I tried with hyperlink url, link url, button imageURL.
I tried with ee5 and 1.4 type project. Were these new or migrated (legacy) projects?
Comment 14 jey350 2007-12-18 18:05:01 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86

User Comments: 
Comment 15 jey350 2007-12-18 18:05:06 UTC
Created attachment 54367 [details]
stacktrace
Comment 16 _ gowri 2007-12-19 00:02:24 UTC
I can't reproduce the same. Please attach the project so that I can try to reproduce with the same.
Comment 17 jey350 2007-12-19 17:33:03 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86

User Comments: 
Comment 18 jey350 2007-12-19 17:33:12 UTC
Created attachment 54401 [details]
stacktrace
Comment 19 cadorca 2007-12-27 23:41:42 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
Trying to select an image for a button in a visual web project throw property editor
Comment 20 cadorca 2007-12-27 23:41:52 UTC
Created attachment 54542 [details]
stacktrace
Comment 21 marcosjunqueira 2007-12-28 19:47:00 UTC
Build: NetBeans IDE 6.0 (Build 200712270000)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
I was editing a url of a link in visual web editor when this error occurs.
Comment 22 marcosjunqueira 2007-12-28 19:47:04 UTC
Created attachment 54555 [details]
stacktrace
Comment 23 acabrerisso 2008-01-04 12:15:08 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows Vista, 6.0, x86

User Comments: 
changing the property imageURL in a Image Hyperlink in design-time
Comment 24 acabrerisso 2008-01-04 12:15:19 UTC
Created attachment 54686 [details]
stacktrace
Comment 25 jrcampins 2008-01-09 19:56:59 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
click on the imageURL property of a button
Comment 26 jrcampins 2008-01-09 19:57:03 UTC
Created attachment 54885 [details]
stacktrace
Comment 27 _ gowri 2008-01-22 23:18:51 UTC
I have tried this several times and still not able to reproduce the same. 
I clicked on the imageURL property of Button and didn't get any exceptions. Please try with a clean user directory and 
see if you still see the same.
Comment 28 jiai 2008-02-24 01:26:43 UTC
It doesn't works for me!
Product Version: NetBeans IDE 6.0.1 (Build 200801291616)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
Comment 29 _ krystyna 2008-02-26 21:57:13 UTC
Hello jiai, perhaps you can help us to reproduce this issue as we have tried everything. 
Can you supplying information on:

1. settings for Tools>Options>Proxy settings
2. server used creating project
3. test with clean userdir (especially if you imported settings) see http://wiki.netbeans.org/FaqAlternateUserdir
4. attach your project
Comment 30 akbani 2008-02-27 12:03:58 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 
Comment 31 akbani 2008-02-27 12:04:07 UTC
Created attachment 57343 [details]
stacktrace
Comment 32 nihao5999 2008-03-18 16:30:08 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
Comment 33 nihao5999 2008-03-18 16:30:24 UTC
Created attachment 58593 [details]
stacktrace
Comment 34 _ gowri 2008-03-18 17:40:31 UTC
Please attach your project not stacktrace. That helps me in investigating the problem.
Comment 35 gerzhedowich 2008-04-07 10:57:42 UTC
Build: NetBeans IDE Dev (Build 200803200007)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Linux, 2.6.24-15-generic, amd64

User Comments: 
Comment 36 gerzhedowich 2008-04-07 10:57:45 UTC
Created attachment 59758 [details]
stacktrace
Comment 37 avtii 2008-04-11 10:47:37 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 
Comment 38 avtii 2008-04-11 10:47:48 UTC
Created attachment 60036 [details]
stacktrace
Comment 39 lkishalmi 2008-04-22 13:09:10 UTC
Build: NetBeans IDE 6.1 RC1 (Build 200804100130)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14
OS: Windows XP, 5.1, x86

User Comments: 
Comment 40 lkishalmi 2008-04-22 13:09:18 UTC
Created attachment 60550 [details]
stacktrace
Comment 41 fkjaekel 2008-05-10 19:00:00 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-16-generic, i386

User Comments: 
Comment 42 fkjaekel 2008-05-10 19:00:03 UTC
Created attachment 61212 [details]
stacktrace
Comment 43 emangraviti 2008-05-12 12:06:06 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
When i click on the detail button of url property of the image palette in visual web jsf page.
Comment 44 emangraviti 2008-05-12 12:06:17 UTC
Created attachment 61253 [details]
stacktrace
Comment 45 _ krystyna 2008-05-12 22:01:16 UTC
More steps are needed to reproduce this bug. If someone from the community
could help us with additional details. This is what I have covered but found
no issues with:

--tested  button/hyperlink/imagehyperlink url/imageurl properties in 6.1  (Build 200804211638)
--tested using jdk1.6.0_02, 1.6.0_03, as well as 1.6.0_10 
--tested with 1.4 and ee5 type projects , meaning Braveheart/Woodstock components
--tested with button/hyperlink/imagehyperlink components added by nav editor
--tested with table customized column layout withh button/hyperlink/imagehyperlink components

Comment 46 thornd 2008-05-14 04:44:13 UTC
Created attachment 61366 [details]
stacktrace
Comment 47 gerzhedowich 2008-05-16 11:18:53 UTC
Created attachment 61475 [details]
stacktrace
Comment 48 jdayton 2008-05-19 17:10:58 UTC
Created attachment 61574 [details]
stacktrace
Comment 49 jdayton 2008-05-19 20:56:28 UTC
Created attachment 61581 [details]
stacktrace
Comment 50 thornd 2008-05-25 05:29:56 UTC
Created attachment 61880 [details]
stacktrace
Comment 51 jrcampins 2008-05-25 07:16:06 UTC
this bug has been around at least since I started using Java Studio Creator two years ago, and it seems it's here to stay!
Comment 52 gkapswara 2008-05-27 15:55:22 UTC
Created attachment 61988 [details]
stacktrace
Comment 53 fkjaekel 2008-06-02 14:32:36 UTC
Created attachment 62252 [details]
stacktrace
Comment 54 autozoom 2008-06-09 10:13:02 UTC
Created attachment 62544 [details]
stacktrace
Comment 55 jrcampins 2008-06-11 13:56:26 UTC
I'll be sending a revised sample project shortly
Comment 56 jim99 2008-09-05 11:00:25 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 
I added a GraphicImage to a VW page and then clicked the "..." next to the url attribute in the properties editor.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.generateTargetTree(UrlPropertyPanel.java:389)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.<init>(UrlPropertyPanel.java:134)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyEditor.getCustomEditor(UrlPropertyEditor.java:105)
        at org.netbeans.modules.visualweb.propertyeditors.binding.ValueBindingPropertyEditor.getCustomEditor(ValueBindingPropertyEditor.java:380)
        at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:129)
        at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:217)
Comment 57 jim99 2008-09-05 11:00:35 UTC
Created attachment 69134 [details]
stacktrace
Comment 58 Maksim Khramov 2008-11-13 12:34:25 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.generateTargetTree(UrlPropertyPanel.java:389)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.<init>(UrlPropertyPanel.java:134)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyEditor.getCustomEditor(UrlPropertyEditor.java:105)
        at org.netbeans.modules.visualweb.propertyeditors.binding.ValueBindingPropertyEditor.getCustomEditor(ValueBindingPropertyEditor.java:380)
        at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:129)
        at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:217)
Comment 59 Maksim Khramov 2008-11-13 12:34:29 UTC
Created attachment 73725 [details]
stacktrace
Comment 60 Maksim Khramov 2008-11-21 10:16:17 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.generateTargetTree(UrlPropertyPanel.java:389)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel.<init>(UrlPropertyPanel.java:134)
        at org.netbeans.modules.visualweb.propertyeditors.UrlPropertyEditor.getCustomEditor(UrlPropertyEditor.java:105)
        at org.netbeans.modules.visualweb.propertyeditors.binding.ValueBindingPropertyEditor.getCustomEditor(ValueBindingPropertyEditor.java:380)
        at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:129)
        at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:217)
Comment 61 Maksim Khramov 2008-11-21 10:16:28 UTC
Created attachment 73993 [details]
stacktrace
Comment 62 Marian Mirilovic 2009-03-26 14:57:27 UTC
181 duplicates ... so far, but all for older builds - fixed ?