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: | javax.swing.text.BadLocationException: Offset 7783 with bias Forward is outside of the view, children = 77 covering offsets <0, 5398>, docLen=5397 | ||
---|---|---|---|
Product: | obsolete | Reporter: | Sergey Petrov <sj-nb> |
Component: | visualweb | Assignee: | Peter Zavadsky <pzavadsky> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jomello_br, kvaso, marco_bresciani, mslama, ouribeb930, rrm6ii1, tomasbabic, zaiboot |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=147700 | ||
Issue Type: | DEFECT | Exception Reporter: | 147700 |
Attachments: | stacktrace |
Description
Sergey Petrov
2009-03-17 11:21:24 UTC
Created attachment 78287 [details]
stacktrace
My guess is that sometimes e.getEditorPane().getDocument() != getDocument() and then further down the offset where to scroll is computed from a different document instance than the one that is used in the ePane. Hence ePane.modelToView crashes. Sergey as I said in issue #121560 I cannot find Travel Center sample. Please add more details. Yes, it's in visual webplugin, and have full path 'Samples|Java Web (Visual JSF)|Corporate Travel Center). Model/model navigation in visualweb is broken. Please first make it work as expected and then if any reproducible problem persists assign it back to platform/text. I tried to reproduce with dev build as described above: 1. First problem: When I create sample projects there is a lot of errors in 'Page1'. 2. Thanks to problem 1 I am able to reproduce problem 2: When I create another compilation error in 'Page1' navigation from Design to Source using error link does not work. It navigates me to incorrect link or I get AIOOBE. |