You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Korney Czukowski <cz...@seznam.cz> on 2020/03/17 07:46:41 UTC
NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Hi,
Could anybody help me with this issue?
I see this error when I try to run PHP Editor module:
java.lang.NoClassDefFoundError:
org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions (full
stack trace below). I've edited a few other smaller PHP-related modules
before and it hasn't happen.
I can reproduce the issue this way:
* ant clean build (build successful)
* open PHP Editor project, change a file (I tried
InitializeFieldSuggestion.java from
org.netbeans.modules.php.editor.verification), just added an extra
new line, nothing else
* ant -f php/php.editor run
* open a small project with PHP sources, a dialog window with the
exception appears almost immediately
* I can still dismiss the dialog and click around NetBeans, but the
dialog keeps reapperaring every couple of clicks
My environment:
* Windows 10
* Apache Ant(TM) version 1.10.7 compiled on September 1 2019
From dev IDE Help/About:
* *Product Version:* Apache NetBeans IDE DEV (Build
dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
* *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
* *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
My main IDE installation uses Java 12.0.2, I wanted to try running with
the dev build with that, but adding netbeans_jdkhome="C:\Program
Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
seem to have the effect.
Full stack trace:
java.lang.NoClassDefFoundError:
org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
at
org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
at
org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
at
org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
at
org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
at
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
(1) NetBeans 11.3 (I think I've also run into the same issue with the
previous one, but the release was imminent so I decided to wait for that
and try then)
(2) Compiled with JDK 1.8, Help/About dialog displays: Java(TM) SE
Runtime Environment 1.8.0_212-b10
(3) No, did not occur to me this might be relevant, where do I find
these? (are they different from those the main IDE installation is using?)
(4) Yes
(5) Apache Ant(TM) version 1.10.7 compiled on September 1 2019
17.04.2020 20:22, Eric Bresie wrote:
> I'll ask some of the obligatory question....
>
> (1) What version of Netbeans?
> (2) What version of Java did you compile with and/or run with?
> (3) Did you clean your user/cache folders?
> (4) Did you clean before rebuilding?
> (5) What version of build tools (i.e. ant, maven, etc.) are you using?
>
> Eric Bresie
> ebresie@gmail.com
>
>
> On Fri, Apr 17, 2020 at 3:32 AM Korney Czukowski <cz...@seznam.cz>
> wrote:
>
>> Sadly, no. I do a full build, try run the module, it works, then do a
>> change, run again, this exception appears.
>>
>> It works with some modules, but not this one (PHP Editor). I still think
>> this is something at my end, because I asked Junichi in [1] and he
>> replied that he hasn't had an issue with it. I wanted to try building
>> the module before running it to see if it would help, but ran into
>> command line length limitation on Windows due to a long classpath list
>> (that was on unit tests step which is apparently skipped in the full IDE
>> build, so the full build works for me), so as of now I've no idea what
>> to try next.
>>
>> [1]: https://issues.apache.org/jira/browse/NETBEANS-3980
>>
>>
>> 17.04.2020 9:20, Geertjan Wielenga wrote:
>>> The way to work with the sources is to first build the whole Apache
>>> NetBeans, then open a specific module you want to work on into the IDE,
>>> change it, and then run it. It will then be installed into a new instance
>>> of the built IDE.
>>>
>>> Does this approach not work for you?
>>>
>>> Gj
>>>
>>> On Fri, Apr 17, 2020 at 8:45 AM Korney Czukowski <cz...@seznam.cz>
>>> wrote:
>>>
>>>> Doesn't this ring any bells to anybody here?
>>>>
>>>> I would really like to try and contribute something to NetBeans, but I'm
>>>> stuck because of this. I guess I'll try again when NetBeans 12 is out...
>>>>
>>>>
>>>> 17.03.2020 8:53, Korney Czukowski wrote:
>>>>> Forgot to add: when running the dev build BEFORE editing the file,
>>>>> there's no exception message.
>>>>>
>>>>>
>>>>> 17.03.2020 8:46, Korney Czukowski wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Could anybody help me with this issue?
>>>>>>
>>>>>> I see this error when I try to run PHP Editor module:
>>>>>> java.lang.NoClassDefFoundError:
>>>>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>>>>>> (full stack trace below). I've edited a few other smaller PHP-related
>>>>>> modules before and it hasn't happen.
>>>>>>
>>>>>> I can reproduce the issue this way:
>>>>>>
>>>>>> * ant clean build (build successful)
>>>>>> * open PHP Editor project, change a file (I tried
>>>>>> InitializeFieldSuggestion.java from
>>>>>> org.netbeans.modules.php.editor.verification), just added an
>>>>>> extra new line, nothing else
>>>>>> * ant -f php/php.editor run
>>>>>> * open a small project with PHP sources, a dialog window with the
>>>>>> exception appears almost immediately
>>>>>> * I can still dismiss the dialog and click around NetBeans, but the
>>>>>> dialog keeps reapperaring every couple of clicks
>>>>>>
>>>>>> My environment:
>>>>>>
>>>>>> * Windows 10
>>>>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>>>>>>
>>>>>> From dev IDE Help/About:
>>>>>>
>>>>>> * *Product Version:* Apache NetBeans IDE DEV (Build
>>>>>> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
>>>>>> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
>>>>>> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
>>>>>>
>>>>>> My main IDE installation uses Java 12.0.2, I wanted to try running
>>>>>> with the dev build with that, but adding netbeans_jdkhome="C:\Program
>>>>>> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
>>>>>> seem to have the effect.
>>>>>>
>>>>>>
>>>>>> Full stack trace:
>>>>>>
>>>>>> java.lang.NoClassDefFoundError:
>>>>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>>>>>> at
>>>>>>
>> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
>>>>>> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
>>>>>> at
>>>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
>>>>>> at
>>>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
>>>>>> at
>>>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
>>>>>> at
>>>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>>>>>> at
>>>>>>
>> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>>>>>> at
>>>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>>>>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>>>>>> at
>>>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>>>>>> [catch] at
>>>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>>>>>> at
>>>>>>
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>>>> at
>>>>>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>>>>>> at
>>>>>>
>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>>>>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>>>>>> at
>>>>>>
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing this?
Posted by Eric Bresie <eb...@gmail.com>.
I'll ask some of the obligatory question....
(1) What version of Netbeans?
(2) What version of Java did you compile with and/or run with?
(3) Did you clean your user/cache folders?
(4) Did you clean before rebuilding?
(5) What version of build tools (i.e. ant, maven, etc.) are you using?
Eric Bresie
ebresie@gmail.com
On Fri, Apr 17, 2020 at 3:32 AM Korney Czukowski <cz...@seznam.cz>
wrote:
> Sadly, no. I do a full build, try run the module, it works, then do a
> change, run again, this exception appears.
>
> It works with some modules, but not this one (PHP Editor). I still think
> this is something at my end, because I asked Junichi in [1] and he
> replied that he hasn't had an issue with it. I wanted to try building
> the module before running it to see if it would help, but ran into
> command line length limitation on Windows due to a long classpath list
> (that was on unit tests step which is apparently skipped in the full IDE
> build, so the full build works for me), so as of now I've no idea what
> to try next.
>
> [1]: https://issues.apache.org/jira/browse/NETBEANS-3980
>
>
> 17.04.2020 9:20, Geertjan Wielenga wrote:
> > The way to work with the sources is to first build the whole Apache
> > NetBeans, then open a specific module you want to work on into the IDE,
> > change it, and then run it. It will then be installed into a new instance
> > of the built IDE.
> >
> > Does this approach not work for you?
> >
> > Gj
> >
> > On Fri, Apr 17, 2020 at 8:45 AM Korney Czukowski <cz...@seznam.cz>
> > wrote:
> >
> >> Doesn't this ring any bells to anybody here?
> >>
> >> I would really like to try and contribute something to NetBeans, but I'm
> >> stuck because of this. I guess I'll try again when NetBeans 12 is out...
> >>
> >>
> >> 17.03.2020 8:53, Korney Czukowski wrote:
> >>> Forgot to add: when running the dev build BEFORE editing the file,
> >>> there's no exception message.
> >>>
> >>>
> >>> 17.03.2020 8:46, Korney Czukowski wrote:
> >>>> Hi,
> >>>>
> >>>> Could anybody help me with this issue?
> >>>>
> >>>> I see this error when I try to run PHP Editor module:
> >>>> java.lang.NoClassDefFoundError:
> >>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
> >>>> (full stack trace below). I've edited a few other smaller PHP-related
> >>>> modules before and it hasn't happen.
> >>>>
> >>>> I can reproduce the issue this way:
> >>>>
> >>>> * ant clean build (build successful)
> >>>> * open PHP Editor project, change a file (I tried
> >>>> InitializeFieldSuggestion.java from
> >>>> org.netbeans.modules.php.editor.verification), just added an
> >>>> extra new line, nothing else
> >>>> * ant -f php/php.editor run
> >>>> * open a small project with PHP sources, a dialog window with the
> >>>> exception appears almost immediately
> >>>> * I can still dismiss the dialog and click around NetBeans, but the
> >>>> dialog keeps reapperaring every couple of clicks
> >>>>
> >>>> My environment:
> >>>>
> >>>> * Windows 10
> >>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
> >>>>
> >>>> From dev IDE Help/About:
> >>>>
> >>>> * *Product Version:* Apache NetBeans IDE DEV (Build
> >>>> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
> >>>> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
> >>>> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
> >>>>
> >>>> My main IDE installation uses Java 12.0.2, I wanted to try running
> >>>> with the dev build with that, but adding netbeans_jdkhome="C:\Program
> >>>> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
> >>>> seem to have the effect.
> >>>>
> >>>>
> >>>> Full stack trace:
> >>>>
> >>>> java.lang.NoClassDefFoundError:
> >>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
> >>>> at
> >>>>
> >>
> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
> >>>> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
> >>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> >>>> [catch] at
> >>>>
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
> >>>> at
> >>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >>>> at
> >>>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> >>>> at
> >>>>
> >>
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> >>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> >>>> at
> >>>>
> >>
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
Sadly, no. I do a full build, try run the module, it works, then do a
change, run again, this exception appears.
It works with some modules, but not this one (PHP Editor). I still think
this is something at my end, because I asked Junichi in [1] and he
replied that he hasn't had an issue with it. I wanted to try building
the module before running it to see if it would help, but ran into
command line length limitation on Windows due to a long classpath list
(that was on unit tests step which is apparently skipped in the full IDE
build, so the full build works for me), so as of now I've no idea what
to try next.
[1]: https://issues.apache.org/jira/browse/NETBEANS-3980
17.04.2020 9:20, Geertjan Wielenga wrote:
> The way to work with the sources is to first build the whole Apache
> NetBeans, then open a specific module you want to work on into the IDE,
> change it, and then run it. It will then be installed into a new instance
> of the built IDE.
>
> Does this approach not work for you?
>
> Gj
>
> On Fri, Apr 17, 2020 at 8:45 AM Korney Czukowski <cz...@seznam.cz>
> wrote:
>
>> Doesn't this ring any bells to anybody here?
>>
>> I would really like to try and contribute something to NetBeans, but I'm
>> stuck because of this. I guess I'll try again when NetBeans 12 is out...
>>
>>
>> 17.03.2020 8:53, Korney Czukowski wrote:
>>> Forgot to add: when running the dev build BEFORE editing the file,
>>> there's no exception message.
>>>
>>>
>>> 17.03.2020 8:46, Korney Czukowski wrote:
>>>> Hi,
>>>>
>>>> Could anybody help me with this issue?
>>>>
>>>> I see this error when I try to run PHP Editor module:
>>>> java.lang.NoClassDefFoundError:
>>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>>>> (full stack trace below). I've edited a few other smaller PHP-related
>>>> modules before and it hasn't happen.
>>>>
>>>> I can reproduce the issue this way:
>>>>
>>>> * ant clean build (build successful)
>>>> * open PHP Editor project, change a file (I tried
>>>> InitializeFieldSuggestion.java from
>>>> org.netbeans.modules.php.editor.verification), just added an
>>>> extra new line, nothing else
>>>> * ant -f php/php.editor run
>>>> * open a small project with PHP sources, a dialog window with the
>>>> exception appears almost immediately
>>>> * I can still dismiss the dialog and click around NetBeans, but the
>>>> dialog keeps reapperaring every couple of clicks
>>>>
>>>> My environment:
>>>>
>>>> * Windows 10
>>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>>>>
>>>> From dev IDE Help/About:
>>>>
>>>> * *Product Version:* Apache NetBeans IDE DEV (Build
>>>> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
>>>> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
>>>> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
>>>>
>>>> My main IDE installation uses Java 12.0.2, I wanted to try running
>>>> with the dev build with that, but adding netbeans_jdkhome="C:\Program
>>>> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
>>>> seem to have the effect.
>>>>
>>>>
>>>> Full stack trace:
>>>>
>>>> java.lang.NoClassDefFoundError:
>>>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>>>> at
>>>>
>> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
>>>> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
>>>> at
>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
>>>> at
>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
>>>> at
>>>>
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
>>>> at
>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>>>> at
>>>>
>> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>>>> at
>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>>>> at
>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>>>> [catch] at
>>>>
>> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>>>> at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>> at
>>>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>>>> at
>>>>
>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>>>> at
>>>>
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing this?
Posted by Geertjan Wielenga <ge...@apache.org>.
The way to work with the sources is to first build the whole Apache
NetBeans, then open a specific module you want to work on into the IDE,
change it, and then run it. It will then be installed into a new instance
of the built IDE.
Does this approach not work for you?
Gj
On Fri, Apr 17, 2020 at 8:45 AM Korney Czukowski <cz...@seznam.cz>
wrote:
> Doesn't this ring any bells to anybody here?
>
> I would really like to try and contribute something to NetBeans, but I'm
> stuck because of this. I guess I'll try again when NetBeans 12 is out...
>
>
> 17.03.2020 8:53, Korney Czukowski wrote:
> > Forgot to add: when running the dev build BEFORE editing the file,
> > there's no exception message.
> >
> >
> > 17.03.2020 8:46, Korney Czukowski wrote:
> >>
> >> Hi,
> >>
> >> Could anybody help me with this issue?
> >>
> >> I see this error when I try to run PHP Editor module:
> >> java.lang.NoClassDefFoundError:
> >> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
> >> (full stack trace below). I've edited a few other smaller PHP-related
> >> modules before and it hasn't happen.
> >>
> >> I can reproduce the issue this way:
> >>
> >> * ant clean build (build successful)
> >> * open PHP Editor project, change a file (I tried
> >> InitializeFieldSuggestion.java from
> >> org.netbeans.modules.php.editor.verification), just added an
> >> extra new line, nothing else
> >> * ant -f php/php.editor run
> >> * open a small project with PHP sources, a dialog window with the
> >> exception appears almost immediately
> >> * I can still dismiss the dialog and click around NetBeans, but the
> >> dialog keeps reapperaring every couple of clicks
> >>
> >> My environment:
> >>
> >> * Windows 10
> >> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
> >>
> >> From dev IDE Help/About:
> >>
> >> * *Product Version:* Apache NetBeans IDE DEV (Build
> >> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
> >> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
> >> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
> >>
> >> My main IDE installation uses Java 12.0.2, I wanted to try running
> >> with the dev build with that, but adding netbeans_jdkhome="C:\Program
> >> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
> >> seem to have the effect.
> >>
> >>
> >> Full stack trace:
> >>
> >> java.lang.NoClassDefFoundError:
> >> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
> >> at
> >>
> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
> >> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
> >> at
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
> >> at
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
> >> at
> >>
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
> >> at
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
> >> at
> >>
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
> >> at
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
> >> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
> >> at
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> >> [catch] at
> >>
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
> >> at
> >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> >> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >> at
> >> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> >> at
> >>
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> >> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> >> at
> >>
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> >>
> >
>
>
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
Doesn't this ring any bells to anybody here?
I would really like to try and contribute something to NetBeans, but I'm
stuck because of this. I guess I'll try again when NetBeans 12 is out...
17.03.2020 8:53, Korney Czukowski wrote:
> Forgot to add: when running the dev build BEFORE editing the file,
> there's no exception message.
>
>
> 17.03.2020 8:46, Korney Czukowski wrote:
>>
>> Hi,
>>
>> Could anybody help me with this issue?
>>
>> I see this error when I try to run PHP Editor module:
>> java.lang.NoClassDefFoundError:
>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>> (full stack trace below). I've edited a few other smaller PHP-related
>> modules before and it hasn't happen.
>>
>> I can reproduce the issue this way:
>>
>> * ant clean build (build successful)
>> * open PHP Editor project, change a file (I tried
>> InitializeFieldSuggestion.java from
>> org.netbeans.modules.php.editor.verification), just added an
>> extra new line, nothing else
>> * ant -f php/php.editor run
>> * open a small project with PHP sources, a dialog window with the
>> exception appears almost immediately
>> * I can still dismiss the dialog and click around NetBeans, but the
>> dialog keeps reapperaring every couple of clicks
>>
>> My environment:
>>
>> * Windows 10
>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>>
>> From dev IDE Help/About:
>>
>> * *Product Version:* Apache NetBeans IDE DEV (Build
>> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
>> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
>> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
>>
>> My main IDE installation uses Java 12.0.2, I wanted to try running
>> with the dev build with that, but adding netbeans_jdkhome="C:\Program
>> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
>> seem to have the effect.
>>
>>
>> Full stack trace:
>>
>> java.lang.NoClassDefFoundError:
>> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
>> at
>> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
>> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
>> at
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
>> at
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
>> at
>> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
>> at
>> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>> at
>> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>> at
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>> at
>> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>> [catch] at
>> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>> at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at
>> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>> at
>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>> at
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>>
>
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
Forgot to add: when running the dev build BEFORE editing the file,
there's no exception message.
17.03.2020 8:46, Korney Czukowski wrote:
>
> Hi,
>
> Could anybody help me with this issue?
>
> I see this error when I try to run PHP Editor module:
> java.lang.NoClassDefFoundError:
> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions (full
> stack trace below). I've edited a few other smaller PHP-related
> modules before and it hasn't happen.
>
> I can reproduce the issue this way:
>
> * ant clean build (build successful)
> * open PHP Editor project, change a file (I tried
> InitializeFieldSuggestion.java from
> org.netbeans.modules.php.editor.verification), just added an extra
> new line, nothing else
> * ant -f php/php.editor run
> * open a small project with PHP sources, a dialog window with the
> exception appears almost immediately
> * I can still dismiss the dialog and click around NetBeans, but the
> dialog keeps reapperaring every couple of clicks
>
> My environment:
>
> * Windows 10
> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>
> From dev IDE Help/About:
>
> * *Product Version:* Apache NetBeans IDE DEV (Build
> dev-501ddbe80da33b06f21a2ff8eb63a73df5d20fec)
> * *Java:* 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 25.212-b10
> * *Runtime:* Java(TM) SE Runtime Environment 1.8.0_212-b10
>
> My main IDE installation uses Java 12.0.2, I wanted to try running
> with the dev build with that, but adding netbeans_jdkhome="C:\Program
> Files\Java\jdk-12.0.2" to nbbuild/netbeans/etc/netbeans.conf doesn't
> seem to have the effect.
>
>
> Full stack trace:
>
> java.lang.NoClassDefFoundError:
> org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions
> at
> org.netbeans.modules.php.editor.parser.ASTPHP5Parser.init_actions(ASTPHP5Parser.java:1817)
> at java_cup.runtime.lr_parser.parse(lr_parser.java:543)
> at
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:197)
> at
> org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:156)
> at
> org.netbeans.modules.php.editor.parser.GSFPHPParser.parse(GSFPHPParser.java:121)
> at
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
> at
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
> at
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
> at
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Czukowski <cz...@seznam.cz>.
So I finally found some time to try and dig deeper into this issue,
though I'm not very familiar with Java and NetBeans (from the developer
perspective), and issues like this make for a fairly steep learning
curve, especially since nobody's been able to help with it before.
Anyway, I think I've found an immediate reason for the this exception:
after 'ant run' for the PHP Editor module, this file gets deleted:
php/php.editor/build/classes/org/netbeans/modules/php/editor/parser/CUP$ASTPHP5Parser$actions.class
It's not being created again using 'ant build' for the module. A whole
full build is needed for that.
As for why would that file be deleted, I don't know yet, though I
strongly suspect it really shouldn't be deleted 😁
But there seems to be a trail, CUP$ASTPHP5Parser$actions.class is
mentioned in php/php.editor/nbproject/project.properties:
nbjavac.ignore.missing.enclosing=**/CUP$ASTPHP5Parser$actions.class
And searching for nbjavac.ignore.missing.enclosing reveals two things:
1. No other project.properties than PHP Editor seems to have it
2. It's being used by CustomJavac.java, in cleanUpDependDebris() method
that does seem to delete some files and its comments link to the
issue #196556: https://bz.apache.org/netbeans/show_bug.cgi?id=196556
Does this ring any bells to anybody?
From what I read, this file is supposed to be skipped from the
deletion, but apparently it's not. Could it be because **/ is not a
valid path in Windows? Is this cleaning up step also an issue in any
other modules, or is the PHP Editor somehow special? The linked Bugzilla
issue has some mentions of JDK 7 and implements a workaround for an
issue that existed ~10 years ago, maybe the whole thing is not needed
anymore? And lastly, why is this class not being recreated with 'ant
build' the module?
Thanks for whatever insights anybody might have to share.
22.04.2020 13:23, Korney Czukowski wrote:
> Well, I believe that was as detailed as it can be, I did literally
> nothing except for those steps I've described, can't think of anything
> else...
>
> This must be somehow related to platform (Windows - notoriously bad
> for some types of development), tools (Java, Ant versions listed
> below) or whatever else specific to the environment. Probably me doing
> something wrong, but given the very basic steps to reproduce for me,
> I'm currently out of ideas.
>
>
> 21.04.2020 22:03, Matthias Bläsing wrote:
>> Hi,
>>
>> no I meant detailed steps to reproduce. As said, with the provided
>> steps I was not able to reproduce the issue.
>>
>> Matthias
>>
>> Am Montag, den 20.04.2020, 15:07 +0200 schrieb Korney Czukowski:
>>> I've got all the Ant output from the full build, 1st run (before the
>>> edit), 2nd run (after the edit, when the exception appears) and the
>>> 3rd
>>> run (after reverting, exception still appears) as well as the diff
>>> of
>>> the edit. All made from the current master. It's too large to post as
>>> a
>>> gist at Github though and almost 1MB zipped. Is it okay to attach
>>> the
>>> zip to the mailing list?
>>>
>>>
>>> 20.04.2020 7:20, Korney Czukowski wrote:
>>>> Hi Matthias,
>>>>
>>>> By being detailed, other than you've quoted, did you mean I am to
>>>> keep
>>>> track of all output from eg. ant? (at what level then?)
>>>>
>>>> Thanks.
>>>>
>>>> 18.04.2020 22:11, Matthias Bläsing wrote:
>>>>> Hi,
>>>>>
>>>>> Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney
>>>>> Czukowski:
>>>>>> I can reproduce the issue this way:
>>>>>>
>>>>>> * ant clean build (build successful)
>>>>>> * open PHP Editor project, change a file (I tried
>>>>>> InitializeFieldSuggestion.java from
>>>>>> org.netbeans.modules.php.editor.verification), just added
>>>>>> an
>>>>>> extra
>>>>>> new line, nothing else
>>>>>> * ant -f php/php.editor run
>>>>>> * open a small project with PHP sources, a dialog window
>>>>>> with the
>>>>>> exception appears almost immediately
>>>>>> * I can still dismiss the dialog and click around NetBeans,
>>>>>> but the
>>>>>> dialog keeps reapperaring every couple of clicks
>>>>>>
>>>>>> My environment:
>>>>>>
>>>>>> * Windows 10
>>>>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>>>>> Tested on Ubuntu and is not reproducible for me. Please start
>>>>> with a
>>>>> clean checkout from NetBeans master and be detailed what you do
>>>>> and
>>>>> how. Else it is pure speculation.
>>>>>
>>>>> Greetings
>>>>>
>>>>> Matthias
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------
>>>>> ------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>>>>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>>>>
>>>>> For further information about the NetBeans mailing lists, visit:
>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
Well, I believe that was as detailed as it can be, I did literally
nothing except for those steps I've described, can't think of anything
else...
This must be somehow related to platform (Windows - notoriously bad for
some types of development), tools (Java, Ant versions listed below) or
whatever else specific to the environment. Probably me doing something
wrong, but given the very basic steps to reproduce for me, I'm currently
out of ideas.
21.04.2020 22:03, Matthias Bläsing wrote:
> Hi,
>
> no I meant detailed steps to reproduce. As said, with the provided
> steps I was not able to reproduce the issue.
>
> Matthias
>
> Am Montag, den 20.04.2020, 15:07 +0200 schrieb Korney Czukowski:
>> I've got all the Ant output from the full build, 1st run (before the
>> edit), 2nd run (after the edit, when the exception appears) and the
>> 3rd
>> run (after reverting, exception still appears) as well as the diff
>> of
>> the edit. All made from the current master. It's too large to post as
>> a
>> gist at Github though and almost 1MB zipped. Is it okay to attach
>> the
>> zip to the mailing list?
>>
>>
>> 20.04.2020 7:20, Korney Czukowski wrote:
>>> Hi Matthias,
>>>
>>> By being detailed, other than you've quoted, did you mean I am to
>>> keep
>>> track of all output from eg. ant? (at what level then?)
>>>
>>> Thanks.
>>>
>>> 18.04.2020 22:11, Matthias Bläsing wrote:
>>>> Hi,
>>>>
>>>> Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney
>>>> Czukowski:
>>>>> I can reproduce the issue this way:
>>>>>
>>>>> * ant clean build (build successful)
>>>>> * open PHP Editor project, change a file (I tried
>>>>> InitializeFieldSuggestion.java from
>>>>> org.netbeans.modules.php.editor.verification), just added
>>>>> an
>>>>> extra
>>>>> new line, nothing else
>>>>> * ant -f php/php.editor run
>>>>> * open a small project with PHP sources, a dialog window
>>>>> with the
>>>>> exception appears almost immediately
>>>>> * I can still dismiss the dialog and click around NetBeans,
>>>>> but the
>>>>> dialog keeps reapperaring every couple of clicks
>>>>>
>>>>> My environment:
>>>>>
>>>>> * Windows 10
>>>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>>>> Tested on Ubuntu and is not reproducible for me. Please start
>>>> with a
>>>> clean checkout from NetBeans master and be detailed what you do
>>>> and
>>>> how. Else it is pure speculation.
>>>>
>>>> Greetings
>>>>
>>>> Matthias
>>>>
>>>>
>>>> ---------------------------------------------------------------
>>>> ------
>>>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>>>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I
seeing this?
Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi,
no I meant detailed steps to reproduce. As said, with the provided
steps I was not able to reproduce the issue.
Matthias
Am Montag, den 20.04.2020, 15:07 +0200 schrieb Korney Czukowski:
> I've got all the Ant output from the full build, 1st run (before the
> edit), 2nd run (after the edit, when the exception appears) and the
> 3rd
> run (after reverting, exception still appears) as well as the diff
> of
> the edit. All made from the current master. It's too large to post as
> a
> gist at Github though and almost 1MB zipped. Is it okay to attach
> the
> zip to the mailing list?
>
>
> 20.04.2020 7:20, Korney Czukowski wrote:
> > Hi Matthias,
> >
> > By being detailed, other than you've quoted, did you mean I am to
> > keep
> > track of all output from eg. ant? (at what level then?)
> >
> > Thanks.
> >
> > 18.04.2020 22:11, Matthias Bläsing wrote:
> > > Hi,
> > >
> > > Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney
> > > Czukowski:
> > > > I can reproduce the issue this way:
> > > >
> > > > * ant clean build (build successful)
> > > > * open PHP Editor project, change a file (I tried
> > > > InitializeFieldSuggestion.java from
> > > > org.netbeans.modules.php.editor.verification), just added
> > > > an
> > > > extra
> > > > new line, nothing else
> > > > * ant -f php/php.editor run
> > > > * open a small project with PHP sources, a dialog window
> > > > with the
> > > > exception appears almost immediately
> > > > * I can still dismiss the dialog and click around NetBeans,
> > > > but the
> > > > dialog keeps reapperaring every couple of clicks
> > > >
> > > > My environment:
> > > >
> > > > * Windows 10
> > > > * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
> > > Tested on Ubuntu and is not reproducible for me. Please start
> > > with a
> > > clean checkout from NetBeans master and be detailed what you do
> > > and
> > > how. Else it is pure speculation.
> > >
> > > Greetings
> > >
> > > Matthias
> > >
> > >
> > > ---------------------------------------------------------------
> > > ------
> > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
I've got all the Ant output from the full build, 1st run (before the
edit), 2nd run (after the edit, when the exception appears) and the 3rd
run (after reverting, exception still appears) as well as the diff of
the edit. All made from the current master. It's too large to post as a
gist at Github though and almost 1MB zipped. Is it okay to attach the
zip to the mailing list?
20.04.2020 7:20, Korney Czukowski wrote:
> Hi Matthias,
>
> By being detailed, other than you've quoted, did you mean I am to keep
> track of all output from eg. ant? (at what level then?)
>
> Thanks.
>
> 18.04.2020 22:11, Matthias Bläsing wrote:
>> Hi,
>>
>> Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney Czukowski:
>>> I can reproduce the issue this way:
>>>
>>> * ant clean build (build successful)
>>> * open PHP Editor project, change a file (I tried
>>> InitializeFieldSuggestion.java from
>>> org.netbeans.modules.php.editor.verification), just added an
>>> extra
>>> new line, nothing else
>>> * ant -f php/php.editor run
>>> * open a small project with PHP sources, a dialog window with the
>>> exception appears almost immediately
>>> * I can still dismiss the dialog and click around NetBeans, but the
>>> dialog keeps reapperaring every couple of clicks
>>>
>>> My environment:
>>>
>>> * Windows 10
>>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
>> Tested on Ubuntu and is not reproducible for me. Please start with a
>> clean checkout from NetBeans master and be detailed what you do and
>> how. Else it is pure speculation.
>>
>> Greetings
>>
>> Matthias
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I seeing
this?
Posted by Korney Czukowski <cz...@seznam.cz>.
Hi Matthias,
By being detailed, other than you've quoted, did you mean I am to keep
track of all output from eg. ant? (at what level then?)
Thanks.
18.04.2020 22:11, Matthias Bläsing wrote:
> Hi,
>
> Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney Czukowski:
>> I can reproduce the issue this way:
>>
>> * ant clean build (build successful)
>> * open PHP Editor project, change a file (I tried
>> InitializeFieldSuggestion.java from
>> org.netbeans.modules.php.editor.verification), just added an
>> extra
>> new line, nothing else
>> * ant -f php/php.editor run
>> * open a small project with PHP sources, a dialog window with the
>> exception appears almost immediately
>> * I can still dismiss the dialog and click around NetBeans, but the
>> dialog keeps reapperaring every couple of clicks
>>
>> My environment:
>>
>> * Windows 10
>> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
> Tested on Ubuntu and is not reproducible for me. Please start with a
> clean checkout from NetBeans master and be detailed what you do and
> how. Else it is pure speculation.
>
> Greetings
>
> Matthias
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NoClassDefFoundError: CUP$ASTPHP5Parser$actions - why am I
seeing this?
Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi,
Am Dienstag, den 17.03.2020, 08:46 +0100 schrieb Korney Czukowski:
> I can reproduce the issue this way:
>
> * ant clean build (build successful)
> * open PHP Editor project, change a file (I tried
> InitializeFieldSuggestion.java from
> org.netbeans.modules.php.editor.verification), just added an
> extra
> new line, nothing else
> * ant -f php/php.editor run
> * open a small project with PHP sources, a dialog window with the
> exception appears almost immediately
> * I can still dismiss the dialog and click around NetBeans, but the
> dialog keeps reapperaring every couple of clicks
>
> My environment:
>
> * Windows 10
> * Apache Ant(TM) version 1.10.7 compiled on September 1 2019
Tested on Ubuntu and is not reproducible for me. Please start with a
clean checkout from NetBeans master and be detailed what you do and
how. Else it is pure speculation.
Greetings
Matthias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists