[jira] [Updated] (NETBEANS-6372) cnd/cpplite commit-validation fails

2022-01-07 Thread Antonio Vieiro (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-6372:
-
Attachment: 
cnd-2-org.netbeans.core.validation.ValidateLayerConsistencyTest.html

> cnd/cpplite commit-validation fails
> ---
>
> Key: NETBEANS-6372
> URL: https://issues.apache.org/jira/browse/NETBEANS-6372
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Other, platform - Filesystems
>Reporter: Antonio Vieiro
>Priority: Major
> Attachments: 
> cnd-2-org.netbeans.core.validation.ValidateLayerConsistencyTest.html, 
> cnd-org.netbeans.core.validation.ValidateLayerConsistencyTest.html
>
>
> While trying to integrate cnd and cpplite, the "commit-validation" fails with 
> the following two errors:
>  
> h3. Error one:
> Missing "weight" attribute, see also 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=141925]
>  
> {noformat}
> Some modules override some files without using the weight attribute 
> correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, 
> org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules conflict on the definition of position for 
> Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
> junit.framework.AssertionFailedError: Some modules override some files 
> without using the weight attribute correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', 
> attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, 
> categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules 
> conflict on the definition of position for Templates/Project/Native: 
> {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
>   at 
> org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668)
>   at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
>   at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
>   at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
>   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>   at java.awt.EventQueue.access$500(EventQueue.java:97)
>   at java.awt.EventQueue$3.run(EventQueue.java:709)
>   at java.awt.EventQueue$3.run(EventQueue.java:703)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
>   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>   at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
>   at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>   at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>   at 
> java.awt.EventDispatchThread.run(EventDispatchThread.java:82){noformat}
>  
>  
> h3. Error Two:
> cpplite is missing  a "position" attribute
> {code:java}
> No warnings relating to folder ordering; cf: 
> http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt
> Not all children in OptionsDialog/CPlusPlus/ marked with the position 
> attribute: [cpplite.instance], but some are: [ToolsTab.instance, 
> ProjectsTab.instance, CodeAssistanceTab.instance, 
> OtherOptionsTab.instance]
> junit.framework.AssertionFailedError: No warnings relating to 
> folder ordering; cf: 
> 

[jira] [Updated] (NETBEANS-6372) cnd/cpplite commit-validation fails

2022-01-07 Thread Antonio Vieiro (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-6372:
-
Attachment: 
cnd-org.netbeans.core.validation.ValidateLayerConsistencyTest.html

> cnd/cpplite commit-validation fails
> ---
>
> Key: NETBEANS-6372
> URL: https://issues.apache.org/jira/browse/NETBEANS-6372
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Other, platform - Filesystems
>Reporter: Antonio Vieiro
>Priority: Major
> Attachments: 
> cnd-org.netbeans.core.validation.ValidateLayerConsistencyTest.html
>
>
> While trying to integrate cnd and cpplite, the "commit-validation" fails with 
> the following two errors:
>  
> h3. Error one:
> Missing "weight" attribute, see also 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=141925]
>  
> {noformat}
> Some modules override some files without using the weight attribute 
> correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, 
> org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules conflict on the definition of position for 
> Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
> junit.framework.AssertionFailedError: Some modules override some files 
> without using the weight attribute correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', 
> attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, 
> categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules 
> conflict on the definition of position for Templates/Project/Native: 
> {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
>   at 
> org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668)
>   at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
>   at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
>   at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
>   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>   at java.awt.EventQueue.access$500(EventQueue.java:97)
>   at java.awt.EventQueue$3.run(EventQueue.java:709)
>   at java.awt.EventQueue$3.run(EventQueue.java:703)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
>   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>   at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
>   at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>   at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>   at 
> java.awt.EventDispatchThread.run(EventDispatchThread.java:82){noformat}
>  
>  
> h3. Error Two:
> cpplite is missing  a "position" attribute
> {code:java}
> No warnings relating to folder ordering; cf: 
> http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt
> Not all children in OptionsDialog/CPlusPlus/ marked with the position 
> attribute: [cpplite.instance], but some are: [ToolsTab.instance, 
> ProjectsTab.instance, CodeAssistanceTab.instance, 
> OtherOptionsTab.instance]
> junit.framework.AssertionFailedError: No warnings relating to 
> folder ordering; cf: 
> http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt
> Not
>  all children in 

[jira] [Commented] (NETBEANS-6372) cnd/cpplite commit-validation fails

2022-01-07 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro commented on NETBEANS-6372:
--

h3. Error three:
{code:java}
Some modules override some files without using the weight attribute 
correctly
Some modules conflict on the definition of position for 
Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
org.netbeans.modules.cpplite.project=650}




junit.framework.AssertionFailedError: Some modules override some files without 
using the weight attribute correctly
Some
 modules conflict on the definition of position for 
Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
org.netbeans.modules.cpplite.project=650}


at 
org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) {code}

> cnd/cpplite commit-validation fails
> ---
>
> Key: NETBEANS-6372
> URL: https://issues.apache.org/jira/browse/NETBEANS-6372
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Other, platform - Filesystems
>Reporter: Antonio Vieiro
>Priority: Major
>
> While trying to integrate cnd and cpplite, the "commit-validation" fails with 
> the following two errors:
>  
> h3. Error one:
> Missing "weight" attribute, see also 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=141925]
>  
> {noformat}
> Some modules override some files without using the weight attribute 
> correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, 
> org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules conflict on the definition of position for 
> Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
> junit.framework.AssertionFailedError: Some modules override some files 
> without using the weight attribute correctly
> OptionsDialog/CPlusPlus.instance is provided by: 
> [org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor]
>  org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
> {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
>  iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
> position=700}
>  org.netbeans.modules.cpplite.editor: content = '', 
> attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, 
> categoryName=C/C++, 
> iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
> keywords=C C++, keywordsCategory=CPPLite, position=715}
> Some modules 
> conflict on the definition of position for Templates/Project/Native: 
> {org.netbeans.modules.cnd.makeproject.ui=850, 
> org.netbeans.modules.cpplite.project=650}
>   at 
> org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668)
>   at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
>   at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
> 

[jira] [Created] (NETBEANS-6372) cnd/cpplite commit-validation fails

2022-01-07 Thread Antonio Vieiro (Jira)
Antonio Vieiro created NETBEANS-6372:


 Summary: cnd/cpplite commit-validation fails
 Key: NETBEANS-6372
 URL: https://issues.apache.org/jira/browse/NETBEANS-6372
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Other, platform - Filesystems
Reporter: Antonio Vieiro


While trying to integrate cnd and cpplite, the "commit-validation" fails with 
the following two errors:

 
h3. Error one:

