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 - 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
Summary: AssertionError: The same token (index: 61 - PHP_ENCAPSED_AND_WHITESPACE, form...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-10 17:11 UTC by cwt137
Modified: 2016-08-29 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204191


Attachments
stacktrace (9.18 KB, text/plain)
2014-08-10 17:11 UTC, cwt137
Details

Note You need to log in before you can comment on or make changes to this bug.
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