Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-09-02 Thread Thomas Kellerer
Neil C Smith schrieb am 26.08.2021 um 17:43:
>> In "my dump" only 
>> "org.netbeans.modules.project.ui.actions.LookupSensitiveAction"
>> and "Load Open Projects" are blocked, whereas in the thread dumps in that 
>> issue substantially more threads
>> are involved.
>>
>> However "Load Open Projects" seems to always be included, so I attached my 
>> dump to that issue.
>
> Definitely looks to be NETBEANS-5914 - key thing is deadlock around
> org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate
>
> The LookupSensitiveAction thread stuck in
> org.netbeans.modules.maven.ActionProviderImpl.isActionEnabled seems to
> be across these too, and had recent-ish changes ???
>
> Marked that as a blocker for 12.5 for now too then!

The freeze didn't occur since then.

However, I experience many short "locks" where NetBeans 12.5 pegs the CPU and 
becomes unresponsive for a few seconds.
Anything I type during that, only appears when this "lock" goes away  (and CPU 
usage goes down again).

This happens more and more the longer NetBeans runs.
I suspected GC or something similar, but the performance toolbar icon shows it 
has enough memory.

Anyway, this made me go back to 12.4 where I never experienced anything like 
that

In both cases I used the same memory settings: 1.3GB and had about 10 Gradle 
based projects open
(I general I have the impression that using Gradle makes NetBeans use way more 
memory compared to Maven projects, not just because of the dreaded daemon)

Thomas


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-28 Thread Eric Bresie
After manually setting my default netbeans jdk_home to successfully install
java 11 azul JDK, the plugins and activation and the download new open jdks
seems to work okay.

So maybe all of this was a side effect of running a newer (as default
JDK).  Not sure if there is something needed going forward but maybe this
is the start of something going forward when newer JDK/JREs are introduced.

Since I was using Java 15 the unpack200 which I believe is removed by this
time may have prevented the plugins from getting handled correctly.  Assume
this may be related to  NETBEANS-2842 Using of deprecated pack200 tool in
nbm packaging.  See JEP 367: Remove the Pack200 Tools and API (java.net)


Unreleased but after changing the JDK home from 15 to 11, the Tools...Java
Platform for the 15 JDK which was there previously appears to have been
removed and replaced by the java 11 (default).  I would have expected Java
15 to remain just not the default any more.  Now I'll have to reregister it
I assume

Eric Bresie
ebre...@gmail.com


On Sat, Aug 28, 2021 at 10:41 AM Eric Bresie  wrote:

>
> (1) Activate features
>
>1. Tried activating HTML5, Java SE, Tools, JavaFX 2, Groovy, Java Web
>and EE, Developing Netbeans, and Base IDE.
>2. Hit "Activate" button which is followed by "Activation Failed:
>Cannot enable* JavaFX2 Support" issue*
>3. Not sure if this was due to nothing yet being activated (i.e. Java)
>or being activated at the same time, but figured I would mention it.
>4. I tried activating everything else  (see list above minus JavaFX
>2 ) and they activated.
>5. Attempted to install Java FX 2 again and still failed.
>
>
> (2) Tried to installed Plugin
>
>1. Tried "*JavaFX Implementation for Windows* [13.8]  get an error
>"org.netbeans.StandardModuleData@1365fc75 is not a valid Netbeans
>module"
>2. Tried "Gluon Plugin" got similar error
>"org.netbeans.StandardModuleData@48f0b2ef is not a valid Netbeans
>module"
>3. Tried "Github Issues Support" got similar error
>"org.netbeans.StandardModuleData@3045e89 is not a valid Netbeans
>module"
>4. After the error, the given plugin appears to be removed from the
>"Available Plugins" and shows in the "Installed" (with Details checked).
>5. When I attempt to activate the Java FX and JavaFx SceneBuild
>plugins from the Installed (Detail) list, it gets the above mentioned
>"Activation failed"
>6. Is there something funny with the plugin mechanism with this build
>or my environment?
>7. My Environment:
>
> *Product Version:* Apache NetBeans IDE 12.5-beta2
>
> *Java:* 15.0.2; Java HotSpot(TM) 64-Bit Server VM 15.0.2+7-27
>
> *Runtime:* Java(TM) SE Runtime Environment 15.0.2+7-27
>
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>
> *User directory:* C:\Users\ebres\AppData\Roaming\NetBeans\12.5-beta2
>
> *Cache directory:*
>
>
> Maybe related to usage of Java 15
>
> (3) Regarding download platform concern raised with Beta 1
>
>
>1. "Tools...Add Java Platform..Select platform type...Download OpenJDK
>(via Foojay.io Disco API)
>2. Selected "Quick..Download, Unacrhvie, and Automatically Register in
>Netbeans"...11 (LTS).
>3. Selected Next,
>4. Initially shows an "azul" flavor of 11 (assume this was the first
>item or default version) ready for installation but went back to try to
>select a different flavor before installing
>5. Selected Advanced, saw all the possible available 11 JDKs, when
>back to quick and then next and nothing was selected any more so not
>expecting it install.
>6. Went back to "Quick" (still with 11 LTS), went to Advances and now
>only shows "SAP '' versions of JDK.  Seems the list of Java Platforms is
>limited to the SAP ones and none of the others which showed previously.
>7. Close out of Add Java Platform tried again and continues to show
>above behavior.  Assume some sort of "selected" JDK may have been selected
>initially but afterwards it's lost.  Also the list of available JDKs for a
>given release also seemed to get corrupted.
>8. Closed and restarted Netbeans
>9. Attempted the above which shows the azul 11 again and attempted
>install.  Which seems to install and register in Netbeans
>10. Add Java Platform again, moved the slider part to select 15 and/or
>16, select Advances and still shows only the 11 versions.  However from the
>"pull down" version on the screen it allows selection of other ones.  So
>assume the "slider" on the Quick screen does not update the "selection
>filter" on the advanced screen.
>11. Tried to add a java 8 version 8.0.0.302 OJDKBuild X64, GA, zip
>version first time failed to download.
>12. Tried again to install the above and it seemed to download but
>then stalled after that.
>13. Canceled, attempted to install again, it downloads but then 

Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-28 Thread Eric Bresie
(1) Activate features

   1. Tried activating HTML5, Java SE, Tools, JavaFX 2, Groovy, Java Web
   and EE, Developing Netbeans, and Base IDE.
   2. Hit "Activate" button which is followed by "Activation Failed: Cannot
   enable* JavaFX2 Support" issue*
   3. Not sure if this was due to nothing yet being activated (i.e. Java)
   or being activated at the same time, but figured I would mention it.
   4. I tried activating everything else  (see list above minus JavaFX 2 )
   and they activated.
   5. Attempted to install Java FX 2 again and still failed.


(2) Tried to installed Plugin

   1. Tried "*JavaFX Implementation for Windows* [13.8]  get an error
   "org.netbeans.StandardModuleData@1365fc75 is not a valid Netbeans module"
   2. Tried "Gluon Plugin" got similar error
   "org.netbeans.StandardModuleData@48f0b2ef is not a valid Netbeans module"
   3. Tried "Github Issues Support" got similar error
   "org.netbeans.StandardModuleData@3045e89 is not a valid Netbeans module"
   4. After the error, the given plugin appears to be removed from the
   "Available Plugins" and shows in the "Installed" (with Details checked).
   5. When I attempt to activate the Java FX and JavaFx SceneBuild plugins
   from the Installed (Detail) list, it gets the above mentioned "Activation
   failed"
   6. Is there something funny with the plugin mechanism with this build or
   my environment?
   7. My Environment:

*Product Version:* Apache NetBeans IDE 12.5-beta2

*Java:* 15.0.2; Java HotSpot(TM) 64-Bit Server VM 15.0.2+7-27

*Runtime:* Java(TM) SE Runtime Environment 15.0.2+7-27

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\ebres\AppData\Roaming\NetBeans\12.5-beta2

*Cache directory:*


Maybe related to usage of Java 15

