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 134857 - Exception at org.netbeans.modules.editor.indent.IndentImpl.reformat
Summary: Exception at org.netbeans.modules.editor.indent.IndentImpl.reformat
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: Facelets 1.1.x (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ potingwu
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-12 14:00 UTC by Jan Horvath
Modified: 2013-02-13 10:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 15428


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2008-05-12 14:00:10 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86
User comments: I use nbfaceletssupport-0-6!
STACKTRACE: (first 10 lines)
java.lang.Exception
        at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:269)
        at org.netbeans.modules.editor.indent.FormatterImpl.reformat(FormatterImpl.java:161)
        at org.netbeans.modules.web.jsf.simplesnippets.JSPPaletteUtilities.insert(JSPPaletteUtilities.java:67)
        at org.netbeans.modules.web.jsf.simplesnippets.JSPPaletteUtilities.insert(JSPPaletteUtilities.java:45)
        at org.netbeans.modules.web.jsf.simplesnippets.SimpleSnippet.handleTransfer(SimpleSnippet.java:48)
        at org.openide.text.QuietEditorPane$DelegatingTransferHandler.importData(QuietEditorPane.java:249)
        at javax.swing.TransferHandler.importData(TransferHandler.java:745)
        at javax.swing.TransferHandler$DropHandler.drop(TransferHandler.java:1468)
        at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
        at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:1193)
Comment 1 Jan Horvath 2008-05-12 15:34:22 UTC
annoying exception -> P2
Comment 2 _ potingwu 2008-05-12 17:26:17 UTC
Please giving the reproducible steps, I cannot reproduce this issue. Thanks!
Comment 3 _ potingwu 2008-05-12 19:04:41 UTC
I have refined the usage of org.netbeans.editor.Formatter.reformat by following the required pattern. And fix several
race-condition issues here. Please try again either by building your own binaries or grab it from my Blog.

    http://blogs.sun.com/poting/entry/build_and_install_facelets_support

If you can add you reproducible steps here, then that would be even better. Thanks!