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 117761 - [60cat] JavaDoc hints on current line stopped working
Summary: [60cat] JavaDoc hints on current line stopped working
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-10-04 12:30 UTC by tboerkel
Modified: 2007-11-05 13:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (426.50 KB, text/plain)
2007-10-24 08:52 UTC, tboerkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-10-04 12:30:30 UTC
[ BUILD # : 200710011200 ]
[ JDK VERSION : 1.6.0_02 ]

I have set JavaDoc hints for error and create to show as warning on
current line in the private scope.

But nothing shows on the current line. Setting them to appear as
global warning (in the error stripe) works.

I think, this worked OK in Beta 1.
Comment 1 Jiri Prox 2007-10-05 08:29:30 UTC
This works fine for me, can you provide an example of code where it does not work (with marked position of the cursor). 
Comment 2 tboerkel 2007-10-05 09:13:46 UTC
After installing the newest nightly build, it works again. Coincidence? I don't know. If it happens again, I'll reopen
the issue.
Comment 3 tboerkel 2007-10-24 08:50:55 UTC
This happened again in Beta 2. Reopening and attaching log.
Comment 4 tboerkel 2007-10-24 08:52:18 UTC
Created attachment 51547 [details]
log
Comment 5 Jan Pokorsky 2007-10-24 10:16:52 UTC
Suspicious is the first InterruptedException. It could cause that editor settings are not stored/loaded properly.

Please try to change the javadoc hint settings again and check if the exception occurs again. In case the hints do not
work try to switch to another editor tab and back or restart IDE.

I do not see any problem on the javadoc module side.

Reassigning to editor/settings for evaluation.
Comment 6 tboerkel 2007-10-24 10:39:12 UTC
Now I changed back to "global warning" and deacticated the hints (as it's standard), restarted NB, changed settings
(activate and "warning on line") and it works.

So again, I cannot reproduce. :-(
Comment 7 Vitezslav Stejskal 2007-10-24 13:09:05 UTC
The InterruptedException is intermittent IMO, which would explain why it sometimes works and the other times not. Let's
leave it open for a while and see if we can track it down.
Comment 8 Vitezslav Stejskal 2007-10-26 10:15:14 UTC
I fixed the access to the settings files, so the exception should not happen again.

Checking in MacrosMIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/MacrosMIMEOptionFile.java,v  <--  MacrosMIMEOptionFile.java
new revision: 1.13; previous revision: 1.12
done
Checking in BaseOptions.java;
/cvs/editor/src/org/netbeans/modules/editor/options/BaseOptions.java,v  <--  BaseOptions.java
new revision: 1.157; previous revision: 1.156
done
Checking in KeyBindingsMIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/KeyBindingsMIMEOptionFile.java,v  <--  KeyBindingsMIMEOptionFile.java
new revision: 1.20; previous revision: 1.19
done
Checking in AbbrevsMIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/AbbrevsMIMEOptionFile.java,v  <--  AbbrevsMIMEOptionFile.java
new revision: 1.15; previous revision: 1.14
done
Checking in PropertiesMIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/PropertiesMIMEOptionFile.java,v  <--  PropertiesMIMEOptionFile.java
new revision: 1.10; previous revision: 1.9
done
Checking in MIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/MIMEOptionFile.java,v  <--  MIMEOptionFile.java
new revision: 1.12; previous revision: 1.11
done
Checking in FontsColorsMIMEOptionFile.java;
/cvs/editor/src/org/netbeans/modules/editor/options/FontsColorsMIMEOptionFile.java,v  <--  FontsColorsMIMEOptionFile.java
new revision: 1.10; previous revision: 1.9
done