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.
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)
Created attachment 91095 [details] stacktrace
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.
133 duplicates is really a lot, anybody on CC : are you able to reproduce it ?
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?
There wasn't a single report of the issue after the two from December Petr mentioned. The issue is very likely already fixed.
Created attachment 95121 [details] stacktrace