(3) Regarding download platform concern raised with Beta 1


   1. "Tools...Add Java Platform..Select platform type...Download OpenJDK
   (via Foojay.io Disco API)
   2. Selected "Quick..Download, Unacrhvie, and Automatically Register in
   Netbeans"...11 (LTS).
   3. Selected Next,
   4. Initially shows an "azul" flavor of 11 (assume this was the first
   item or default version) ready for installation but went back to try to
   select a different flavor before installing
   5. Selected Advanced, saw all the possible available 11 JDKs, when back
   to quick and then next and nothing was selected any more so not expecting
   it install.
   6. Went back to "Quick" (still with 11 LTS), went to Advances and now
   only shows "SAP '' versions of JDK.  Seems the list of Java Platforms is
   limited to the SAP ones and none of the others which showed previously.
   7. Close out of Add Java Platform tried again and continues to show
   above behavior.  Assume some sort of "selected" JDK may have been selected
   initially but afterwards it's lost.  Also the list of available JDKs for a
   given release also seemed to get corrupted.
   8. Closed and restarted Netbeans
   9. Attempted the above which shows the azul 11 again and attempted
   install.  Which seems to install and register in Netbeans
   10. Add Java Platform again, moved the slider part to select 15 and/or
   16, select Advances and still shows only the 11 versions.  However from the
   "pull down" version on the screen it allows selection of other ones.  So
   assume the "slider" on the Quick screen does not update the "selection
   filter" on the advanced screen.
   11. Tried to add a java 8 version 8.0.0.302 OJDKBuild X64, GA, zip
   version first time failed to download.
   12. Tried again to install the above and it seemed to download but then
   stalled after that.
   13. Canceled, attempted to install again, it downloads but then stalls
   again.
   14. Not sure if this is also an issue but noticed in the
   %USER_HOME%\AppData\Local\Java that the zip files for some of the attempts
   were there with only the above successful one being unzipped into a
   subfolder (named after the zip with another similar subfolder under that).
   And the zip files may not get cleaned up all the time.

Not sure if this is a "feature request" or if I've missed something but
when installing a given Java Platform, is there any way to select this as
the "default version" (i.e. set netbeans jdkhome variable instead of a
manual edit)?

Eric Bresie
ebre...@gmail.com


On Wed, Aug 25, 2021 at 8:29 AM Neil C Smith  wrote:

> Hi All,
>
> As mentioned earlier this week, I've triggered a second beta build for
> Apache NetBeans 12.5 today which is now available for testing.
>
> Changes between beta1 and beta2 can be seen at
> https://github.com/apache/netbeans/pull/3121
>
> Hopefully this can be our final beta and the voting candidate for 12.5
> can be built off the same git hash.  In particular, please test issues
> fixed between beta1 and beta2, as well as source builds.  Please also
> help with assessing / closing any relevant JIRA tickets. I suggest we
> could aim to move to a release vote a week today assuming no 

Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Neil C Smith
On Thu, 26 Aug 2021 at 15:51, Thomas Kellerer  wrote:
> Neil C Smith schrieb am 26.08.2021 um 16:37:
> > I wonder if it might actually be
> > https://issues.apache.org/jira/browse/NETBEANS-5914 ?
> >
> The thread dumps do look different.
>
> In "my dump" only 
> "org.netbeans.modules.project.ui.actions.LookupSensitiveAction"
> and "Load Open Projects" are blocked, whereas in the thread dumps in that 
> issue substantially more threads
> are involved.
>
> However "Load Open Projects" seems to always be included, so I attached my 
> dump to that issue.

Definitely looks to be NETBEANS-5914 - key thing is deadlock around
org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate

The LookupSensitiveAction thread stuck in
org.netbeans.modules.maven.ActionProviderImpl.isActionEnabled seems to
be across these too, and had recent-ish changes ???

Marked that as a blocker for 12.5 for now too then!

Thanks,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Thomas Kellerer


Neil C Smith schrieb am 26.08.2021 um 16:37:
> On Thu, 26 Aug 2021 at 15:16, Thomas Kellerer  wrote:
>>
>> Neil C Smith schrieb am 26.08.2021 um 15:42:
>>> Deadlock / freezes raised in NETBEANS-5740 and NETBEANS-5913 should be
>>> fixed (caused by deadlock between Micronaut hyperlink handler,
>>> whenever that module enabled, and test method computation)
>>>
>>> https://issues.apache.org/jira/browse/NETBEANS-5740
>>> https://issues.apache.org/jira/browse/NETBEANS-5913
>>
>> Hmm, I just had a freeze right after startup with beta2 (locked up in 
>> "Opening Projects")
>>
>> I have generated a thread dump with VisualVM.
> ...
>> Or should I add it to one of the mentioned issues?
>
> I wonder if it might actually be
> https://issues.apache.org/jira/browse/NETBEANS-5914 ?
>
> If you're sure it's the same as one of those issues from the thread
> dump, then attach there.
>
> If you're not sure, could you open a new issue and follow up with the link 
> here?

The thread dumps do look different.

In "my dump" only 
"org.netbeans.modules.project.ui.actions.LookupSensitiveAction"
and "Load Open Projects" are blocked, whereas in the thread dumps in that issue 
substantially more threads
are involved.

However "Load Open Projects" seems to always be included, so I attached my dump 
to that issue.

Regards
Thomas




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Neil C Smith
On Thu, 26 Aug 2021 at 15:16, Thomas Kellerer  wrote:
>
> Neil C Smith schrieb am 26.08.2021 um 15:42:
> > Deadlock / freezes raised in NETBEANS-5740 and NETBEANS-5913 should be
> > fixed (caused by deadlock between Micronaut hyperlink handler,
> > whenever that module enabled, and test method computation)
> >
> > https://issues.apache.org/jira/browse/NETBEANS-5740
> > https://issues.apache.org/jira/browse/NETBEANS-5913
>
> Hmm, I just had a freeze right after startup with beta2 (locked up in 
> "Opening Projects")
>
> I have generated a thread dump with VisualVM.
...
> Or should I add it to one of the mentioned issues?

I wonder if it might actually be
https://issues.apache.org/jira/browse/NETBEANS-5914 ?

If you're sure it's the same as one of those issues from the thread
dump, then attach there.

If you're not sure, could you open a new issue and follow up with the link here?

Many thanks,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Thomas Kellerer
Neil C Smith schrieb am 26.08.2021 um 15:42:
> Deadlock / freezes raised in NETBEANS-5740 and NETBEANS-5913 should be
> fixed (caused by deadlock between Micronaut hyperlink handler,
> whenever that module enabled, and test method computation)
>
> https://issues.apache.org/jira/browse/NETBEANS-5740
> https://issues.apache.org/jira/browse/NETBEANS-5913