Missing "weight" attribute, see also 
[https://bz.apache.org/netbeans/show_bug.cgi?id=141925]

 
{noformat}
Some modules override some files without using the weight attribute 
correctly
OptionsDialog/CPlusPlus.instance is provided by: 
[org.netbeans.modules.cnd.toolchain.ui, 
org.netbeans.modules.cpplite.editor]
 org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
{advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
 iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
position=700}
 org.netbeans.modules.cpplite.editor: content = '', attributes = 
{advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, 
iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
keywords=C C++, keywordsCategory=CPPLite, position=715}
Some modules conflict on the definition of position for 
Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, 
org.netbeans.modules.cpplite.project=650}




junit.framework.AssertionFailedError: Some modules override some files without 
using the weight attribute correctly
OptionsDialog/CPlusPlus.instance is provided by: 
[org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor]

 org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = 
{advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=/C++,
 iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, 
position=700}
 org.netbeans.modules.cpplite.editor: content = '', 
attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, 
categoryName=C/C++, 
iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, 
keywords=C C++, keywordsCategory=CPPLite, position=715}
Some modules 
conflict on the definition of position for Templates/Project/Native: 
{org.netbeans.modules.cnd.makeproject.ui=850, 
org.netbeans.modules.cpplite.project=650}


at 
org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:82){noformat}
 

 
h3. Error Two:

cpplite is missing  a "position" attribute
{code:java}
No warnings relating to folder ordering; cf: 
http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt
Not all children in OptionsDialog/CPlusPlus/ marked with the position 
attribute: [cpplite.instance], but some are: [ToolsTab.instance, 
ProjectsTab.instance, CodeAssistanceTab.instance, 
OtherOptionsTab.instance]



junit.framework.AssertionFailedError: No warnings relating to 
folder ordering; cf: 
http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt
Not
 all children in OptionsDialog/CPlusPlus/ marked with the position 
attribute: [cpplite.instance], but some are: [ToolsTab.instance, 
ProjectsTab.instance, CodeAssistanceTab.instance, 
OtherOptionsTab.instance]
at 
org.netbeans.core.validation.ValidateLayerConsistencyTest.assertNoErrors(ValidateLayerConsistencyTest.java:157)
at 
org.netbeans.core.validation.ValidateLayerConsistencyTest.testFolderOrdering(ValidateLayerConsistencyTest.java:806)
at 

[jira] [Updated] (NETBEANS-6367) NullPointerException: Cannot Invoke java.util.TreeSet.clear() because this.messageStore is null.

2022-01-07 Thread Gregory Sartucci (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Sartucci updated NETBEANS-6367:
---
Description: 
[^Netbeans Error Log]

I get this error upon loading Netbeans. I'm not sure precisely what causes it, 
but it seems to go away temporarily if I clear the Netbeans data, though it 
shows up again in a few days usually. I haven't figured out what all the 
effects are, but it seems to disable automatic code completion and error 
detection, which is a bit of a problem.

  was:
[^Netbeans Error Log]

I get this error upon loading Netbeans. I'm not sure precisely what causes it, 
but it seems to go away temporarily if I clear the Netbeans data, but it shows 
up again in a few days usually. I haven't figured out what all the effects are, 
but it seems to disable automatic code completion and error detection, which is 
a bit of a problem.


> NullPointerException: Cannot Invoke java.util.TreeSet.clear() because 
> this.messageStore is null.
> 
>
> Key: NETBEANS-6367
> URL: https://issues.apache.org/jira/browse/NETBEANS-6367
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Gregory Sartucci
>Priority: Major
> Attachments: Netbeans Error Log
>
>
> [^Netbeans Error Log]
> I get this error upon loading Netbeans. I'm not sure precisely what causes 
> it, but it seems to go away temporarily if I clear the Netbeans data, though 
> it shows up again in a few days usually. I haven't figured out what all the 
> effects are, but it seems to disable automatic code completion and error 
> detection, which is a bit of a problem.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[netbeans-jenkins-lib] branch master updated: HTML/Java 1.7.3

2022-01-07 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new bdc5c1f  HTML/Java 1.7.3
 new fb42ce1  Merge pull request #43 from JaroslavTulach/HtmlJava173
bdc5c1f is described below

commit bdc5c1f75b456ed33bc1122d4f8cb601136b5f87
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 5 15:15:24 2021 +0100

HTML/Java 1.7.3
---
 meta/netbeanshtml4j.json | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta/netbeanshtml4j.json b/meta/netbeanshtml4j.json
index f2f182e..fb1514f 100644
--- a/meta/netbeanshtml4j.json
+++ b/meta/netbeanshtml4j.json
@@ -55,6 +55,14 @@
 "tlp": "true",
 "apidocurl": "https://bits.netbeans.org/html+java/1.7.2;
 },
+"release-1.7.3": {
+"position": "8",
+"jdk": "jdk_15_latest",
+"jdk_apidoc": "https://docs.oracle.com/javase/8/docs/api/;,
+"version": "1.7.3",
+"tlp": "true",
+"apidocurl": "https://bits.netbeans.org/html+java/1.7.3;
+},
 "master": {
 "position": "4",
 "jdk": "jdk_1.8_latest",

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

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



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-07 Thread Thomas Schapitz (Jira)


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

Thomas Schapitz commented on NETBEANS-6364:
---

Hi Andoni,

there are a number of ways you can analyse this.
 * if you are comfortable using the command line, try to load/display your key 
using the java keytool.
 * else, you might try to install the Java ME Keystore Management Plugin from 
the Netbeans 8.2 Plugin Portal. Note, that in this case there is the 
complication, that you need to have a JDK <= 13 installed somewhere on your 
disk, because you need unpack200. (It needs to be present, so you can pick, but 
you don't need to switch your JDK you are using for execution)

Using that, you can find out, whether your private key can be loaded at all 
using java. Note, that without additional security libraries installed, Java 
and its keytool support just 2 keystore types: JKS (a java specific type of 
keystore) and PKCS12 (.p12 or pfx).
 * You might install the plugin "SSL Certificate Exception" (Netbeans Plugin 
Portal). This is sort of a band aid, to fix certain certificate validation 
issues, especially expired server certificates, broken trust chains, mismatched 
subjects and similar. The side effect is, that it displays more informations 
regarding the error. However, this focuses mostly on the server side 
certificates.
 * Finally you may try to activate SSL debugging. For this, you will need to  
add  *{-}-J{-}-Djavax.net.debug=all* to the start parameters of Netbeans; 
either in etc/netbeans.conf, or directly on the command line. This will spam 
your sysout with ssl related output, that might indicate the reason, what is 
invalid. Details: 
https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

 

 

 

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Created] (NETBEANS-6371) Go to declaration cmd+click doesn't work most of the times

2022-01-07 Thread Eduardo Bergasa (Jira)
Eduardo Bergasa created NETBEANS-6371:
-

 Summary: Go to declaration cmd+click doesn't work most of the times
 Key: NETBEANS-6371
 URL: https://issues.apache.org/jira/browse/NETBEANS-6371
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2, 12.6
 Environment: This error happens at least in versions 12.2 and 12.6

Fresh 12.6 install on macOs high sierra (10.13.6) 
OpenJDK 64-Bit Server VM 17.0.1+12-39 (also fails on jdk11)
Reporter: Eduardo Bergasa


 

Fresh Netbeans 12.6 install on macOS High Sierra.

Open existent maven project, open a .java file and point with mouse on method 
or class name, press cmd+click to navigate to class/method definition doesn't 
work most of the times, sometimes it does.

It always works if invoked by selecting class name and pressing SHIFT+cmd+B

I don't really know what extra information or test I can provide to help 
identify the problem don't hesitate to ask for anything else

errors shown o messages.log (I think they are unrelated to the issue)

{{SEVERE [global]}}
{{javax.swing.text.BadLocationException: Invalid offset=-1 < 0; docLen=3515}}
{{    at 
org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetNonNegative(EditorDocumentContent.java:246)}}
{{    at 
org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:259)}}
{{    at 
org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:173)}}
{{    at 
java.desktop/javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:861)}}
{{    at 
org.netbeans.modules.editor.lib2.view.OffsetRegion.createPos(OffsetRegion.java:58)}}
{{Caused: java.lang.IllegalArgumentException: Invalid offset=-1 in doc: 
org.netbeans.modules.editor.NbEditorDocument@796f11d9, mimeType='text/x-java', 
kitClass=null, length=3515, version=1, 
file=org.netbeans.modules.java.JavaDataObject@57a9c27e[/Users/user/SourceCode/2021/project1/trunk/module/src/main/java/org/test/model/Funding.java@8402672a:145862bb]}}
{{    at 
org.netbeans.modules.editor.lib2.view.OffsetRegion.createPos(OffsetRegion.java:60)}}
{{    at 
org.netbeans.modules.editor.lib2.view.OffsetRegion.create(OffsetRegion.java:36)}}
{{    at 
org.netbeans.modules.editor.lib2.view.OffsetRegion.union(OffsetRegion.java:49)}}
{{    at 
org.netbeans.modules.editor.lib2.view.ViewUpdates.viewFactoryChanged(ViewUpdates.java:356)}}
{{    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)}}
{{    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)}}
{{    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)}}
{{    at java.base/java.lang.reflect.Method.invoke(Method.java:568)}}
{{    at 
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)}}
{{    at jdk.proxy19/jdk.proxy19.$Proxy58.viewFactoryChanged(Unknown Source)}}
{{    at 
org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:235)}}
{{    at 
org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$1.run(HighlightsViewFactory.java:373)}}
{{    at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1402)}}
{{    at 
org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:347)}}
{{    at jdk.internal.reflect.GeneratedMethodAccessor137.invoke(Unknown 
Source)}}
{{    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)}}
{{    at java.base/java.lang.reflect.Method.invoke(Method.java:568)}}
{{    at 
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)}}
{{    at jdk.proxy19/jdk.proxy19.$Proxy55.highlightChanged(Unknown Source)}}
{{    at 
org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer.highlightChanged(DirectMergeContainer.java:120)}}
{{    at jdk.internal.reflect.GeneratedMethodAccessor137.invoke(Unknown 
Source)}}
{{    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)}}
{{    at java.base/java.lang.reflect.Method.invoke(Method.java:568)}}
{{    at 
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)}}
{{    at jdk.proxy19/jdk.proxy19.$Proxy55.highlightChanged(Unknown Source)}}
{{    at 
org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:88)}}
{{    at 
org.netbeans.spi.editor.highlighting.support.OffsetsBag.setHighlights(OffsetsBag.java:282)}}
{{    at 
org.netbeans.modules.java.editor.semantic.SemanticHighlighter$1$1.run(SemanticHighlighter.java:79)}}
{{    at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)}}
{{    at 

[jira] [Assigned] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-07 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

José Carlos Macedo reassigned NETBEANS-6364:


Assignee: José Carlos Macedo

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[netbeans-website] branch master updated: Update information on supported JDK given issues raised in NETBEANS-6285.

2022-01-07 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 2d5708a  Update information on supported JDK given issues raised in 
NETBEANS-6285.
 new 1303765  Merge pull request #575 from neilcsmith-net/nb126-jdk8-warning
2d5708a is described below

commit 2d5708a160c5f58a8cd4f3b94d948714024e6960
Author: Neil C Smith 
AuthorDate: Fri Jan 7 17:30:07 2022 +

Update information on supported JDK given issues raised in NETBEANS-6285.
---
 netbeans.apache.org/src/content/download/nb126/nb126.asciidoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc 
b/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
index 6ab1bd7..e492e03 100644
--- a/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb126/nb126.asciidoc
@@ -73,7 +73,9 @@ Apache NetBeans can also be installed as a self-contained 
link:https://snapcraft
 
 == Deployment Platforms
 
-Apache NetBeans 12.6 runs on JDK LTS releases 8 and 11, with experimental 
support for JDK 17, i.e., the current JDK release at the time of this NetBeans 
release.
+The Apache NetBeans 12.6 binary releases require JDK 11+, and officially 
support running on JDK 11 and JDK 17.
+
+IMPORTANT: Apache NetBeans 12.6 can be run on JDK 8, with some features 
disabled, if built from source using JDK 8.
 
 TIP: The current JDKs have an issue on macOS Big Sur, that causes freezes on 
dialogs. That could be fixed by applying the workaround described at 
link:https://issues.apache.org/jira/browse/NETBEANS-5037?focusedCommentId=17234878=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17234878[NETBEANS-5037]
 .
 

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

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



[netbeans-jenkins-lib] branch master updated: Updated netbeansrelease.json

2022-01-07 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new 329c68c  Updated netbeansrelease.json
 new f93e70a  Merge pull request #44 from 
geertjanw/editing_netbeansrelease.json
329c68c is described below

commit 329c68c25df265ad5a27f86423d0925694c1ee61
Author: Geertjan Wielenga 
AuthorDate: Fri Jan 7 18:39:44 2022 +0100

Updated netbeansrelease.json
---
 meta/netbeansrelease.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 3b812ec..eaa9b8d 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -239,7 +239,7 @@
 },
 "631bd69cd6112b1cc4c892c24e3e605b1ba04241": {
 "version": "beta6",
-"vote":"1",
+"vote": "1",
 "position": "6"
 },
 "efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8": {
@@ -379,7 +379,7 @@
 "c3d4f6fa6c956cf1b5a35e8da4f44a96ab76f6a9": {
 "vote": "1",
 "position": "3"
-}
+}
 },
 "releasedate": {
 "day": "03",
@@ -428,7 +428,7 @@
 "21726744165c946ba6619bff89e98d5863f26e22": {
 "vote": "1",
 "position": "6"
-}  
+}
 },
 "releasedate": {
 "day": "19",
@@ -493,7 +493,7 @@
 "fd523ddc12d6156412d7b81f0c8663d8913d1021": {
 "vote": "1",
 "position": "3"
-} 
+}
 },
 "releasedate": {
 "day": "13",
@@ -582,7 +582,7 @@
 "tlp": "true",
 "apidocurl": "https://bits.netbeans.org/dev/javadoc;,
 "update_url": 
"https://netbeans.apache.org/nb/updates/dev/updates.xml.gz?{$netbeans.hash.code};,
-"plugin_url": 
"https://netbeans.apache.org/nb/plugins/dev/catalog.xml.gz;,
+"plugin_url": 
"https://netbeans.apache.org/nb/plugins/dev/catalog.xml.gz;,
 "releasedate": {
 "day": "-",
 "month": "-",
@@ -594,4 +594,4 @@
 "year": "2021"
 }
 }
-}
+}
\ No newline at end of file

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

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



[netbeans] branch master updated: Avoid using word failed in non-fatal debug messages

2022-01-07 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 3cf761d  Avoid using word failed in non-fatal debug messages
 new 1fc9650  Merge pull request #3425 from JaroslavTulach/jtulach/NoFailed
3cf761d is described below

commit 3cf761dd51ae5c77ba4222cd4730921772bbdf93
Author: Jaroslav Tulach 
AuthorDate: Fri Jan 7 12:47:44 2022 +0100

Avoid using word failed in non-fatal debug messages
---
 ide/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java | 2 +-
 .../src/org/netbeans/api/java/source/ModificationResult.java| 2 +-
 platform/openide.util/src/org/openide/util/RequestProcessor.java| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/ide/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java 
b/ide/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java
index def826c..d4512db 100644
--- a/ide/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java
+++ b/ide/projectui/src/org/netbeans/modules/project/ui/ProjectsRootNode.java
@@ -370,7 +370,7 @@ public class ProjectsRootNode extends AbstractNode {
 if (!data.hasFirst()) {
 LOG.log(
 Level.WARNING,
-"Warning - project of {0} in {1} failed to supply a 
LogicalViewProvider in its lookup",  // NOI18N
+"Warning - project of {0} in {1} doesn't supply a 
LogicalViewProvider in its lookup",  // NOI18N
 new Object[]{
 project.getClass(),
 
FileUtil.getFileDisplayName(project.getProjectDirectory())
diff --git 
a/java/java.source.base/src/org/netbeans/api/java/source/ModificationResult.java
 
b/java/java.source.base/src/org/netbeans/api/java/source/ModificationResult.java
index 4360a96..beda9b8 100644
--- 
a/java/java.source.base/src/org/netbeans/api/java/source/ModificationResult.java
+++ 
b/java/java.source.base/src/org/netbeans/api/java/source/ModificationResult.java
@@ -236,7 +236,7 @@ public final class ModificationResult {
 }
 });
 if (exceptions [0] != null) {
-LOG.log(Level.INFO, "ModificationResult commit failed with 
an exception: ", exceptions[0]);
+LOG.log(Level.INFO, "Cannot commit changes into " + fo, 
exceptions[0]);
 int s = lastCommitted.size();
 for (Throwable t : lastCommitted) {
 LOG.log(Level.INFO, "Previous commit number " + s--, 
t);
diff --git a/platform/openide.util/src/org/openide/util/RequestProcessor.java 
b/platform/openide.util/src/org/openide/util/RequestProcessor.java
index 7a7ff4b..8de90c6 100644
--- a/platform/openide.util/src/org/openide/util/RequestProcessor.java
+++ b/platform/openide.util/src/org/openide/util/RequestProcessor.java
@@ -2124,7 +2124,7 @@ outer:  do {
 if (SLOW) {
 Item item = todo.item;
 if (item != null && item.message == null) {
-item.message = "task failed due to: " + ex;
+item.message = ex.toString();
 item.initCause(ex);
 ex = item;
 }

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

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



[jira] [Closed] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8

2022-01-07 Thread Jaroslav Tulach (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach closed NETBEANS-6349.
-
Fix Version/s: 13
   Resolution: Fixed

Fixed by https://github.com/apache/netbeans/pull/3418

> Recent builds of the module responsible for java source parsing break BC to 
> JDK 8
> -
>
> Key: NETBEANS-6349
> URL: https://issues.apache.org/jira/browse/NETBEANS-6349
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing
>Affects Versions: 12.5, 12.6
>Reporter: Thomas Schapitz
>Assignee: Jaroslav Tulach
>Priority: Critical
> Fix For: 13
>
>
> There are 6 linked Issues, that all follow a common pattern, pointing to a 
> common cause:
>  * They are accompanied by an java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>  * The users indicate, they are running NB 12.5+ with JDK8
>  * The errors occur during parsing.
> Sure enough, JDK 8 hasn't 
> java.nio.CharBuffer.flip()Ljava/nio/{*}+CharBuffer+{*},
> it has only java.nio.CharBuffer.flip()Ljava/nio/{+}*Buffer,*{+} which it 
> inherits from Buffer.
> Which means: the Module in question has obviously been compiled against a 
> library more recent then JDK8, at least JDK9, which has this method.
>  
> Consequences:
> This and the 6 linked issues will automatically be fixed with the rollout of 
> NB 13, which will require JDK 11 as prerequisite anyway.
> In the mean time, users may work around the problem, by immediately switching 
> to JDK 9+ when executing Netbeans. Note that they should still be able to 
> develop and build for JDKs 8 an prior.  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Closed] (NETBEANS-6285) Netbeans 12.6 compiles against JDK9+ CharBuffer.flip() and no longer runs on JDK 8

2022-01-07 Thread Jaroslav Tulach (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach closed NETBEANS-6285.
-
Fix Version/s: 13
   Resolution: Fixed

Fixed by https://github.com/apache/netbeans/pull/3418

> Netbeans 12.6 compiles against JDK9+ CharBuffer.flip() and no longer runs on 
> JDK 8
> --
>
> Key: NETBEANS-6285
> URL: https://issues.apache.org/jira/browse/NETBEANS-6285
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Platform
>Affects Versions: 12.6
>Reporter: Jean-Marc Borer
>Assignee: Jaroslav Tulach
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 13
>
> Attachments: messages.log
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> After a full fresh install of NB12.6 and trying to run with Azul Open JDK 1.8 
> 312, there are several ClassNotFoundExceptions in the logs. It seems that NB 
> looks for missing methods that make NB not longer properly. For example, it 
> is no longer possible to properly format Java sources files due to a 
> java/nio/CharBuffer method missing.
> Is NB platform supposed to no longer work with Java 8?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[netbeans] branch master updated (f613251 -> 09ab94f)

2022-01-07 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from f613251  Modified to prevent IllegalStateExceptions from CasualDiff. 
(#3422)
 new f27e312  Build on JDK-11 and test (something) on JDK-8
 new 334a69d  Downcast to Buffer before calling flip() to use only JDK-8 
APIs
 new 7d1f18f  Disabling tests (randomly) failing on the gate
 new 09ab94f  Merge pull request #3418 from 
JaroslavTulach/jtulach/BuildOnJdk11TestOnJdk8

The 6384 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/{cv.yml => ensure-jdk8.yml}  | 33 ++
 .../modules/java/source/parsing/FileObjects.java   |  5 +++-
 .../netbeans/api/java/source/ClassIndexTest.java   |  5 ++--
 .../java/source/parsing/ClasspathInfoTest.java |  5 ++--
 .../java/source/parsing/PartialReparseTest.java|  2 ++
 5 files changed, 33 insertions(+), 17 deletions(-)
 copy .github/workflows/{cv.yml => ensure-jdk8.yml} (62%)

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

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



[jira] [Resolved] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven resolved NETBEANS-6369.
--
Resolution: Workaround

Zie commentaar

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at 
> 

[jira] [Commented] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6370:
--

Het blijkt dat dit probleem werd veroorzaakt doordat ik variabele 
netbeans_jdkhome in netbeans.conf had aangepast naar jdk1.8. Dit had ik gedaan 
zodat builden van het project gebeurt met de juiste java-versie (8). Echter, 
deze java-versie blijkt onder water ook door Apache NetBeans 12.6 zelf te 
worden gebruikt. Het blijkt dat Apache Netbeans 12.6 niet compatibel is met 
jdk1.8. Na wijzigen van deze variabele naar jdk1.11, is bovengenoemd probleem 
opgelost.[|https://issues.apache.org/jira/secure/DeleteComment!default.jspa?id=13421320=17470680]
 
Echter, nu wordt de applicatie default ook gebouwd met deze versie. Dit blijkt 
echter opgelost te kunnen worden door de java-versie in de Maven-settings weer 
op 8 te zetten. (In Tools -> Options -> Java -> Maven). Hiermee heb ik een 
workaround, al blijft het wel vreemd dat de suggestie wordt gewerkt dat 
variabele netbeans_jdkhome in netbeans.conf aangepast mag worden, terwijl 
Netbeans 12.6 niet compatibel is.

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Assignee: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> 

[jira] [Resolved] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven resolved NETBEANS-6370.
--
Resolution: Workaround

Zie commentaar

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Assignee: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Commented] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6369:
--

Echter, nu wordt de applicatie default ook gebouwd met deze versie. Dit blijkt 
echter opgelost te kunnen worden door de java-versie in de Maven-settings weer 
op 8 te zetten. (In Tools -> Options -> Java -> Maven). Hiermee heb ik een 
workaround, al blijft het wel vreemd dat de suggestie wordt gewerkt dat 
variabele netbeans_jdkhome in netbeans.conf aangepast mag worden, terwijl 
Netbeans 12.6 niet compatibel is.

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at 

[jira] [Commented] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6369:
--

Het blijkt dat dit probleem werd veroorzaakt doordat ik variabele 
netbeans_jdkhome in netbeans.conf had aangepast naar jdk1.8. Dit had ik gedaan 
zodat builden van het project gebeurt met de juiste java-versie (8). Echter, 
deze java-versie blijkt onder water ook door Apache NetBeans 12.6 zelf te 
worden gebruikt. Het blijkt dat Apache Netbeans 12.6 niet compatibel is met 
jdk1.8. Na wijzigen van deze variabele naar jdk1.11, is bovengenoemd probleem 
opgelost.

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     

[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-07 Thread Andoni Diaz (Jira)


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

Andoni Diaz commented on NETBEANS-6364:
---

Of course, I followed the " breadcrumbs of open issue button click" and it was 
all in spanish so I didn't see this coming.

 

Putting the fun aside the struggle is real. The IDE indicates that for the 
current configuration the private key is invalid. It is an ed25519 key but, I 
have also tried converting it to PEM format and other formats and I do not 
think that is the reason. The only information I have is the one attached to 
the screenshot, the port 443 is correct I'm multiplexing it. It said the 
private key is invalid, but this is not true because, I can connect with this 
key using other clients.

 

However, when I use the same configuration, from the Git-Bash, in the directory 
where the application is located, it works correctly. The firewall is open and 
I can connect from IDE to update, plugins, test connection, etc.

 

I have made different types of security and port configurations but I always 
end up in the IDE and I do not see traces with extra information.

 

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Commented] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6370:
--

Het lijkt te maken te hebben met issue in 
https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Assignee: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

For further information about the NetBeans mailing lists, visit:

[jira] [Commented] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6369:
--

Het lijkt te maken te hebben met issue in 
[https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip]

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at 

[jira] [Assigned] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven reassigned NETBEANS-6370:


Assignee: Arie Verhoeven

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Assignee: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Created] (NETBEANS-6370) Java callhierarchy

2022-01-07 Thread Arie Verhoeven (Jira)
Arie Verhoeven created NETBEANS-6370:


 Summary: Java callhierarchy
 Key: NETBEANS-6370
 URL: https://issues.apache.org/jira/browse/NETBEANS-6370
 Project: NetBeans
  Issue Type: Bug
Reporter: Arie Verhoeven






--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Commented] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6370:
--

Dit lijkt onder water hetzelfde probleem als gerelateerde bug NETBEANS-6369.

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Commented] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


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

Arie Verhoeven commented on NETBEANS-6369:
--

Dit lijkt onder water hetzelfde probleem als gerelateerde bug NETBEANS-6370.

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>    

[jira] [Updated] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6369:
-
Affects Version/s: 12.6

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at 
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
>    

[jira] [Updated] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6370:
-
Affects Version/s: 12.6

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Updated] (NETBEANS-6370) Java Call Hierarchy: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6370:
-
Summary: Java Call Hierarchy: java.lang.NoSuchMethodError: 
java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;  (was: Java callhierarchy)

> Java Call Hierarchy: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> -
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
>     at 
> org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
>     at 
> org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
>     at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Updated] (NETBEANS-6369) Refactor Introduce Method: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6369:
-
Summary: Refactor Introduce Method: java.lang.NoSuchMethodError: 
java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;  (was: Foutmelding)

> Refactor Introduce Method: java.lang.NoSuchMethodError: 
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at 
> 

[jira] [Updated] (NETBEANS-6370) Java callhierarchy

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6370:
-
Description: 
In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het lijkt 
wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De volgende 
onverwachte foutmelding treedt op:

java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
    at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
    at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
    at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
    at 
org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
    at 
org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2780)
    at 
org.netbeans.modules.java.source.pretty.VeryPretty.getMethodHeader(VeryPretty.java:624)
    at 
org.netbeans.modules.java.ui.ElementHeaderFormater.getMethodHeader(ElementHeaderFormater.java:42)
    at 
org.netbeans.api.java.source.ui.ElementHeaders.getHeader(ElementHeaders.java:94)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:186)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.Call.createUsage(Call.java:177)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:409)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
    at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
    at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
    at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
    at 
org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
    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)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

  was:In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage.


