[jira] [Resolved] (NETBEANS-5007) No restart of language server after change of JDK home
[ https://issues.apache.org/jira/browse/NETBEANS-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-5007. --- Resolution: Fixed The corresponding PR got merged. > No restart of language server after change of JDK home > -- > > Key: NETBEANS-5007 > URL: https://issues.apache.org/jira/browse/NETBEANS-5007 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Svatopluk Dedic >Priority: Blocker > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 10m > Remaining Estimate: 0h > > Choose File/Preferences/Settings and change the value of > > {color:#9cdcfe}"netbeans.jdkhome"{color}{color:#d4d4d4}: > {color}{color:#ce9178}""{color}{color:#d4d4d4},{color} > > while the Apache NetBeans Language Server VSCode extension is running. The > {{nbcode}} backend shall be killed and restarted on the new JDK. However it > goes into strange loop and then stops listening for changes in the property > completely. Example of output: > {code:java} > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Cannot kill: current process is None > extension.js:212 > LSP server launching: 27193 > extension.js:252 > LSP server 27193 terminated with 0 > extension.js:277 > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Killing LSP server 27193 > extension.js:201 > rejected promise not handled within 1 second: Cannot kill > extensionHostProcess.js:1059 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... {code} > [~sdedic] has already addressed this issue in > [PR-2531|https://github.com/apache/netbeans/pull/2531]. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5017) Broken to text block with concatentation refactoring
[ https://issues.apache.org/jira/browse/NETBEANS-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach updated NETBEANS-5017: -- Description: I tried to apply Convert to Text block refactoring to code in [netbeans-html4j repository|https://github.com/apache/netbeans-html4j/blob/006488782a6d1567eacb080443bcd9329988f323/json/src/test/java/net/java/html/json/ModelProcessorTest.java#L507] that looks like this: {code:java} private void needsAnArg(String method) throws Exception { String html = "" + ""; String code = "package x.y.z;\n" + "import net.java.html.json.Model;\n" + "import net.java.html.json.Property;\n" + "import net.java.html.json.OnReceive;\n" + "@Model(className=\"XModel\", properties={\n" + " @Property(name=\"prop\", type=long.class)\n" + "})\n" + "class X {\n" + " @Model(className=\"PQ\", properties={})\n" + " class PImpl {\n" + " }\n" + " @OnReceive(method=\"" + method + "\", url=\"whereever\")\n" + " static void obtained(XModel m, PQ p) { }\n" + "}\n"; {code} The result isn't compilable. Possibly confused by terminal {{\"}}. was: I tried to apply Convert to Text block refactoring to code in netbeans-html4j repository that looks like this: {code:java} private void needsAnArg(String method) throws Exception { String html = "" + ""; String code = "package x.y.z;\n" + "import net.java.html.json.Model;\n" + "import net.java.html.json.Property;\n" + "import net.java.html.json.OnReceive;\n" + "@Model(className=\"XModel\", properties={\n" + " @Property(name=\"prop\", type=long.class)\n" + "})\n" + "class X {\n" + " @Model(className=\"PQ\", properties={})\n" + " class PImpl {\n" + " }\n" + " @OnReceive(method=\"" + method + "\", url=\"whereever\")\n" + " static void obtained(XModel m, PQ p) { }\n" + "}\n"; {code} The result isn't compilable. Possibly confused by terminal {{\"}}. > Broken to text block with concatentation refactoring > > > Key: NETBEANS-5017 > URL: https://issues.apache.org/jira/browse/NETBEANS-5017 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Akshay Gupta >Priority: Major > > I tried to apply Convert to Text block refactoring to code in > [netbeans-html4j > repository|https://github.com/apache/netbeans-html4j/blob/006488782a6d1567eacb080443bcd9329988f323/json/src/test/java/net/java/html/json/ModelProcessorTest.java#L507] > that looks like this: > {code:java} > private void needsAnArg(String method) throws Exception { > String html = "" > + ""; > String code = "package x.y.z;\n" > + "import net.java.html.json.Model;\n" > + "import net.java.html.json.Property;\n" > + "import net.java.html.json.OnReceive;\n" > + "@Model(className=\"XModel\", properties={\n" > + " @Property(name=\"prop\", type=long.class)\n" > + "})\n" > + "class X {\n" > + " @Model(className=\"PQ\", properties={})\n" > + " class PImpl {\n" > + " }\n" > + " @OnReceive(method=\"" + method + "\", url=\"whereever\")\n" > + " static void obtained(XModel m, PQ p) { }\n" > + "}\n"; > {code} > The result isn't compilable. Possibly confused by terminal {{\"}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5017) Broken to text block with concatentation refactoring
Jaroslav Tulach created NETBEANS-5017: - Summary: Broken to text block with concatentation refactoring Key: NETBEANS-5017 URL: https://issues.apache.org/jira/browse/NETBEANS-5017 Project: NetBeans Issue Type: Bug Components: java - Hints Affects Versions: 12.2 Reporter: Jaroslav Tulach Assignee: Akshay Gupta I tried to apply Convert to Text block refactoring to code in netbeans-html4j repository that looks like this: {code:java} private void needsAnArg(String method) throws Exception { String html = "" + ""; String code = "package x.y.z;\n" + "import net.java.html.json.Model;\n" + "import net.java.html.json.Property;\n" + "import net.java.html.json.OnReceive;\n" + "@Model(className=\"XModel\", properties={\n" + " @Property(name=\"prop\", type=long.class)\n" + "})\n" + "class X {\n" + " @Model(className=\"PQ\", properties={})\n" + " class PImpl {\n" + " }\n" + " @OnReceive(method=\"" + method + "\", url=\"whereever\")\n" + " static void obtained(XModel m, PQ p) { }\n" + "}\n"; {code} The result isn't compilable. Possibly confused by terminal {{\"}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-4931) nb-javac breaks project test classes
[ https://issues.apache.org/jira/browse/NETBEANS-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231089#comment-17231089 ] Eric Bresie commented on NETBEANS-4931: --- Don’t suppose it’s a network issue when trying to pull something which breaks subsequent activities? Maybe a proxy configuration type issue? WARNING [org.netbeans.modules.autoupdate.updateproviders.AutoupdateCatalogFactory]: Services/AutoupdateType/dk_i2m_netbeans_modules_ldapexplorer_update_center.instance: url_key attribute deprecated in favor of url WARNING [null]: Last record repeated again. WARNING [org.netbeans.modules.project.ui.ProjectsRootNode]: Warning - project environment-tool-automation-framework failed to supply itself in the lookup of the root node of its own logical view INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL http://netbeans.i2m.dk/updates.xml failed (java.io.IOException: Timeout while opening connection to http://netbeans.i2m.dk/updates.xml) INFO [org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler] java.util.concurrent.TimeoutException at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204) at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$1.run(NetworkAccess.java:91) Caused: java.io.IOException: Timeout while opening connection to http://netbeans.i2m.dk/updates.xml at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$1.run(NetworkAccess.java:111) Caused: java.io.IOException: Timeout while opening connection to http://netbeans.i2m.dk/updates.xml > nb-javac breaks project test classes > > > Key: NETBEANS-4931 > URL: https://issues.apache.org/jira/browse/NETBEANS-4931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.1, 12.2 >Reporter: Javier A. Ortiz >Priority: Major > Attachments: before.log, netbeans.log > > > Something changed with nb-javac (upgrade?) that affects both 12.0 and 12.1. > All of sudden the red icons started showing up in the test classes > complaining about missing definitions (classes, methods, etc.) from stuff > within the same project. > Tried reinstalling and nothing. The project compiles and runs but some > functionality is just not there due to this. Was able to fix it by > uninstalling nb-javac plugin. > See the log before enabling the nb-javac plugin with opened projects and > compare it to the other one just after restarting as part of installing the > plugin. > I've tried this in the following JDK versions: > * JDK 8 > * JDK 9 > * JDK 12 > * JDK 14 > And in various versions with the same behavior: > * 12.0 > * 12.1 > * 12.2 beta 3 > -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-4931) nb-javac breaks project test classes
[ https://issues.apache.org/jira/browse/NETBEANS-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231090#comment-17231090 ] Eric Bresie commented on NETBEANS-4931: --- In another context it complains about selenium and another a darcula looking feel issue. > nb-javac breaks project test classes > > > Key: NETBEANS-4931 > URL: https://issues.apache.org/jira/browse/NETBEANS-4931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.1, 12.2 >Reporter: Javier A. Ortiz >Priority: Major > Attachments: before.log, netbeans.log > > > Something changed with nb-javac (upgrade?) that affects both 12.0 and 12.1. > All of sudden the red icons started showing up in the test classes > complaining about missing definitions (classes, methods, etc.) from stuff > within the same project. > Tried reinstalling and nothing. The project compiles and runs but some > functionality is just not there due to this. Was able to fix it by > uninstalling nb-javac plugin. > See the log before enabling the nb-javac plugin with opened projects and > compare it to the other one just after restarting as part of installing the > plugin. > I've tried this in the following JDK versions: > * JDK 8 > * JDK 9 > * JDK 12 > * JDK 14 > And in various versions with the same behavior: > * 12.0 > * 12.1 > * 12.2 beta 3 > -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] tag 12.2-rc2 created (now d2b8034)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to tag 12.2-rc2 in repository https://gitbox.apache.org/repos/asf/netbeans.git. at d2b8034 (commit) No new revisions were added by this update. - 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 (54987ff -> c9d7ae8)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 54987ff Merging Apache NetBeans 12.2-rc1 changes to master. add d2b8034 Prevent endless restarts when changing JDKs. new c9d7ae8 Merge Apache NetBeans 12.2-rc2 changes The 1 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: java/java.lsp.server/vscode/src/extension.ts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) - 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] 01/01: Merge Apache NetBeans 12.2-rc2 changes
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git commit c9d7ae811cdb802afbb5f19dab7b445c25a01033 Merge: 54987ff d2b8034 Author: Laszlo Kishalmi AuthorDate: Thu Nov 12 14:29:14 2020 -0800 Merge Apache NetBeans 12.2-rc2 changes java/java.lsp.server/vscode/src/extension.ts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) - 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: Prepare for NetBeans 12.2-rc2
This is an automated email from the ASF dual-hosted git repository. lkishalmi 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 a39ca9f Prepare for NetBeans 12.2-rc2 a39ca9f is described below commit a39ca9fe256433b0d4686692cad0e32e9971f20c Author: Laszlo Kishalmi AuthorDate: Thu Nov 12 14:28:16 2020 -0800 Prepare for NetBeans 12.2-rc2 --- meta/netbeansrelease.json | 4 1 file changed, 4 insertions(+) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index dfd8d1b..241a43d 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -328,6 +328,10 @@ "f556f4b88826521d18181854f5ccd3be922a0283": { "version": "rc1", "position": "4" +}, +"d2b8034b2f26fd1c3d9838d9a341b1115b2cd4e3": { +"version": "rc2", +"position": "5" } }, "releasedate": { - 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 release122 updated (f556f4b -> d2b8034)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch release122 in repository https://gitbox.apache.org/repos/asf/netbeans.git. from f556f4b Prevent race conditions during CLI install (#2523) add d2b8034 Prevent endless restarts when changing JDKs. No new revisions were added by this update. Summary of changes: java/java.lsp.server/vscode/src/extension.ts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) - 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-5007) No restart of language server after change of JDK home
[ https://issues.apache.org/jira/browse/NETBEANS-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5007: - Labels: pull-request-available (was: ) > No restart of language server after change of JDK home > -- > > Key: NETBEANS-5007 > URL: https://issues.apache.org/jira/browse/NETBEANS-5007 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Svatopluk Dedic >Priority: Blocker > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 10m > Remaining Estimate: 0h > > Choose File/Preferences/Settings and change the value of > > {color:#9cdcfe}"netbeans.jdkhome"{color}{color:#d4d4d4}: > {color}{color:#ce9178}""{color}{color:#d4d4d4},{color} > > while the Apache NetBeans Language Server VSCode extension is running. The > {{nbcode}} backend shall be killed and restarted on the new JDK. However it > goes into strange loop and then stops listening for changes in the property > completely. Example of output: > {code:java} > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Cannot kill: current process is None > extension.js:212 > LSP server launching: 27193 > extension.js:252 > LSP server 27193 terminated with 0 > extension.js:277 > Initiating server activation > extension.js:184 > Request to kill LSP server. > extension.js:190 > Killing LSP server 27193 > extension.js:201 > rejected promise not handled within 1 second: Cannot kill > extensionHostProcess.js:1059 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... > extension.js:173 > Server activation requested repeatedly, ignoring... {code} > [~sdedic] has already addressed this issue in > [PR-2531|https://github.com/apache/netbeans/pull/2531]. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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 delivery updated: Prevent endless restarts when changing JDKs.
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new d2b8034 Prevent endless restarts when changing JDKs. d2b8034 is described below commit d2b8034b2f26fd1c3d9838d9a341b1115b2cd4e3 Author: Svata Dedic AuthorDate: Tue Nov 10 13:28:57 2020 +0100 Prevent endless restarts when changing JDKs. --- java/java.lsp.server/vscode/src/extension.ts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java/java.lsp.server/vscode/src/extension.ts b/java/java.lsp.server/vscode/src/extension.ts index 2981f72..1c85249 100644 --- a/java/java.lsp.server/vscode/src/extension.ts +++ b/java/java.lsp.server/vscode/src/extension.ts @@ -251,7 +251,9 @@ function doActivateWithJDK(specifiedJDK: string | null, context: ExtensionContex let ideRunning = new Promise((resolve, reject) => { let collectedText : string | null = ''; function logAndWaitForEnabled(text: string) { -activationPending = false; +if (p == nbProcess) { +activationPending = false; +} log.append(text); if (collectedText == null) { return; @@ -357,7 +359,9 @@ function doActivateWithJDK(specifiedJDK: string | null, context: ExtensionContex }, closed : function(): CloseAction { log.appendLine("Connection to Apache NetBeans Language Server closed."); -restartWithJDKLater(1, false); +if (!activationPending) { +restartWithJDKLater(1, false); +} return CloseAction.DoNotRestart; } } - 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-4931) nb-javac breaks project test classes
[ https://issues.apache.org/jira/browse/NETBEANS-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230862#comment-17230862 ] Matthias Bläsing commented on NETBEANS-4931: In the log there is a massive classpath shown and you could: * reduce the code that is needed to trigger the bug to a minimum * reduce the classpath that is needed to a minimum * provide that project Essentially you produce a minimal reproducer. That way someone working on this can actually trace this down and verify, that your issue is fixed. Else any change in the javac will just be speculation whether or not your issue is fixed. Running without nbjavac and contrasting that with the JDK javac might a) allow you to get it working for you and b) help tracking the problem down > nb-javac breaks project test classes > > > Key: NETBEANS-4931 > URL: https://issues.apache.org/jira/browse/NETBEANS-4931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.1, 12.2 >Reporter: Javier A. Ortiz >Priority: Major > Attachments: before.log, netbeans.log > > > Something changed with nb-javac (upgrade?) that affects both 12.0 and 12.1. > All of sudden the red icons started showing up in the test classes > complaining about missing definitions (classes, methods, etc.) from stuff > within the same project. > Tried reinstalling and nothing. The project compiles and runs but some > functionality is just not there due to this. Was able to fix it by > uninstalling nb-javac plugin. > See the log before enabling the nb-javac plugin with opened projects and > compare it to the other one just after restarting as part of installing the > plugin. > I've tried this in the following JDK versions: > * JDK 8 > * JDK 9 > * JDK 12 > * JDK 14 > And in various versions with the same behavior: > * 12.0 > * 12.1 > * 12.2 beta 3 > -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-4931) nb-javac breaks project test classes
[ https://issues.apache.org/jira/browse/NETBEANS-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230859#comment-17230859 ] Geertjan Wielenga commented on NETBEANS-4931: - If you are on JDK 11+ can you remove nbjavac and see if you happier without it? > nb-javac breaks project test classes > > > Key: NETBEANS-4931 > URL: https://issues.apache.org/jira/browse/NETBEANS-4931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.1, 12.2 >Reporter: Javier A. Ortiz >Priority: Major > Attachments: before.log, netbeans.log > > > Something changed with nb-javac (upgrade?) that affects both 12.0 and 12.1. > All of sudden the red icons started showing up in the test classes > complaining about missing definitions (classes, methods, etc.) from stuff > within the same project. > Tried reinstalling and nothing. The project compiles and runs but some > functionality is just not there due to this. Was able to fix it by > uninstalling nb-javac plugin. > See the log before enabling the nb-javac plugin with opened projects and > compare it to the other one just after restarting as part of installing the > plugin. > I've tried this in the following JDK versions: > * JDK 8 > * JDK 9 > * JDK 12 > * JDK 14 > And in various versions with the same behavior: > * 12.0 > * 12.1 > * 12.2 beta 3 > -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-4931) nb-javac breaks project test classes
[ https://issues.apache.org/jira/browse/NETBEANS-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230854#comment-17230854 ] Javier A. Ortiz commented on NETBEANS-4931: --- As I've mentioned above I've tried with multiple JDK versions. Seems the common factor is nb-javac. Looked into the error in the logs but refers to a project that has no resources folder. > nb-javac breaks project test classes > > > Key: NETBEANS-4931 > URL: https://issues.apache.org/jira/browse/NETBEANS-4931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.1, 12.2 >Reporter: Javier A. Ortiz >Priority: Major > Attachments: before.log, netbeans.log > > > Something changed with nb-javac (upgrade?) that affects both 12.0 and 12.1. > All of sudden the red icons started showing up in the test classes > complaining about missing definitions (classes, methods, etc.) from stuff > within the same project. > Tried reinstalling and nothing. The project compiles and runs but some > functionality is just not there due to this. Was able to fix it by > uninstalling nb-javac plugin. > See the log before enabling the nb-javac plugin with opened projects and > compare it to the other one just after restarting as part of installing the > plugin. > I've tried this in the following JDK versions: > * JDK 8 > * JDK 9 > * JDK 12 > * JDK 14 > And in various versions with the same behavior: > * 12.0 > * 12.1 > * 12.2 beta 3 > -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5004) Netbeans not allowed to access personnal files and folder under macOS
[ https://issues.apache.org/jira/browse/NETBEANS-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230588#comment-17230588 ] Remi Venant commented on NETBEANS-5004: --- I found another workaround, a bit more secure than giving full access to /bin/sh. Launching the netbeans executable from a terminal (i.e. : excuting "/Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/Resources/NetBeans/netbeans/bin/netbeans" for instance) tricks the system that will resquest folders access for the terminal, and not Netbeans. As the terminal is allowed to request for folder access, systems popups show up. Also, the terminal is sandboxed, so the problem is specific to Netbeans (maybe the fact that the app is not signed, but i am not sure) > Netbeans not allowed to access personnal files and folder under macOS > - > > Key: NETBEANS-5004 > URL: https://issues.apache.org/jira/browse/NETBEANS-5004 > Project: NetBeans > Issue Type: Bug > Components: core >Affects Versions: 12.1, 12.0.1 > Environment: macOS Catalina 10.15.7 (MacBook Pro mid-2015) > JDK 11.0.9 > Netbeans 12.1 / Netbeans 12.0.1 >Reporter: Remi Venant >Priority: Major > Attachments: sanbox_error_1.log > > > With the new *privacy and security features enforced macOS Catalina*, > Netbeans and any of its subprocesses are *not allowed to access any of the > personnal files and folders* (e.g.: Downloads, Documents...). > Normally, a system prompt should ask the user when the application attempts > to access such files, but here nothing happens. For instance, when I try to > access the Document directory through the "Open file..." menu, this directory > appears empty. > The bug seems to be related to the fact that the shell script used to launch > Netbeans (/bin/sh [/Applications/NetBeans/Apache NetBeans) is sandboxed. > Giving full disk access to Netbeans in system preferences did not solve the > issue. > The system console error related to this bug is attached to this ticket. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5004) Netbeans not allowed to access personnal files and folder under macOS
[ https://issues.apache.org/jira/browse/NETBEANS-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230585#comment-17230585 ] Thomas Kriener commented on NETBEANS-5004: -- I have the same situation since today with Netbeans 12.0. Until last week it worked. The obviously changes I made, are installing the latest Catalina-Fix and update AdoptOpenJDK to 11.0.9 from 11.0.8. A workaround I found, is giving /bin/sh full disk access. Everything else, like giving access to java or similar did not help. > Netbeans not allowed to access personnal files and folder under macOS > - > > Key: NETBEANS-5004 > URL: https://issues.apache.org/jira/browse/NETBEANS-5004 > Project: NetBeans > Issue Type: Bug > Components: core >Affects Versions: 12.1, 12.0.1 > Environment: macOS Catalina 10.15.7 (MacBook Pro mid-2015) > JDK 11.0.9 > Netbeans 12.1 / Netbeans 12.0.1 >Reporter: Remi Venant >Priority: Major > Attachments: sanbox_error_1.log > > > With the new *privacy and security features enforced macOS Catalina*, > Netbeans and any of its subprocesses are *not allowed to access any of the > personnal files and folders* (e.g.: Downloads, Documents...). > Normally, a system prompt should ask the user when the application attempts > to access such files, but here nothing happens. For instance, when I try to > access the Document directory through the "Open file..." menu, this directory > appears empty. > The bug seems to be related to the fact that the shell script used to launch > Netbeans (/bin/sh [/Applications/NetBeans/Apache NetBeans) is sandboxed. > Giving full disk access to Netbeans in system preferences did not solve the > issue. > The system console error related to this bug is attached to this ticket. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5016) No hints for some JDK classes due to parse error
Dominik Derwiński created NETBEANS-5016: --- Summary: No hints for some JDK classes due to parse error Key: NETBEANS-5016 URL: https://issues.apache.org/jira/browse/NETBEANS-5016 Project: NetBeans Issue Type: Bug Affects Versions: 12.1 Reporter: Dominik Derwiński An error occurred during parsing of 'java.desktop/java/awt/Graphics.java ... {noformat} Caused: java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:155) at com.sun.tools.javac.util.Assert.check(Assert.java:46) at com.sun.tools.javac.jvm.ClassReader$3.read(ClassReader.java:821) at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1329) at com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1319) at com.sun.tools.javac.jvm.ClassReader.readField(ClassReader.java:2155) at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2481) at com.sun.tools.javac.jvm.ClassReader.readClassBuffer(ClassReader.java:2558) at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2572) at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:383) at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:301) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) at com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) at com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2252) at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2331) at com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2366) at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2352) at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2626) at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3883) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2357) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:744) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:737) at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:125) at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:255) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:184) at com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:979) at com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:959) at com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:298) at com.sun.tools.javac.comp.TypeEnter$MembersPhase.doCompleteEnvs(TypeEnter.java:888) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:267) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) at com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:214) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) at com.sun.tools.javac.comp.Enter.complete(Enter.java:820) at com.sun.tools.javac.comp.Enter.main(Enter.java:797) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1147) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:674) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:380) at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:145) 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.ParserManage
[jira] [Commented] (NETBEANS-5016) No hints for some JDK classes due to parse error
[ https://issues.apache.org/jira/browse/NETBEANS-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230494#comment-17230494 ] Dominik Derwiński commented on NETBEANS-5016: - For some classes I get no hints, because parsing fails. > No hints for some JDK classes due to parse error > > > Key: NETBEANS-5016 > URL: https://issues.apache.org/jira/browse/NETBEANS-5016 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 >Reporter: Dominik Derwiński >Priority: Major > Attachments: Graphics_249.dump, ImageIO_9.dump > > > An error occurred during parsing of 'java.desktop/java/awt/Graphics.java ... > {noformat} > Caused: java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at com.sun.tools.javac.jvm.ClassReader$3.read(ClassReader.java:821) > at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1329) > at > com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1319) > at com.sun.tools.javac.jvm.ClassReader.readField(ClassReader.java:2155) > at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2481) > at > com.sun.tools.javac.jvm.ClassReader.readClassBuffer(ClassReader.java:2558) > at > com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2572) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:383) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:301) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) > at > com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) > at com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) > at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2252) > at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2331) > at com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2366) > at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2352) > at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2626) > at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3883) > at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2357) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:744) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:737) > at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:125) > at > com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:255) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:184) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:979) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:959) > at > com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:298) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.doCompleteEnvs(TypeEnter.java:888) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:267) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:214) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:820) > at com.sun.tools.javac.comp.Enter.main(Enter.java:797) > at > com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1147) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:674) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:380) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) > at > org.netbeans.modules.java.source.parsing.P
[jira] [Updated] (NETBEANS-5016) No hints for some JDK classes due to parse error
[ https://issues.apache.org/jira/browse/NETBEANS-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Derwiński updated NETBEANS-5016: Attachment: Graphics_249.dump > No hints for some JDK classes due to parse error > > > Key: NETBEANS-5016 > URL: https://issues.apache.org/jira/browse/NETBEANS-5016 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 >Reporter: Dominik Derwiński >Priority: Major > Attachments: Graphics_249.dump, ImageIO_9.dump > > > An error occurred during parsing of 'java.desktop/java/awt/Graphics.java ... > {noformat} > Caused: java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at com.sun.tools.javac.jvm.ClassReader$3.read(ClassReader.java:821) > at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1329) > at > com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1319) > at com.sun.tools.javac.jvm.ClassReader.readField(ClassReader.java:2155) > at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2481) > at > com.sun.tools.javac.jvm.ClassReader.readClassBuffer(ClassReader.java:2558) > at > com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2572) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:383) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:301) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) > at > com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) > at com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) > at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2252) > at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2331) > at com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2366) > at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2352) > at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2626) > at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3883) > at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2357) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:744) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:737) > at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:125) > at > com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:255) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:184) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:979) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:959) > at > com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:298) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.doCompleteEnvs(TypeEnter.java:888) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:267) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:214) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:820) > at com.sun.tools.javac.comp.Enter.main(Enter.java:797) > at > com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1147) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:674) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:380) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) > at > org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:145) >
[jira] [Updated] (NETBEANS-5016) No hints for some JDK classes due to parse error
[ https://issues.apache.org/jira/browse/NETBEANS-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Derwiński updated NETBEANS-5016: Attachment: ImageIO_9.dump > No hints for some JDK classes due to parse error > > > Key: NETBEANS-5016 > URL: https://issues.apache.org/jira/browse/NETBEANS-5016 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 >Reporter: Dominik Derwiński >Priority: Major > Attachments: Graphics_249.dump, ImageIO_9.dump > > > An error occurred during parsing of 'java.desktop/java/awt/Graphics.java ... > {noformat} > Caused: java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at com.sun.tools.javac.jvm.ClassReader$3.read(ClassReader.java:821) > at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1329) > at > com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1319) > at com.sun.tools.javac.jvm.ClassReader.readField(ClassReader.java:2155) > at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2481) > at > com.sun.tools.javac.jvm.ClassReader.readClassBuffer(ClassReader.java:2558) > at > com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2572) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:383) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:301) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) > at > com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) > at com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) > at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2252) > at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2331) > at com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2366) > at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2352) > at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2626) > at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3883) > at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2357) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:744) > at com.sun.tools.javac.comp.Attr.attribType(Attr.java:737) > at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:125) > at > com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:255) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) > at > com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:184) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:979) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:959) > at > com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:298) > at > com.sun.tools.javac.comp.TypeEnter$MembersPhase.doCompleteEnvs(TypeEnter.java:888) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:267) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at > com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:282) > at com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:214) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:660) > at > com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1382) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:820) > at com.sun.tools.javac.comp.Enter.main(Enter.java:797) > at > com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1147) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:674) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:380) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88) > at > org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:145) >
[jira] [Updated] (NETBEANS-4927) Error parsing source files inside the JDK
[ https://issues.apache.org/jira/browse/NETBEANS-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Miksik updated NETBEANS-4927: -- Fix Version/s: 12.0 > Error parsing source files inside the JDK > - > > Key: NETBEANS-4927 > URL: https://issues.apache.org/jira/browse/NETBEANS-4927 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing >Affects Versions: 12.1 >Reporter: Petr Miksik >Priority: Major > Fix For: 12.0 > > Attachments: DefaultMutableTreeNode.dump, ide.log, ui.log > > > If you open (for example) file for class {{DefaultMutableTreeNode}}, the > editor fails to parse the file. See the attached log files. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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