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 254290 - StackOverflowError at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan
Summary: StackOverflowError at org.netbeans.modules.php.editor.parser.astnodes.visitor...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 04:03 UTC by Exceptions Reporter
Modified: 2016-08-29 06:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219104


Attachments
stacktrace (107.03 KB, text/plain)
2015-08-12 04:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-08-12 04:03:41 UTC
This bug was originally marked as duplicate of bug 166982, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8.1

User Comments:
GUEST: I was looking on the Tools menu, maybe opening Plugins item, while 8.1 was scanning projects in background




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:148)
   at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:200)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:378)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:430)
   at org.netbeans.modules.php.editor.parser.astnodes.InfixExpression.accept(InfixExpression.java:139)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:148)
Comment 1 Exceptions Reporter 2015-08-12 04:03:44 UTC
Created attachment 155276 [details]
stacktrace
Comment 2 junichi11 2015-11-27 03:59:07 UTC
There may be a too long infix notation. 
e.g. 
$x = 'foo' . $a . [...] . 'bar' . $b . [...];

$x = 1 + $a + [...] * $z - [...];