> Java callhierarchy
> --
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage. De 
> volgende onverwachte foutmelding treedt op:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
>     at 
> org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2761)
>     at 
> 

[jira] [Updated] (NETBEANS-6370) Java callhierarchy

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6370:
-
Attachment: screenshot-1.png

> Java callhierarchy
> --
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Updated] (NETBEANS-6370) Java callhierarchy

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6370:
-
Description: In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet 
meer goed. Het lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook 
bijlage.

> Java callhierarchy
> --
>
> Key: NETBEANS-6370
> URL: https://issues.apache.org/jira/browse/NETBEANS-6370
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> In Apache NetBeans 12.6 IDE werkt Java Call Hierarchy niet meer goed. Het 
> lijkt wel dat dit maar tot 1 niveau wordt uitgewerkt. Zie ook bijlage.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Updated] (NETBEANS-6369) Foutmelding

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6369:
-
Attachment: screenshot-2.png

> Foutmelding
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at 
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
>     at 
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
>     at 
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
>  

[jira] [Updated] (NETBEANS-6369) Foutmelding

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6369:
-
Attachment: screenshot-1.png

> Foutmelding
> ---
>
> Key: NETBEANS-6369
> URL: https://issues.apache.org/jira/browse/NETBEANS-6369
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Arie Verhoeven
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
> introduceren van een nieuwe methode op grond van een stukje javacode. 
> (Refactor -> Introduce -> Method )
> Het gaat om de volgende foutmelding:
> java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
>     at 
> org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
>     at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
>     at 
> org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
>     at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
>     at 
> org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
>     at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
>     at 
> org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
>     at 
> org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
>     at 
> org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
>     at 
> org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
>     at 
> org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
>     at 
> org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
>     at 
> org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
>     at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
>     at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
>     at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
>     at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
>     at java.awt.Component.processEvent(Component.java:6316)
>     at java.awt.Container.processEvent(Container.java:2239)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2297)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at 
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
>     at 
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
>     at 
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
>     at 
> 

