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 245263 - The Netbean-IDE (using 8.0) crashes in conjunction with Smarty "{/PHP}"-Tag and a comment
Summary: The Netbean-IDE (using 8.0) crashes in conjunction with Smarty "{/PHP}"-Tag a...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 13:21 UTC by Cipres
Modified: 2014-06-27 02:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (15.02 KB, application/octet-stream)
2014-06-26 13:47 UTC, Ondrej Brejla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cipres 2014-06-26 13:21:20 UTC
The Netbean-IDE (using 8.0) crashes in conjunction with Smarty "{/PHP}"-Tag and a comment

To reproduce, create a new PHP-Project, add a new empty Smarty-Template file:

type in the following:
{php}
//anycomment
{/php}

When you now press enter in the "comment-line" (after the '//' ) to begin a new line, netbeans freezes with > 50% CPU usage.

The important part is that there is no new line between the comment and the "{/php}"-Tag and that enter is pressed after the '//' but in the same line as the '//'
Comment 1 Ondrej Brejla 2014-06-26 13:47:03 UTC
PHP editor issue, thanks.
Comment 2 Ondrej Brejla 2014-06-26 13:47:30 UTC
Created attachment 147790 [details]
Thread dump
Comment 3 Ondrej Brejla 2014-06-26 14:02:03 UTC
Fixed in web-main #0a32ce3eab72
Comment 4 Quality Engineering 2014-06-27 02:28:27 UTC
Integrated into 'main-silver', will be available in build *201406270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0a32ce3eab72
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #245263 - The Netbean-IDE (using 8.0) crashes in conjunction with Smarty "{/PHP}"-Tag and a comment