Hmm, I just had a freeze right after startup with beta2 (locked up in "Opening 
Projects")

I have generated a thread dump with VisualVM.

I wasn't sure if "largish" attachments (60k) are allowed on this list.
If that is OK, I can send it as an attachment.

Or should I add it to one of the mentioned issues?

After I killed NetBeans and re-started it, it came up without problems.

Regards
Thomas


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Neil C Smith
On Wed, 25 Aug 2021 at 14:28, Neil C Smith  wrote:
> Hopefully this can be our final beta and the voting candidate for 12.5
> can be built off the same git hash.  In particular, please test issues
> fixed between beta1 and beta2

In chat earlier, Geertjan suggested specifically mentioning some of
the key fixes to check there, as there's rather a lot on the PR list,
and a bit confusing with all the commit messages -

Deadlock / freezes raised in NETBEANS-5740 and NETBEANS-5913 should be
fixed (caused by deadlock between Micronaut hyperlink handler,
whenever that module enabled, and test method computation)

https://issues.apache.org/jira/browse/NETBEANS-5740
https://issues.apache.org/jira/browse/NETBEANS-5913

Support profiler or other StartupExtenders that use spaces in args -
eg. Profiler not working with Maven Project when installed in
path-with-spaces - (any other specific things to check / test for
regressions here?)

https://issues.apache.org/jira/browse/NETBEANS-2443
https://issues.apache.org/jira/browse/NETBEANS-5732

Gradle navigator / custom actions working again

https://issues.apache.org/jira/browse/NETBEANS-5906

Groovy support - Indexing of inner classes/interfaces

https://github.com/apache/netbeans/pull/3091

Updating the frontend application template in 12.5 to work with Gradle 7.0

https://github.com/apache/netbeans/pull/3095

Hopefully that covers the more major changes between beta1 and beta2 -
there's a range of other fixes too.

Anything anyone wants to highlight that needs testing before release,
please add / comment here.  Sorry if I've missed anything obvious.

Thanks,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-26 Thread Neil C Smith
Hi Thomas,

On Thu, 26 Aug 2021, 06:53 Thomas Kellerer,  wrote:

> Windows complains that netbeans64.exe is from an "untrusted source" and
> only runs it after a confirmation.
>
> I never got this with any NetBeans .exe so it seems this beta was built
> differently.
>

No, this beta is built the same as all others. However, only the final
release installer (not zip release) is actually signed.

Best wishes,

Neil


Re: [BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-25 Thread Thomas Kellerer
Neil C Smith schrieb am 25.08.2021 um 15:28:
> As mentioned earlier this week, I've triggered a second beta build for
> Apache NetBeans 12.5 today which is now available for testing.
>
> Changes between beta1 and beta2 can be seen at
> https://github.com/apache/netbeans/pull/3121
>
> Hopefully this can be our final beta and the voting candidate for 12.5
> can be built off the same git hash.  In particular, please test issues
> fixed between beta1 and beta2, as well as source builds.  Please also
> help with assessing / closing any relevant JIRA tickets. I suggest we
> could aim to move to a release vote a week today assuming no critical
> issues raised - Eric? Geertjan?
>
> The NetBeans 12.5-beta2 artifacts are here :
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/7/artifact/
>
> Link to the binary zip :
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/7/artifact/dist/netbeans/netbeans-12.5-beta2-bin.zip
> SHA512: 
> 349283292fc716ffc7e37461c59db11a4923f69fd9183ff7c92a161c9045d59c70e250ea44c042f9c65df1c66f2d1473f80ffe06b5cd7f292ca561621dacdb8d


Windows complains that netbeans64.exe is from an "untrusted source" and only 
runs it after a confirmation.

I never got this with any NetBeans .exe so it seems this beta was built 
differently.

Thomas


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





[BETA] Apache NetBeans 12.5-beta2 available for testing

2021-08-25 Thread Neil C Smith
Hi All,

As mentioned earlier this week, I've triggered a second beta build for
Apache NetBeans 12.5 today which is now available for testing.

Changes between beta1 and beta2 can be seen at
https://github.com/apache/netbeans/pull/3121

Hopefully this can be our final beta and the voting candidate for 12.5
can be built off the same git hash.  In particular, please test issues
fixed between beta1 and beta2, as well as source builds.  Please also
help with assessing / closing any relevant JIRA tickets. I suggest we
could aim to move to a release vote a week today assuming no critical
issues raised - Eric? Geertjan?

The NetBeans 12.5-beta2 artifacts are here :
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/7/artifact/

Link to the binary zip :
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/7/artifact/dist/netbeans/netbeans-12.5-beta2-bin.zip
SHA512: 
349283292fc716ffc7e37461c59db11a4923f69fd9183ff7c92a161c9045d59c70e250ea44c042f9c65df1c66f2d1473f80ffe06b5cd7f292ca561621dacdb8d

The sources are here :
https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release125/7/artifact/dist/netbeans/netbeans-12.5-beta2-source.zip
SHA512: 
aa5b948359a3b6c9a4a4f86701c1f497846b41875a44f4d75de4cf5a6a9295ad122125bd1784b3a52961c2415f01e8ef7cc7c77b57fe50b616b5ffbf9df4bb28

NB 12.5 major changes :
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+12.5

All PRs integrated into 12.5 are :
https://github.com/apache/netbeans/pulls?q=is%3Aclosed+milestone%3A12.5

Release schedule :
https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule

Bug Priority Guidelines :
https://cwiki.apache.org/confluence/display/NETBEANS/Bug+Priority+Guidelines

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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