[jira] [Updated] (NETBEANS-6369) Foutmelding

2022-01-07 Thread Arie Verhoeven (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arie Verhoeven updated NETBEANS-6369:
-
Description: 
Ik krijg in Apache NetBeans IDE 12.6 een onverwachte foutmelding bij het 
introduceren van een nieuwe methode op grond van een stukje javacode. (Refactor 
-> Introduce -> Method )

Het gaat om de volgende foutmelding:

java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
    at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
    at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
    at 
org.netbeans.modules.java.source.save.Reindenter.initRegionData(Reindenter.java:268)
    at 
org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:121)
    at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548)
    at 
org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309)
    at 
org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:282)
    at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:146)
    at 
org.netbeans.modules.java.source.save.CasualDiff$1.run(CasualDiff.java:393)
    at org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:1426)
    at org.netbeans.editor.BaseDocument.runAtomic(BaseDocument.java:1416)
    at 
org.netbeans.editor.BaseDocument$ServicesImpl.runAtomic(BaseDocument.java:2720)
    at 
org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:400)
    at 
org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
    at 
org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
    at 
org.netbeans.api.java.source.ModificationResult$1.run(ModificationResult.java:123)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
    at 
org.netbeans.api.java.source.ModificationResult.runModificationTask(ModificationResult.java:105)
    at 
org.netbeans.modules.java.hints.introduce.IntroduceMethodFix.implement(IntroduceMethodFix.java:438)
    at 
org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:213)
    at 
org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:102)
    at 
org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99)
    at 
org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:72)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
    at java.awt.Component.processEvent(Component.java:6316)
    at java.awt.Container.processEvent(Container.java:2239)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2297)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
    at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
    at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
    at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:974)
    at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:800)
    at java.awt.Component.dispatchEventImpl(Component.java:4760)
    at java.awt.Container.dispatchEventImpl(Container.java:2297)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

[jira] [Created] (NETBEANS-6369) Foutmelding

2022-01-07 Thread Arie Verhoeven (Jira)
Arie Verhoeven created NETBEANS-6369:


 Summary: Foutmelding
 Key: NETBEANS-6369
 URL: https://issues.apache.org/jira/browse/NETBEANS-6369
 Project: NetBeans
  Issue Type: Bug
Reporter: Arie Verhoeven






--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Created] (NETBEANS-6368) NetBeans 12.6 on Linux. Java editor problems

2022-01-07 Thread John Franklin (Jira)
John Franklin created NETBEANS-6368:
---

 Summary: NetBeans 12.6 on Linux. Java editor problems
 Key: NETBEANS-6368
 URL: https://issues.apache.org/jira/browse/NETBEANS-6368
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.6
 Environment: Running NetBeans 12.6 on Linux Mint 20.1. 
Reporter: John Franklin


When editing Java source files, the editor isn't behaving as expected. Placing 
the cursor at the end of a text line and hitting return causes the editor to 
insert a new line and then place the cursor at its start, rather than under the 
first non white-space character of the line above. So I have to enter code that 
is at the left margin and then use the source formatting option to align things 
correctly. Earlier releases of NetBeans behave as expected, as do other IDE's. 
C++ source files edit correctly. I'm running this version of NetBeans on two 
PC's, both exhibit this behaviour. Non of the editor Formatting options (under 
Tools/Options/Formatting tab) seem relevant. Also, the Preview pane is blank 
for most of the Java Categories.

