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 56511 - [41cat] NPE after using hyperlink on CC window
Summary: [41cat] NPE after using hyperlink on CC window
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-03-16 08:42 UTC by cezariusz
Modified: 2006-03-24 12:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (93.04 KB, text/plain)
2005-03-16 08:42 UTC, cezariusz
Details
Where to click (10.93 KB, image/png)
2005-03-16 10:34 UTC, cezariusz
Details
NPE thrown when clicking "Deprecated" in help window. (2.55 KB, text/plain)
2005-03-16 13:52 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2005-03-16 08:42:04 UTC
[ BUILD # : 200503061900 ]
[ JDK VERSION : 1.5.0_01 ]

1. Write:
<cent
2. Call CC
3. Click on "deprecated"
4. Wait a second
5. NPE will occur until restart of IDE.
Comment 1 cezariusz 2005-03-16 08:42:54 UTC
Created attachment 20873 [details]
messages.log
Comment 2 zikmund 2005-03-16 09:14:20 UTC
BTW: CC should be invoked on position | -- it's <center> tag from HTML help.
   <cen|t

I'm not able to reproduce it on WinXP, JDK 1.5.0_02 in JSP nor in HTML.
Comment 3 Petr Pisl 2005-03-16 10:08:35 UTC
Hi Cezariusz,

the NPE is from obtaining the font size. The default font size was changed a few
days ago so I expect, that it could be there a connection with this. 

Did you try new build with old userdir? Or did you set up a font size before for
something? I'm asking, because I'm not able to reproduce it as well. 
Comment 4 cezariusz 2005-03-16 10:25:16 UTC
1. It also happens with clean userdir (100% reproducible here)
2. I didn't change any font sizes, just installed the new daily build over 
previous one.
Comment 5 cezariusz 2005-03-16 10:34:59 UTC
Created attachment 20881 [details]
Where to click
Comment 6 Petr Pisl 2005-03-16 12:49:35 UTC
I'm not stil able to reproduce it on my Linux mashine. Karel could you try it on
win XP?
Comment 7 Jiri Kovalsky 2005-03-16 13:50:41 UTC
I can't reproduce it either in #200503061900 but with JDK 1.5.0_02 on Windows
XP. I wonder if you could test it with Java 5 Update 2 and I will do the same
with your Java 5 Update 1. I would also be curious if you use proxy and
firewall. Any info is appreciated. I have received only one NPE during my
testing but it's not the same. See attachment.
Comment 8 Jiri Kovalsky 2005-03-16 13:52:11 UTC
Created attachment 20891 [details]
NPE thrown when clicking "Deprecated" in help window.
Comment 9 _ rkubacki 2005-03-16 13:59:54 UTC
According to log file you run on 1.5.0-b64 and not 1.5.0_01. I can reproduce it
on this JDK version and it works well on my JDK1.5.0_02-b07. I am not sure what
is right resolution but it is probably not so important.
Comment 10 Petr Pisl 2005-03-16 14:29:36 UTC
Radim, you are right. Thanks for the notice this. So it's look like a bug in the
swing. 
Comment 11 cezariusz 2005-03-17 21:25:53 UTC
You're right, there was JDK 5.0 on that machine. After installing Update 2 the 
exception no longer occurs. Sorry for the confusion.