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 38798 - [jtidy] Auto suggest goes wrong with <option> tag
Summary: [jtidy] Auto suggest goes wrong with <option> tag
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 10:08 UTC by stuartrace
Modified: 2009-11-07 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stuartrace 2004-01-15 10:08:59 UTC
When using the suggestion feature (very useful by 
the way) on jsp pages, if the page/pagelet 
contains an <option> tag (as in when using the 
<select> tag, the following error is displayed:

Exception occured in Request Processor

-> Show Details:

Annotation: Exception occurred in Request 
Processor
java.lang.NullPointerException
	at 
org.w3c.tidy.ParserImpl.XMLPreserveWhiteSpace
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at org.w3c.tidy.ParserImpl.parseXMLElement
(Unknown Source)
	at 
org.w3c.tidy.ParserImpl.parseXMLDocument(Unknown 
Source)
	at org.w3c.tidy.Tidy.parse(Unknown Source)
	at org.w3c.tidy.Tidy.parse(Unknown Source)
	at 
org.netbeans.modules.tasklist.html.TidySuggester.s
can(TidySuggester.java:145)
	at 
org.netbeans.modules.tasklist.html.TidySuggester.r
escan(TidySuggester.java:60)
	at 
org.netbeans.modules.tasklist.suggestions.Suggesti
onManagerImpl$2.run
(SuggestionManagerImpl.java:1678)
	at org.openide.util.Task.run
(Task.java:136)
	at 
org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
[catch] at 
org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:670)
Comment 1 _ pkuzel 2004-01-15 11:03:04 UTC
It's coming from thirdparty library try latest
<http://jtidy.sourceforge.net/> and let me know. I could be worth to
upgrade our bundled copy.
Comment 2 stuartrace 2004-01-15 11:25:38 UTC
It seems their last release (in 2001) was release 7 which i believe 
is what you have bundled. But according to their site they are 
starting development again now so may fix the bug.
Comment 4 _ pkuzel 2004-07-19 09:26:20 UTC
jtidy maintainer is interested in. He needs complete document as he
cannot reproduce. Please attach it
Comment 5 Stanislav Aubrecht 2009-09-24 15:05:38 UTC
closing, please reopen if still applicable