[jira] [Created] (NETBEANS-6374) Netbeans responds no more and is hanging
Sascha Münzenmayer created NETBEANS-6374: Summary: Netbeans responds no more and is hanging Key: NETBEANS-6374 URL: https://issues.apache.org/jira/browse/NETBEANS-6374 Project: NetBeans Issue Type: Bug Environment: IDE Log --- >Log Session: Saturday, January 8, 2022 at 9:20:58 AM Central European Standard >Time >System Info: Product Version = Apache NetBeans IDE 12.5 Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 13; Java HotSpot(TM) 64-Bit Server VM 13+33; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 13+33 Java Home = C:\Program Files\Java\jdk-13 System Locale; Encoding = de_DE (nb); Cp1252 Home Directory = C:\Users\Sascha Current Directory = C:\Program Files\NetBeans-12.5 User Directory = C:\Users\Sascha\AppData\Roaming\NetBeans\12.5 Cache Directory = C:\Users\Sascha\AppData\Local\NetBeans\Cache\12.5 Installation = C:\Program Files\NetBeans-12.5\netbeans\nb C:\Program Files\NetBeans-12.5\netbeans\ide C:\Program Files\NetBeans-12.5\netbeans\extide C:\Program Files\NetBeans-12.5\netbeans\webcommon C:\Program Files\NetBeans-12.5\netbeans\websvccommon C:\Program Files\NetBeans-12.5\netbeans\php C:\Program Files\NetBeans-12.5\netbeans\harness C:\Program Files\NetBeans-12.5\netbeans\cpplite C:\Program Files\NetBeans-12.5\netbeans\platform Boot & Ext. Classpath = Application Classpath = C:\Program Files\NetBeans-12.5\netbeans\platform\lib\boot.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\lib\org-openide-util.jar Startup Classpath = C:\Program Files\NetBeans-12.5\netbeans\platform\core\asm-9.2.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\asm-commons-9.2.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\asm-tree-9.2.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\core-base.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\core.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\NetBeans-12.5\netbeans\platform\core\org-openide-filesystems.jar;C:\Program Files\NetBeans-12.5\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans-12.5\netbeans\nb\core\locale\core_nb.jar --- INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program Files/NetBeans-12.5/netbeans/ WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated. INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: slf4j.jdk14 [1.7.28 1.7.28] slf4j.api [1.7.28 1.7.28] org.openide.util.lookup [8.47 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.util [9.21 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.util.ui [9.21 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.modules [7.61 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.netbeans.api.annotations.common/1 [1.41 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.filesystems [9.25 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.awt [7.81 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.netbeans.api.progress/1 [1.61 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.netbeans.api.progress.nb [1.61 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.dialogs [7.55 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.nodes [7.58 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.windows [6.90 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.netbeans.libs.batik.read [1.6.0.1 1 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.util.ui.svg [1.7 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.netbeans.modules.editor.mimelookup/1 [1.53 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021] org.openide.text [6.81 12.5-fd523ddc12d6156412d7b81f0c866
[jira] [Commented] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471242#comment-17471242 ] Thomas Schapitz commented on NETBEANS-6349: --- [~neilcsmith] Yeah, I thought so, and said so, didn't I? ;) Should have put a [@] Busted to clarify the addressee, though > 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] [Created] (NETBEANS-6373) uso del token 'va' hace que de mal funcionamiento
aerith devs created NETBEANS-6373: - Summary: uso del token 'va' hace que de mal funcionamiento Key: NETBEANS-6373 URL: https://issues.apache.org/jira/browse/NETBEANS-6373 Project: NetBeans Issue Type: Bug Components: cnd - Code Completion, java - Editor, java - Hints, java - Source Affects Versions: 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 12.6 Environment: esto causa mal funcionamiento, la sintaxis la marca de manera errónea, el editor no es capaz de determinar ciertos comportamientos, como auto completado por tips/linea luego del punto, el editor no es capaz de determinar si esa variable esta usada, la sintaxis no se colorea correctamente cerca de eso. en general una molestia si a alguien se le ocurre usar 'va' como parte del código. Reporter: aerith devs Attachments: NewMain54546.java este error ocurre cuando se usa 'va' para cualquier caso, sean campos, clase, métodos, parámetros, etc. ejemplo: public class NewMain54546 { String va= ""; String VA = va ; String Va = VA; private static class v1 { } private static class va{ } public va va (va va) { return new va(); } public va va(int va) { } public void vr(Object va) { } public static void main(String[] args, int va ) { String vA = ""; String var = ""; } } esto solo ocurre con 'va' en letras minúsculas -- 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: Add binaries.repos property to downloadbinaries call in projectized.xml.
This is an automated email from the ASF dual-hosted git repository. neilcsmith 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 829b6d3 Add binaries.repos property to downloadbinaries call in projectized.xml. new 870ab56 Merge pull request #3401 from neilcsmith-net/binaries-repos-missing 829b6d3 is described below commit 829b6d3f942b4185605c29bb95c5ece243340b52 Author: Neil C Smith AuthorDate: Wed Oct 6 16:49:52 2021 +0100 Add binaries.repos property to downloadbinaries call in projectized.xml. This was accidentally left out in apache/netbeans#2710 Amongst other things, this helps with testing libraries only in local .m2 cache. --- nbbuild/templates/projectized.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbbuild/templates/projectized.xml b/nbbuild/templates/projectized.xml index 6d649fb..9e8d143 100644 --- a/nbbuild/templates/projectized.xml +++ b/nbbuild/templates/projectized.xml @@ -257,7 +257,7 @@ - + - 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: Formatted the templates to be inline with the default java formatting.
This is an automated email from the ASF dual-hosted git repository. mbien 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 8fe7fad Formatted the templates to be inline with the default java formatting. new 6e3c72f Merge pull request #3394 from mbien/template-formatting 8fe7fad is described below commit 8fe7fadc5903df236520cb9f0f9525a5cc97087e Author: Michael Bien AuthorDate: Thu Dec 30 18:58:56 2021 +0100 Formatted the templates to be inline with the default java formatting. --- .../src/org/netbeans/modules/project/ui/AppTemplate.java.template | 6 +++--- .../src/org/netbeans/modules/maven/resources/App.java.template | 6 +++--- .../src/org/netbeans/modules/maven/resources/AppTest.java.template | 6 +++--- .../src/org/netbeans/modules/templates/AppTemplate.java.template| 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template b/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template index be3dbda..2bdb4a6 100644 --- a/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template +++ b/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template @@ -26,9 +26,9 @@ package ${package}; * @author ${user} */ public class ${name} { -public static void main( String[] args ) -{ -System.out.println( "Hello World!" ); + +public static void main(String[] args) { +System.out.println("Hello World!"); } } diff --git a/java/maven/src/org/netbeans/modules/maven/resources/App.java.template b/java/maven/src/org/netbeans/modules/maven/resources/App.java.template index fd2daa6..2d42f85 100644 --- a/java/maven/src/org/netbeans/modules/maven/resources/App.java.template +++ b/java/maven/src/org/netbeans/modules/maven/resources/App.java.template @@ -12,8 +12,8 @@ package ${package}; * @author ${user} */ public class ${name} { -public static void main( String[] args ) -{ -System.out.println( "Hello World!" ); + +public static void main(String[] args) { +System.out.println("Hello World!"); } } diff --git a/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template b/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template index 828f4e1..44d5261 100644 --- a/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template +++ b/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template @@ -15,8 +15,8 @@ import org.junit.Test; * @author ${user} */ public class ${name} { -public static void main( String[] args ) -{ -System.out.println( "Hello World!" ); + +public static void main(String[] args) { +System.out.println("Hello World!"); } } diff --git a/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template b/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template index be3dbda..2bdb4a6 100644 --- a/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template +++ b/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template @@ -26,9 +26,9 @@ package ${package}; * @author ${user} */ public class ${name} { -public static void main( String[] args ) -{ -System.out.println( "Hello World!" ); + +public static void main(String[] args) { +System.out.println("Hello World!"); } } - 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: disabled uihandler modules (exception+statistics reporter).
This is an automated email from the ASF dual-hosted git repository. mbien 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 946955d disabled uihandler modules (exception+statistics reporter). new 1516500 Merge pull request #3410 from mbien/nostats 946955d is described below commit 946955dcb954abfe20678a01155a2e31f31f59bd Author: Michael Bien AuthorDate: Wed Jan 5 12:55:47 2022 +0100 disabled uihandler modules (exception+statistics reporter). - modules are still there but not loaded by default - moved ReportNBIssueAction to user utilities module --- ide/utilities/src/org/netbeans/modules/utilities/Bundle.properties | 2 ++ .../src/org/netbeans/modules/utilities}/ReportNBIssueAction.java| 4 ++-- nb/bugzilla.exceptionreporter/nbproject/project.properties | 4 ++-- .../netbeans/modules/bugzilla/exceptionreporter/Bundle.properties | 2 -- nb/ide.branding.kit/nbproject/project.xml | 6 -- nb/uihandler.exceptionreporter/nbproject/project.properties | 2 ++ platform/lib.uihandler/nbproject/project.properties | 4 ++-- platform/uihandler/nbproject/project.properties | 2 +- 8 files changed, 11 insertions(+), 15 deletions(-) diff --git a/ide/utilities/src/org/netbeans/modules/utilities/Bundle.properties b/ide/utilities/src/org/netbeans/modules/utilities/Bundle.properties index 5dcea0f..67a922c 100644 --- a/ide/utilities/src/org/netbeans/modules/utilities/Bundle.properties +++ b/ide/utilities/src/org/netbeans/modules/utilities/Bundle.properties @@ -26,3 +26,5 @@ which helps you open a file in a previously unmounted filesystem. Loaders/application/pdf/Factories/org-netbeans-modules-pdf-PDFDataLoader.instance=PDF Documents Loaders/text/url/Factories/org-netbeans-modules-url-URLDataLoader.instance=URL Files + +CTL_ReportIssueAction=&Report Issue diff --git a/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/ReportNBIssueAction.java b/ide/utilities/src/org/netbeans/modules/utilities/ReportNBIssueAction.java similarity index 93% rename from nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/ReportNBIssueAction.java rename to ide/utilities/src/org/netbeans/modules/utilities/ReportNBIssueAction.java index 5a18429..0d6a4ec 100644 --- a/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/ReportNBIssueAction.java +++ b/ide/utilities/src/org/netbeans/modules/utilities/ReportNBIssueAction.java @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.netbeans.modules.bugzilla.exceptionreporter; +package org.netbeans.modules.utilities; import org.openide.util.actions.SystemAction; import org.openide.util.HelpCtx; @@ -35,7 +35,7 @@ import org.openide.util.NbBundle; * * @author Tomas Stupka */ -@ActionID(id = "org.netbeans.modules.bugzilla.exceptionreporter.ReportNBIssueAction", category = "Help") +@ActionID(id = "org.netbeans.modules.utilities.ReportNBIssueAction", category = "Help") @ActionRegistration(lazy = false, displayName = "#CTL_ReportIssueAction") @ActionReference(path = "Menu/Help", position = 450) public class ReportNBIssueAction extends SystemAction { diff --git a/nb/bugzilla.exceptionreporter/nbproject/project.properties b/nb/bugzilla.exceptionreporter/nbproject/project.properties index 7f641b7..4e0bbca 100644 --- a/nb/bugzilla.exceptionreporter/nbproject/project.properties +++ b/nb/bugzilla.exceptionreporter/nbproject/project.properties @@ -14,6 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -is.eager=true -javac.source=1.6 +javac.source=1.8 +is.autoload=true javac.compilerargs=-Xlint -Xlint:-serial diff --git a/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/Bundle.properties b/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/Bundle.properties index b23077c..180d1d9 100644 --- a/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/Bundle.properties +++ b/nb/bugzilla.exceptionreporter/src/org/netbeans/modules/bugzilla/exceptionreporter/Bundle.properties @@ -19,5 +19,3 @@ OpenIDE-Module-Display-Category=Team OpenIDE-Module-Name=Bugzilla-Exception Reporter Bridge OpenIDE-Module-Short-Description=Providess exception reporter access to the netbeans.org bugzilla - -CTL_ReportIssueAction=&Report Issue \ No newline at end of file diff --git a/nb/ide.branding.kit/nbproject/project.xml b/nb/ide.branding.kit/nbproject/project.xml index 79840d1..ba204a8 100644 --- a/nb/ide.branding.kit/nbproject/project.xml +++ b/nb/ide.branding.kit/nbproject/project.xml @@ -51,12 +51,6 @@
[netbeans] branch master updated (25064b0 -> 4a148ec)
This is an automated email from the ASF dual-hosted git repository. mbien pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 25064b0 Use -f option when submitting breakpoints to have pending breakpoints and submit breakpoints based on relative path in sources folder. new b0dcfa0 nb-javac checks cleanup and dialog removal. new d005a47 removed sealed class workaround added in #3228. new 7414fb4 trees nb-javac 17 cleanup after #3283. new 837f2e6 SourceVersion related cleanup. new 4a148ec Merge pull request #3396 from mbien/nb-javac-checks The 6392 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/completion/JavaCompletionTask.java| 65 + java/java.source.base/manifest.mf | 2 +- .../netbeans/api/java/source/TreeUtilities.java| 32 - .../modules/java/source/NoJavacHelper.java | 28 ++-- .../java/source/indexing/JavaCustomIndexer.java| 14 +- .../org/netbeans/api/java/source/gen/TryTest.java | 11 +- .../source/indexing/VanillaCompileWorkerTest.java | 11 +- .../java/source/parsing/JavacParserTest.java | 3 - .../java/source/parsing/PartialReparseTest.java| 4 - .../modules/java/source/JBrowseModule.java | 12 +- .../modules/java/hints/spiimpl/JackpotTrees.java | 158 ++--- .../modules/java/hints/spiimpl/Utilities.java | 81 ++- 12 files changed, 106 insertions(+), 315 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] [Commented] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471124#comment-17471124 ] Neil C Smith commented on NETBEANS-6349: [~taps] as a point of clarity, there have never been "interim" versions of NetBeans. 2021 releases : 12.3, 12.4, 12.5, and 12.6, 2022 releases : 13, 14, 15, and 16. > 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] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio
[ https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471122#comment-17471122 ] Thomas Schapitz commented on NETBEANS-6364: --- OK, in that case, all that SSL stuff might not be of any help at all. Is it possible, to switch protocol? Does 'stackovershow' support connecting by https instead of SSH? This would not fix the SSH issue, but might make your setup working. > 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] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio
[ https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471116#comment-17471116 ] Andoni Diaz commented on NETBEANS-6364: --- I have verified that Netbeans uses the jsch library to connect to ssh servers. This library was last modified in 2018. Following the manufacturer's instructions (http://www.jcraft.com/jsch/) I have used only the keys allowed for the connection. I have generated a pair of ecdsa-sha2-nistp521 keys to perform the client server test. Where the client is Netbeans through the jsch library and the server is a pc with openssh. Again I can log in with the command line clients, and putty and bitvise using that generated key. But I can't connect with Netbeans which indicates that the key is invalid. At the very least the error message displayed by Netbeans seems wrong. And I would also say that there is something broken in that jsch library. > 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] [Commented] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471112#comment-17471112 ] Thomas Schapitz commented on NETBEANS-6349: --- The next planned version would be 13, and that would appear some weeks in the future from now. It's scheduled for February. It will state JDK 11 as prerequisite. There is no interim version (12.7) scheduled to be released, and it's rather unlikely, that this is ever to happen. In the mean time, you should do as Neil suggested above. The problem mentioned in this issue would not occur with any JDK >= 9. I'm already working with 17, if you are a bit more conservative, I'd recommend 11. Maybe, just maybe, a fixed version of the module that caused this will be distributed to the update center, but I'm not positive about if and when that might happen. This might make it possible to use 12.6 on top of JDK 8, but it might as well never happen. Please consider moving away from JDK 8, its already EOL for public updates. Companies clinging to it put a considerable strain on the community, and keep it from moving forward. LTS Release JDK 11 is available since September 2018, so its definitely time to start moving. Moving to 17 would probably be the smarter move. > 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] [Commented] (NETBEANS-6285) Netbeans 12.6 compiles against JDK9+ CharBuffer.flip() and no longer runs on JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471107#comment-17471107 ] Neil C Smith commented on NETBEANS-6285: Requirements for running the ASF binary releases has been updated at https://netbeans.apache.org/download/nb126/nb126.html > 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
[jira] [Commented] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471106#comment-17471106 ] Neil C Smith commented on NETBEANS-6349: [~blocked] JDK 11+ if you use Apache convenience binaries, JDK 8 if you build from the source release on JDK 8. The download page on the website is now explicit about this (unintended) change, and also that JDK 17 is supported - https://netbeans.apache.org/download/nb126/nb126.html > 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] [Updated] (NETBEANS-6372) cnd/cpplite commit-validation fails
[ https://issues.apache.org/jira/browse/NETBEANS-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6372: - Labels: pull-request-available (was: ) > 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 > Labels: pull-request-available > Attachments: > cnd-2-org.netbeans.core.validation.ValidateLayerConsistencyTest.html, > cnd-org.netbeans.core.validation.ValidateLayerConsistencyTest.html > > Time Spent: 10m > Remaining Estimate: 0h > > 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/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/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://de
[jira] [Commented] (NETBEANS-6349) Recent builds of the module responsible for java source parsing break BC to JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471019#comment-17471019 ] Blocked commented on NETBEANS-6349: --- [~jtulach] has another version of Netbeans 12.6 been released? what JDK can i use to open&use Netbeans 12.6? > 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
[netbeans] branch master updated: Use -f option when submitting breakpoints to have pending breakpoints and submit breakpoints based on relative path in sources folder.
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 25064b0 Use -f option when submitting breakpoints to have pending breakpoints and submit breakpoints based on relative path in sources folder. 25064b0 is described below commit 25064b041ee66049aebcc868740e73ed7786c8bb Author: Martin Entlicher AuthorDate: Fri Jan 7 23:15:35 2022 +0100 Use -f option when submitting breakpoints to have pending breakpoints and submit breakpoints based on relative path in sources folder. --- .../modules/cpplite/debugger/CPPLiteDebugger.java| 2 +- .../debugger/breakpoints/JPDABreakpointsHandler.java | 20 +--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java index 7c30f7c..56d52e3 100644 --- a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java +++ b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java @@ -968,7 +968,7 @@ public final class CPPLiteDebugger { private void addBreakpoint(CPPLiteBreakpoint breakpoint) { String path = breakpoint.getFilePath(); int lineNumber = breakpoint.getLineNumber(); -String disabled = breakpoint.isEnabled() ? "" : "-d "; +String disabled = breakpoint.isEnabled() ? "-f " : "-d "; Command command = new Command("-break-insert " + disabled + path + ":" + lineNumber) { @Override protected void onDone(MIRecord record) { diff --git a/java/java.nativeimage.debugger/src/org/netbeans/modules/java/nativeimage/debugger/breakpoints/JPDABreakpointsHandler.java b/java/java.nativeimage.debugger/src/org/netbeans/modules/java/nativeimage/debugger/breakpoints/JPDABreakpointsHandler.java index 2f43091..8ce968b 100644 --- a/java/java.nativeimage.debugger/src/org/netbeans/modules/java/nativeimage/debugger/breakpoints/JPDABreakpointsHandler.java +++ b/java/java.nativeimage.debugger/src/org/netbeans/modules/java/nativeimage/debugger/breakpoints/JPDABreakpointsHandler.java @@ -46,6 +46,8 @@ import org.openide.filesystems.URLMapper; */ public class JPDABreakpointsHandler extends DebuggerManagerAdapter implements PropertyChangeListener { +private static final String SOURCES_FOLDER = "sources"; // NOI18N + private final File niFileSources; private final NIDebugger debugger; private final Set attachedBreakpoints = new HashSet<>(); @@ -62,7 +64,7 @@ public class JPDABreakpointsHandler extends DebuggerManagerAdapter implements Pr } private static File getNativeSources(File niFile) { -File sources = new File(niFile.getParentFile(), "sources"); +File sources = new File(niFile.getParentFile(), SOURCES_FOLDER); if (sources.isDirectory()) { return sources; } else { @@ -124,16 +126,12 @@ public class JPDABreakpointsHandler extends DebuggerManagerAdapter implements Pr return null; } String filePath = null; -if (niFileSources != null) { -FileObject fo; -fo = URLMapper.findFileObject(url); -for (FileObject root : GlobalPathRegistry.getDefault().getSourceRoots()) { -if (FileUtil.isParentOf(root, fo)) { -String path = FileUtil.getRelativePath(root, fo); -File sourcesFile = new File(niFileSources, path); -filePath = sourcesFile.getAbsolutePath(); -break; -} +FileObject fo = URLMapper.findFileObject(url); +for (FileObject root : GlobalPathRegistry.getDefault().getSourceRoots()) { +if (FileUtil.isParentOf(root, fo)) { +String path = FileUtil.getRelativePath(root, fo); +filePath = SOURCES_FOLDER + File.separator + path; +break; } } if (filePath == null) { - 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