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 176909 - [68cat] AssertionError: org.netbeans.modules.html.editor.gsf.HtmlHintsProvider@54fabc supplied hint Description(desc=Unmatched tag,fixes=[org.netbeans.modules.html.editor.gsf.HtmlHintsProvider$DisableErrorChe
Summary: [68cat] AssertionError: org.netbeans.modules.html.editor.gsf.HtmlHintsProvide...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 07:22 UTC by udioron
Modified: 2010-03-12 15:34 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162194


Attachments
stacktrace (1.53 KB, text/plain)
2009-11-16 07:22 UTC, udioron
Details
stacktrace (1.46 KB, text/plain)
2010-03-12 15:34 UTC, laurin1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description udioron 2009-11-16 07:22:32 UTC
This issue was originally marked as duplicate of issue 175636, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200911070201)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows XP, 5.1, x86

User Comments:
GUEST: two netbeans problem

GUEST: Delete PHP block inside javascript block

GUEST: typing code -- mySql and php

GUEST: Reduced Projects column and resized gui (right side inwards)

GUEST: Recieved this when using autocomplete for html attribute

dreidmg: edit jsp

dreidmg: edit jsp

GUEST: editing a php file, happens any time when there's some html involved

fzamboj: opened php file

GUEST: cannot do a single edit after the initial exception, new ones occur as soon as one starts typing

fzamboj: well, now is throwing exception very often while editing. I opened php file and got the first exception and then tried to edit file. I pressed space and exception is here.

fzamboj: well, finaly looks like restart won't help

pribyl: I just opened html file (probably with some errors with html tags). No badges were displayed, only this Assertion appeared

pchytil: This exception still keeps jumping out every time I use the editor. It is almost unusable.

iamthegr1n: I was editing a php file. I was begining to write <div> in next line after ?> and probably the hinting service failed to provide completition.

mkroll: Open a old JSP-Page

musilt2: During ediring .hrml.erb file in rails app

GUEST: just doing my code and this message posp up, really annoying. I installed this beta/nightly build one becaus the version 6.5.1 was just hangin on "task scanning", is there a working netbeans version i can download?

alexismp: copy pasting XHTML code

dreidmg: open jsp

javierav: import a project from source files, netbeans was scanning and indexing...

sergey461: Edit XHTML  file

GUEST: Html autocomplete

GUEST: Html autocomplete

udioron: editing javascript

stefanv: Opened html file with inline php (some kind of template for CodeIgniter)

abjerkho: Clicking tab for viewing another file

GUEST: Coding HTML

GUEST: Opened a PHP file containing HTML that had an error by clicking the task.

GUEST: Attempting to edit a jsp file.  The file is displayed properly and can be edited but this error comes up whenever launching a new jsp for editing.

GUEST: Editing a php/html template in a Symfony project. Started typing an "<input>"-tag, and opted to allow editor to autocomplete. Note that I am running the jVi plugin.

jsedek: paste this code int JSP file:
----------------------
?<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
    <div >
-----------------------

AE is thrown after each modification

GUEST: Editing a pasted html file of  950 lines

GUEST: Autocompletition in a Web php file.

negora: I was editing a JSP file, working with a EJB facade and arrays.

kawazu428: editing a .jsp file; this one appears every third second or so.

pchytil: Switching to firefox, than back to PHP IDE.

pchytil: I was opening a single PHP file containing mediawiki skin class definition.

fzamboj: opened .phtml file

GUEST: editing PHP file.
File named: default.html.php

MVC structure, View file. Contained HTML and PHP script.
Format like below:
<li><strong>Valid for Locations: </strong> <?php echo $this->coupon->valid_loc; ?></li>;

GUEST: Just opened up a project -- wasn't really doing anything yet...

uipoet: Clicked my cursor inside a .gsp file. This is a very annoying bug!

moilejter: Typing into HTML page



Stacktrace: 
java.lang.AssertionError: org.netbeans.modules.html.editor.gsf.HtmlHintsProvider@54fabc supplied hint Description(desc=Unmatched tag,fixes=[org.netbeans.modules.html.editor.gsf.HtmlHintsProvider$DisableErrorChecksFix@c228e]) with invalid range OffsetRange[2155,2161>
        at org.netbeans.modules.csl.hints.GsfHintsProvider$2.run(GsfHintsProvider.java:334)
        at org.netbeans.modules.csl.hints.GsfHintsProvider$2.run(GsfHintsProvider.java:357)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
Comment 1 udioron 2009-11-16 07:22:36 UTC
Created attachment 91095 [details]
stacktrace
Comment 2 Marek Fukala 2009-11-20 02:19:11 UTC
133 duplicates and P3? 

However, I cannot reproduce the issue in any way. Without that I am affraid I cannot fix that except doing the same check as is done in the GsfHintsProvider on my side first and ignorting the errorneous hint.

OTOH as the assertion will be disabled in production build and the error will only be logged on INFO level, I belive it is fine not to fix it in 6.8.
Comment 3 Marian Mirilovic 2009-11-20 07:31:53 UTC
133 duplicates is really a lot, anybody on CC : are you able to reproduce it ?
Comment 4 Petr Jiricka 2009-11-24 22:36:35 UTC
Most of the exception reports come either from build 090914 or from the beta build (091021). Only two reports are from November:

http://statistics.netbeans.org/exceptions/exception.do?id=301409 (091107)
http://statistics.netbeans.org/exceptions/exception.do?id=302009 (091116)

So maybe this has improved? Looks like noone is able to reproduce it in a recent dev build?
Comment 5 Marek Fukala 2010-02-09 06:41:13 UTC
There wasn't a single report of the issue after the two from December Petr mentioned. The issue is very likely already fixed.
Comment 6 laurin1 2010-03-12 15:34:22 UTC
Created attachment 95121 [details]
stacktrace