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 246370

Summary: AssertionError: The same token (index: 61 - PHP_ENCAPSED_AND_WHITESPACE, format tokens: 115) was precessed before. Please report this to help fix issue 188809. <div class="container"> <div class
Product: php Reporter: cwt137
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204191
Attachments: stacktrace

Description cwt137 2014-08-10 17:11:02 UTC
Build: NetBeans IDE Dev (Build 2014-08-02_15-03-42)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_55-b14
OS: Linux

User Comments:
cwt137: Makeing some PHP code inside of an HTML attribute

GUEST: <Please provide a description of the problem or the steps to reproduce>sfdvg




Stacktrace: 
java.lang.AssertionError: The same token (index: 61 - PHP_ENCAPSED_AND_WHITESPACE, format tokens: 115)  was precessed before.
Please report this to help fix issue 188809.

<div class="container">
    <div class="row">
        <div class="col-sm-12 heading text-center" data-scroll-reveal>
            <h2>Verify your selection</h2>
            <p><span></span><i class="fa fa-heart"></i><span></span></p>
        </div>
        <h3>Just to confirm, is this what you meant to tell us:</h3>
    </div>
    <?= form_open('rsvp/confirm') ?>
    <section>
        <?php foreach ($people as $person) { ?>
            <div class="response">
                <p class="<?=(isset())">
                    <span><?= $person->name ?></span>
                    <span>is</span>
                    <span><?= ($person->isAttending) ? '' : 'NOT '; ?></span>
                    <span>attending
                        <?php if ($person->isAttending) { ?>
                            <span> and requested a <?= strtolower($person->food) ?> 
   at org.netbeans.modules.php.editor.indent.FormatVisitor.addFormatToken(FormatVisitor.java:1438)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.visit(FormatVisitor.java:332)
   at org.netbeans.modules.php.editor.parser.astnodes.ArrayElement.accept(ArrayElement.java:91)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:148)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.scan(FormatVisitor.java:226)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.visit(FormatVisitor.java:296)
Comment 1 cwt137 2014-08-10 17:11:14 UTC
Created attachment 148623 [details]
stacktrace