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.
Summary: | NPE at TokenListListUpdate.createJoinTokenListChange(TokenListListUpdate.java:269) | ||
---|---|---|---|
Product: | editor | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Lexer | Assignee: | Miloslav Metelka <mmetelka> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, pregmatch, victork |
Priority: | P1 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stack trace.
Workaround patch |
Description
Jiri Skrivanek
2013-11-13 09:25:40 UTC
Correction, since today's build 201311130002. *** Bug 238317 has been marked as a duplicate of this bug. *** Created attachment 142316 [details]
Workaround patch
Attached my workaround patch for the problem.
Meantime works fine - No NPE's and no disappear/corruption of nearby symbols on add/delete quotes and other tasks which triggered the regression.
Can help ppl till Miloslav comes back and fixes it.
Workaround patch triggers Assertion errors under some cirsumstances(). Proves its only partly suitable as temporary workaround. Yes, I have the same fix :-) Thanks. It took me a while to verify that the php test is fixed since the test was failing on another exception (php.editor module rebuild was needed). http://hg.netbeans.org/jet-main/rev/cac4ab86192e Indeed the fixes are similar :) but i'm sure your one got into right module and will not have assertion failures in lexer making the document empty in IDE like my one did(Whats why my is workaround and you as expected is a real fix :) ). Thanks. Since the problem in fact is a consequence of implementing issue 230125 which is already integrated in release74 I've also added this fix into release74: In release74: cac4ab86192e transplanted to f84244fd6d53 Integrated into 'releases/release74', will be available in build *201311181624* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/f84244fd6d53 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #238292 - NPE at TokenListListUpdate.createJoinTokenListChange(TokenListListUpdate.java:269). (transplanted from cac4ab86192e389c55f0b559a0c36861665f9dc7) Can this patch be merged into main-silver? (In reply to victork from comment #9) > Can this patch be merged into main-silver? It's already there: http://hg.netbeans.org/main-silver/rev/cac4ab86192e |