This issue has been reported by myself and one other on Stackoverflow



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[netbeans] branch master updated: Modified to prevent IllegalStateExceptions from CasualDiff. (#3422)

2022-01-07 Thread dbalek
This is an automated email from the ASF dual-hosted git repository.

dbalek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new f613251  Modified to prevent IllegalStateExceptions from CasualDiff. 
(#3422)
f613251 is described below

commit f61325118521af3c1a769fcf2c4d1acd5627745f
Author: Dusan Balek 
AuthorDate: Fri Jan 7 09:53:45 2022 +0100

Modified to prevent IllegalStateExceptions from CasualDiff. (#3422)
---
 .../src/org/netbeans/modules/java/source/save/PositionEstimator.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/PositionEstimator.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/PositionEstimator.java
index 351f163..8e69d00 100644
--- 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/PositionEstimator.java
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/PositionEstimator.java
@@ -968,7 +968,7 @@ public abstract class PositionEstimator {
 if (seq.movePrevious() && seq.offset() >= sectionStart && 
nonRelevant.contains(seq.token().id())) {
 moveToSrcRelevantBounded(seq, Direction.BACKWARD);
 seq.moveNext();
-treeEnd = seq.offset();
+treeEnd = Math.max(seq.offset(), treeStart);
 }
 }
 

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

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



[netbeans] branch master updated: LSP console IO is made more reliable, output is not lost now.

2022-01-07 Thread entl
This is an automated email from the ASF dual-hosted git repository.

entl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new b923d00  LSP console IO is made more reliable, output is not lost now.
b923d00 is described below

commit b923d001be4afe7ebbb6b2bb7ef857aa6793037e
Author: Martin Entlicher 
AuthorDate: Thu Jan 6 15:01:20 2022 +0100

LSP console IO is made more reliable, output is not lost now.
---
 .../server/debugging/launch/NbLaunchDelegate.java  |  2 +-
 .../server/ui/AbstractLspInputOutputProvider.java  | 24 ++
 .../src/org/openide/io/BridgingIOProvider.java |  3 +--
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
index 163b39c..6d16f55 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java
@@ -152,8 +152,8 @@ public abstract class NbLaunchDelegate {
 }
 }
 };
-Project prj = FileOwnerQuery.getOwner(toRun);
 if (nativeImageFile == null) {
+Project prj = FileOwnerQuery.getOwner(toRun);
 class W extends Writer {
 @Override
 public void write(char[] cbuf, int off, int len) throws 
IOException {
diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractLspInputOutputProvider.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractLspInputOutputProvider.java
index e5a54f6..34c3407 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractLspInputOutputProvider.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractLspInputOutputProvider.java
@@ -58,12 +58,12 @@ public abstract class AbstractLspInputOutputProvider 
implements InputOutputProvi
 
 @Override
 public final PrintWriter getOut(LspIO io) {
-return io.out;
+return new PrintWriter(io.out);
 }
 
 @Override
 public final PrintWriter getErr(LspIO io) {
-return io.err;
+return new PrintWriter(io.err);
 }
 
 @Override
@@ -94,7 +94,7 @@ public abstract class AbstractLspInputOutputProvider 
implements InputOutputProvi
 
 @Override
 public final boolean isIOClosed(LspIO io) {
-return io.closed;
+return io.isClosed();
 }
 
 @Override
@@ -133,16 +133,15 @@ public abstract class AbstractLspInputOutputProvider 
implements InputOutputProvi
 private final IOContext ctx;
 final Lookup lookup;
 final Reader in;
-final PrintWriter out;
-final PrintWriter err;
-volatile boolean closed;
+final LspWriter out;
+final LspWriter err;
 
 LspIO(String name, IOContext ioCtx, Lookup lookup) {
 this.name = name;
 this.ctx = ioCtx;
 this.lookup = lookup;
-this.out = new PrintWriter(new LspWriter(true));
-this.err = new PrintWriter(new LspWriter(false));
+this.out = new LspWriter(true);
+this.err = new LspWriter(false);
 Reader in;
 try {
 InputStream is = ioCtx.getStdIn();
@@ -155,7 +154,9 @@ public abstract class AbstractLspInputOutputProvider 
implements InputOutputProvi
 }
 };
 } catch (IOException ex) {
-err.write(ex.getLocalizedMessage());
+try {
+err.write(ex.getLocalizedMessage());
+} catch (IOException ioex) {}
 in = new CharArrayReader(new char[0]) {
 @Override
 public void close() {
@@ -165,8 +166,13 @@ public abstract class AbstractLspInputOutputProvider 
implements InputOutputProvi
 this.in = in;
 }
 
+boolean isClosed() {
+return out.closed && err.closed;
+}
+
 private final class LspWriter extends Writer {
 private final boolean stdIO;
+volatile boolean closed;
 
 LspWriter(boolean stdIO) {
 this.stdIO = stdIO;
diff --git a/platform/openide.io/src/org/openide/io/BridgingIOProvider.java 
b/platform/openide.io/src/org/openide/io/BridgingIOProvider.java
index c8d7416..8edd804 100644
--- a/platform/openide.io/src/org/openide/io/BridgingIOProvider.java
+++ b/platform/openide.io/src/org/openide/io/BridgingIOProvider.java
@@ -158,8 +158,7 @@ public class BridgingIOProvider
 @Override
 public OutputWriter getErr() {
 return new 

[jira] [Commented] (NETBEANS-6366) Gradle subproject are not shown and cannot be processed

2022-01-07 Thread Jira


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

Karl Bönisch commented on NETBEANS-6366:


Hi

I attached the structure with the builds...

By the way, clicking clean build or choosing the gradle build an run it, this 
also works !( But no chance to change the sources( screens ) !

> Gradle subproject are not shown and cannot be processed
> ---
>
> Key: NETBEANS-6366
> URL: https://issues.apache.org/jira/browse/NETBEANS-6366
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5, 12.6
> Environment: WINDOWS 10
> LINUX SUSE Leap 15.3
>Reporter: Karl Bönisch
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: NETBEANS-6366.7z, image-2022-01-06-17-47-13-994.png, 
> image-2022-01-06-17-48-29-503.png
>
>
> Open a gradle project with Netbeans 8.2 everything is fine and we can work 
> with.
> After Netbeans 12( may be also before ) the same gradle project cannot be 
> opened or better can be opened, but subprojects are not shown and sources( 
> here swing incl. swingx screens cannot be opened)
> When moving the subproject under the root project everything is working ( 
> also > NB 12 ) !(Before I thought it was the Nullpointer - NETBEANS-6055 
> error).
> The source folders are only seen in the "Files" Tab.
> We have the following project structure
> Settings.gradle
> includeFlat "UniAccessConfig", \
>             "GL/GL/GLGL031", \
>             "GL/GU/GLGU050", \
>             "GL/GU/GLGU055", \
>             "GL/GU/GLGU060", \
>             "../GLSCommon/GLSCommon", \
>             "../GLSCommon/GLSGUI", \
>             "../GLSCommon/GLSUtils", \
>             "../GLSCommon/GLSResourceLib", \
>             "../GLSCommon/GLSFonts", \
>             "../GLSConstants"
> project (":UniAccessConfig").name = 'UniAccessConfig'
> project (":GL/GL/GLGL031").name = 'GLGL031'
> project (":GL/GU/GLGU050").name = 'GLGU050'
> project (":GL/GU/GLGU055").name = 'GLGU055'
> project (":GL/GU/GLGU060").name = 'GLGU060'
> project (":../GLSCommon/GLSCommon").name = 'GLSCommon'
> project (":../GLSCommon/GLSGUI").name = 'GLSGUI'
> project (":../GLSCommon/GLSUtils").name = 'GLSUtils'
> project (":../GLSCommon/GLSResourceLib").name = 'GLSResourceLib'
> project (":../GLSCommon/GLSFonts").name = 'GLSFonts'
> project (":../GLSConstants").name = 'GLSConstants'
> also does not work  doing in settings.gradle
> include "UniAccessConfig"
> include "GLGL031"
> include "GLGU050"
> include "GLGU055"
> include "GLGU060"
> include "GLSCommon"
> include "GLSGUI"
> include "GLSUtils"
> include "GLSResourceLib"
> include "GLSFonts"
> include "GLSConstants"
> project(":UniAccessConfig").projectDir = new 
> File("$rootDir/../UniAccessConfig")
> project(":GLGL031").projectDir = new File("$rootDir/../GL/GL/GLGL031")
> project(":GLGU050").projectDir = new File("$rootDir/../GL/GU/GLGU050")
> project(":GLGU055").projectDir = new File("$rootDir/../GL/GU/GLGU055")
> project(":GLGU060").projectDir = new File("$rootDir/../GL/GU/GLGU060")
> project(":GLSCommon").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSCommon")
> project(":GLSGUI").projectDir = new File("$rootDir/../../GLSCommon/GLSGUI")
> project(":GLSUtils").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSUtils")
> project(":GLSResourceLib").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSResourceLib")
> project(":GLSFonts").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSFonts")
> project(":GLSConstants").projectDir = new File("$rootDir/../../GLSConstants")
> I will attach some hardcopies to see the difference between NB 8.2 and 12.6
> NB 8.2:
> !image-2022-01-06-17-47-13-994.png!
> NB 12.6
> !image-2022-01-06-17-48-29-503.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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



[jira] [Updated] (NETBEANS-6366) Gradle subproject are not shown and cannot be processed

2022-01-07 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Bönisch updated NETBEANS-6366:
---
Attachment: NETBEANS-6366.7z

> Gradle subproject are not shown and cannot be processed
> ---
>
> Key: NETBEANS-6366
> URL: https://issues.apache.org/jira/browse/NETBEANS-6366
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.5, 12.6
> Environment: WINDOWS 10
> LINUX SUSE Leap 15.3
>Reporter: Karl Bönisch
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: NETBEANS-6366.7z, image-2022-01-06-17-47-13-994.png, 
> image-2022-01-06-17-48-29-503.png
>
>
> Open a gradle project with Netbeans 8.2 everything is fine and we can work 
> with.
> After Netbeans 12( may be also before ) the same gradle project cannot be 
> opened or better can be opened, but subprojects are not shown and sources( 
> here swing incl. swingx screens cannot be opened)
> When moving the subproject under the root project everything is working ( 
> also > NB 12 ) !(Before I thought it was the Nullpointer - NETBEANS-6055 
> error).
> The source folders are only seen in the "Files" Tab.
> We have the following project structure
> Settings.gradle
> includeFlat "UniAccessConfig", \
>             "GL/GL/GLGL031", \
>             "GL/GU/GLGU050", \
>             "GL/GU/GLGU055", \
>             "GL/GU/GLGU060", \
>             "../GLSCommon/GLSCommon", \
>             "../GLSCommon/GLSGUI", \
>             "../GLSCommon/GLSUtils", \
>             "../GLSCommon/GLSResourceLib", \
>             "../GLSCommon/GLSFonts", \
>             "../GLSConstants"
> project (":UniAccessConfig").name = 'UniAccessConfig'
> project (":GL/GL/GLGL031").name = 'GLGL031'
> project (":GL/GU/GLGU050").name = 'GLGU050'
> project (":GL/GU/GLGU055").name = 'GLGU055'
> project (":GL/GU/GLGU060").name = 'GLGU060'
> project (":../GLSCommon/GLSCommon").name = 'GLSCommon'
> project (":../GLSCommon/GLSGUI").name = 'GLSGUI'
> project (":../GLSCommon/GLSUtils").name = 'GLSUtils'
> project (":../GLSCommon/GLSResourceLib").name = 'GLSResourceLib'
> project (":../GLSCommon/GLSFonts").name = 'GLSFonts'
> project (":../GLSConstants").name = 'GLSConstants'
> also does not work  doing in settings.gradle
> include "UniAccessConfig"
> include "GLGL031"
> include "GLGU050"
> include "GLGU055"
> include "GLGU060"
> include "GLSCommon"
> include "GLSGUI"
> include "GLSUtils"
> include "GLSResourceLib"
> include "GLSFonts"
> include "GLSConstants"
> project(":UniAccessConfig").projectDir = new 
> File("$rootDir/../UniAccessConfig")
> project(":GLGL031").projectDir = new File("$rootDir/../GL/GL/GLGL031")
> project(":GLGU050").projectDir = new File("$rootDir/../GL/GU/GLGU050")
> project(":GLGU055").projectDir = new File("$rootDir/../GL/GU/GLGU055")
> project(":GLGU060").projectDir = new File("$rootDir/../GL/GU/GLGU060")
> project(":GLSCommon").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSCommon")
> project(":GLSGUI").projectDir = new File("$rootDir/../../GLSCommon/GLSGUI")
> project(":GLSUtils").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSUtils")
> project(":GLSResourceLib").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSResourceLib")
> project(":GLSFonts").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSFonts")
> project(":GLSConstants").projectDir = new File("$rootDir/../../GLSConstants")
> I will attach some hardcopies to see the difference between NB 8.2 and 12.6
> NB 8.2:
> !image-2022-01-06-17-47-13-994.png!
> NB 12.6
> !image-2022-01-06-17-48-29-503.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

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