Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-973

When attempting to comment lines of code using alt+/ in PHP, stack overflow

    Details

      Description

      {html}<div><p>I have a file I use to create table views in my database. I just
      comment out code as I add to it to create new views. Below is what
      I was trying to comment out.</p>
      <pre>
      <code class="php">$columns = array(
      'year' => array(
      'th' => 'Year',
      'sortable'
      ),
      'quarter' => array(
      'th' => 'Quarter',
      'sortable'
      ),
      'volume' => array(
      'th' => 'Volume',
      'sortable'
      ),
      'receivable' => array(
      'th' => 'Receivable',
      'sortable'
      ),
      'gross_account' => array(
      'th' => 'Gross Account',
      'sortable'
      ),
      'active_account' => array(
      'th' => 'Active Account',
      'sortable'
      ),
      'cards' => array(
      'th' => 'Cards',
      'sortable'
      ),
      'row_options_short' => array('th' => '--')
      );
      $main_table = array(
      'table' => 'quarterly_reports',
      'orderby' => array('yeardesc', 'quarterasc'),
      'limit' => 25,
      'row_id' => 'quarter_id'
      );
      $sub_lookup_col = 'quarter_id';
      $table_properties = array(
      'id' => 'quarter_data',
      'class' => 'table sortable resizable',
      );
      $extra = array(
      'table_name' => 'quarterly_reports',
      'table_title' => 'Quarterly Reports',
      'icon' => 'table-money.png',
      'container' => 'quarterly_reports'
      );
      $db->data = array_merge($extra, array(
      'columns' => serialize($columns),
      'db_table' => serialize($main_table),
      'db_sub_tables' => null,
      'sub_lookup_col' => $sub_lookup_col,
      'table_properties' => serialize($table_properties)
      ));
      var_dump($db->insert());
      print_r($extra['table_name']); echo PHP_EOL;</code>
      </pre>
      <p>In the log is this over and over.</p>
      <p>!ENTRY org.eclipse.ui 4 0 2010-09-24 11:37:11.475 !MESSAGE
      Unhandled event loop exception !STACK 0
      java.lang.StackOverflowError<br></p>
      <pre>
      <code>at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
      at java.util.regex.Pattern$CharProperty.match(Pattern.java:3362)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
      at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
      at java.util.regex.Pattern$CharProperty.match(Pattern.java:3362)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
      at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
      at java.util.regex.Pattern$CharProperty.match(Pattern.java:3362)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
      at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
      at java.util.regex.Pattern$CharProperty.match(Pattern.java:3362)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
      at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
      at java.util.regex.Pattern$CharProperty.match(Pattern.java:3362)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
      at java.util.regex.Pattern$Loop.match(Pattern.java:4312)</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              danielrobbins Daniel Robbins
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code