You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Danil (JIRA)" <ji...@apache.org> on 2019/08/01 10:45:00 UTC

[jira] [Comment Edited] (NETBEANS-1872) Background scan stalls on specific PHP file

    [ https://issues.apache.org/jira/browse/NETBEANS-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897962#comment-16897962 ] 

Danil edited comment on NETBEANS-1872 at 8/1/19 10:44 AM:
----------------------------------------------------------

And additional, I add the test for reproduce:
{code:java}
public void testNETBEANS1872() {
        assertParses("aa {\n"
                + "    @@@"
                + "    #@@@"
                + "}"
        );
    }
{code}
to ide/css.lib/test/unit/src/org/netbeans/modules/css/lib/Css3ParserLessTest.java

If run this test, it will looping


was (Author: crodar):
And additional, I for reproduce, add
{code:java}
public void testNETBEANS1872() {
        assertParses("aa {\n"
                + "    @@@"
                + "    #@@@"
                + "}"
        );
    }
{code}
to ide/css.lib/test/unit/src/org/netbeans/modules/css/lib/Css3ParserLessTest.java

If run this test, it will looping

> Background scan stalls on specific PHP file
> -------------------------------------------
>
>                 Key: NETBEANS-1872
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1872
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Parsing &amp; Indexing, ide - Performance, web - CSS Editor
>    Affects Versions: 8.2, 10.0, 11.0
>            Reporter: Mondane
>            Priority: Major
>              Labels: background-scanning
>         Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists