[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899280#comment-16899280 ] Travis commented on NETBEANS-2938: -- I did a lot of experiments switching around my java platforms while trying to work around a different netbeans exception. Not I think the problem in this ticket happens whenever the JDK platform of the project being build is not equal to netbeans_jdkhome. > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Minor > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at >
[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899259#comment-16899259 ] Travis commented on NETBEANS-2938: -- This problem reappears if I edit netbeans_jdkhome in my netbeans.conf to swap which JDK version Netbeans is running on. It appears in both directions when swapping between JDK 8 and JDK 12. I'm not sure why changing netbeans_jdkhome causes this preferences corruption that leads to this exception. > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Minor > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at >
[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899215#comment-16899215 ] Travis commented on NETBEANS-2938: -- I was able to workaround this issue by doing the following: 1) Export all prefernences 2) Delete preferences folder 3) Import all preferences except for "General:All Other Unspecified" So there was something corrupt in the "All Other Unspecified" preferences that caused the exceptions. > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Minor > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at >
[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899204#comment-16899204 ] Travis commented on NETBEANS-2938: -- After spending more time on this, I discovered it is related to some kind of data corruption in my Netbeans preferences. That explains why it only happened to me on Windows. When I deleted my user preferences and started from scratch, the code parsing with Java12 succeeded on the same projects where it previously hit the aforementioned exceptions. I'm leaving this ticket open, but bumping down priority, because it's still bad for the IDE to fail in this manner, without any helpful info for the user to understand the source of the problem. Also it probably needs to be reassigned to a different component and assignee. But I'm not sure yet where the root cause is. > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Major > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) > at >
[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2938: - Priority: Minor (was: Major) > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Minor > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at > org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239) > at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at >
[netbeans-jackpot30] tag netbeans-jackpot-11.1-vc2 created (now 91f2ff6)
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a change to tag netbeans-jackpot-11.1-vc2 in repository https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git. at 91f2ff6 (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
svn commit: r35118 - in /dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2: apache-netbeans-jackpot-11.1-bin-vc2.zip.asc apache-netbeans-jackpot-11.1-vc2.zip.asc
Author: jlahoda Date: Fri Aug 2 19:32:25 2019 New Revision: 35118 Log: Adding signatures. Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.asc dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.asc Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.asc == --- dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.asc (added) +++ dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.asc Fri Aug 2 19:32:25 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5reiA6oYSXqyUgKntMGUD+qTZPEFAl1Ej7kACgkQtMGUD+qT +ZPE8kw/5AcDJ2171E/bJNtq2sB1I9NcYXl9x7xAqHdasx+Jfeve64PjJ1L4uUyqK +pEPkzYhoPULOYAjpn22jDXYeOxuXLG5FegknIbkfA628Lw4hc04gyHqY2aY1XQuj +Wn5oAZ0V7J4ZsetSoCMUcInNp+iOZiV1nOrKyAUC+HWhTPhD8QM18ZkcE1C/5gy6 +DtZYg8nVrmAWXY54Jz95Qw35T59/LL+YLs88zwsqm6k8nUY8XTcGOvEjsEdGFoSb +wLiUVoWkpEJSdIp5LemzOPQ+darMAtF4k79+9/XSscudccfl3FIB28xQafVeYP43 +EY4CFmqJ386LH6XYC992nOKQKpfqnlQhn6azm+Sm14XHne4yCbvoKs+iC46kw6x+ +5D1CeT8KFmM0hzhEdVsgtdC9asmHG9fjrBgI7j1aPkA+xqLBKSm4M+NOCgwjX0fZ +NTCHyzlZYQ/dTcrbQQSefLSL06NQ7k8kwPZNM+CPJKXxe2ORcfNwd+mUrWojHCZz +DlY+jsSiQ8VaBcaOkg0lEiBf+XPmJW54+r4vhkqhL4aY3bSrUk3qOFBX7FEAF6WK +SlKlOpCCoG/QTW+MQk9s892nPkMC6H6eWsXkrxJoywJJNBKxM+uLEZTyikQZwN6M +pKDQQaPvgj/hPVO2MKNtnWShh+G2ld7+RF3/EtaqsuGw8wJak0I= +=RC13 +-END PGP SIGNATURE- Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.asc == --- dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.asc (added) +++ dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.asc Fri Aug 2 19:32:25 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5reiA6oYSXqyUgKntMGUD+qTZPEFAl1Ej7oACgkQtMGUD+qT +ZPH1yw//cIfhRNM9BO3+al/+q9Q0bHZ/Tf8lc1b44GIZM9iX2SXHaWy1VIR5nIL1 +OIp7qYG3pYWyaevJaDO+8y0boa1nggLnQ2NfWAa6e+fgHO2PKV/Rm9F7vRF3/qMU +uU1Hvl11cod7vVnt2u3g6rE7hruvqSRqB/oOIgEnI/mDmjx3TtGrgMjTi/sweFBu +TfICuOgSwXqSCo+2Sn4l1y10TC8f80Ln2PFh8iJm6p64hwWTTq5q30b4GTCPeifV +BFF+cwbDKBVNwIEYsqczPK5PJAP8sPWIXz5c51zocWDaSA4TPGVH1nMjt2eRwzcu +qmthi/TmUQ6Zi31HX5kskoEHjrnfZQCkU1HssPVhpYv4siI6pEQElaCdf0yAEvVT +CP3Syjir9LLCSi/QtvcM5L83TlHDDwkmvyv6+RgI6X5vj4elyRRNAH7/qbKFI+ul +putulMnGaJiIhn7GBNXDb8O7+0RiIgex+TBREKWu5toWzZc3lkjNLHdSkjCnQA8K +PoZNRBIm51L/kunlU+iTp+qt3n3SmSPzBxDbUyv2kWbG954ZszXnz+l/HrN1L/fV +cotLGv5TXSwmcvsADpQjC6+vZcTEsuEbXgMJKUwqfY8G75iGIdv+KATcLksodEZv +vp0M5p8vUu0x4VoWjYDaeP9+EypavgH2ukhlpSmcGeX7zSFjNUQ= +=0OPJ +-END PGP SIGNATURE- - 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
svn commit: r35117 - in /dev/netbeans/netbeans-jackpot: netbeans-jackpot-11.1-vc1/ netbeans-jackpot-11.1-vc2/
Author: jlahoda Date: Fri Aug 2 19:29:31 2019 New Revision: 35117 Log: Publishing VC2 of Apache NetBeans Standalone Hints 11.1. Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/ dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip (with props) dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.sha512 dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip (with props) dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.sha512 Removed: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc1/ Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip == Binary file - no diff available. Propchange: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.sha512 == --- dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.sha512 (added) +++ dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-bin-vc2.zip.sha512 Fri Aug 2 19:29:31 2019 @@ -0,0 +1 @@ +af36197648cd4861208c35539e7ad0cf5ca5e111e75fb43f9ab03f609d46a070036d7d045c3b91916df3280f2136fefb694ad1fceda44f875619f08fb088a6be apache-netbeans-jackpot-11.1-bin-vc2.zip Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip == Binary file - no diff available. Propchange: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.sha512 == --- dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.sha512 (added) +++ dev/netbeans/netbeans-jackpot/netbeans-jackpot-11.1-vc2/apache-netbeans-jackpot-11.1-vc2.zip.sha512 Fri Aug 2 19:29:31 2019 @@ -0,0 +1 @@ +c0480b2ebd1c474038ac4be221fe23260fc8e75f799bbea7c45a76e8bcddfc7bf96606b343b5a92d2c0c2cdc763b0678010d2828efba2e245a4355e6f2009a0b apache-netbeans-jackpot-11.1-vc2.zip - 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-319) NetBeans freezes for 17 seconds when I save file
[ https://issues.apache.org/jira/browse/NETBEANS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899148#comment-16899148 ] Laszlo Kishalmi commented on NETBEANS-319: -- Could you get profiling session snapshot? Press the self profile button next to the memory gauge Do your thing Press the button again to end the profile session. Export the session snapshot data (nbss file). Attach it to this issue (probably compressed if it is too big) > NetBeans freezes for 17 seconds when I save file > > > Key: NETBEANS-319 > URL: https://issues.apache.org/jira/browse/NETBEANS-319 > Project: NetBeans > Issue Type: Bug > Components: platform - Filesystems >Affects Versions: 8.2, 9.0, 11.1 > Environment: Windows 10 64 bit JDK 1.8.0_152 >Reporter: Enrico Scantamburlo >Priority: Major > Attachments: dump.txt > > > # Opened a .csv file > # Opened the same file in Excel > # Tried to save the file > # I got a popup that said the file was open in another process > # I closed Excel > # Tried to save the file again > # The gui froze for 17 seconds > # Then it saves correctly > I took a look at the code, there is a loop that should wait for 10*200ms but > is longer than the time I waited. > > See [here |https://netbeans.org/bugzilla/show_bug.cgi?id=229903] > I also reported the slowness via the Exception Reporter in NetBeans and it > is report number 870343 > I am also attaching the thread dump -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-jackpot30] branch master updated: Attempting to improve the resulting maven repository; adding a test for --group in parameter file; both as noted during a vote review.
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git The following commit(s) were added to refs/heads/master by this push: new 91f2ff6 Attempting to improve the resulting maven repository; adding a test for --group in parameter file; both as noted during a vote review. 91f2ff6 is described below commit 91f2ff6da760d14159899d34e55a1d9ac49a2b50 Author: Jan Lahoda AuthorDate: Fri Aug 2 20:53:43 2019 +0200 Attempting to improve the resulting maven repository; adding a test for --group in parameter file; both as noted during a vote review. --- cmdline/build.xml | 6 +-- cmdline/maven/pom.xml | 8 +++- cmdline/tool/build.xml | 12 +- cmdline/tool/scripts/pom.xml | 46 ++ .../modules/jackpot30/cmdline/MainTest.java| 29 ++ 5 files changed, 96 insertions(+), 5 deletions(-) diff --git a/cmdline/build.xml b/cmdline/build.xml index 848ad18..fd80860 100644 --- a/cmdline/build.xml +++ b/cmdline/build.xml @@ -44,7 +44,7 @@ - + @@ -81,7 +81,7 @@ Installing tool to the local maven repository: - + Building maven plugin: @@ -96,7 +96,7 @@ Installing tool to the target maven repository: - + Installing plugin to the target maven repository: diff --git a/cmdline/maven/pom.xml b/cmdline/maven/pom.xml index 4a29e9e..aa9182b 100644 --- a/cmdline/maven/pom.xml +++ b/cmdline/maven/pom.xml @@ -30,7 +30,13 @@ netbeans-parent 2 - https://bitbucket.org/jlahoda/jackpot30/overview + https://netbeans.apache.org + + scm:git:https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git + scm:git:https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git + https://github.com/apache/netbeans-jackpot30/tree/${project.scm.tag} + master + UTF-8 diff --git a/cmdline/tool/build.xml b/cmdline/tool/build.xml index 495b225..8edafd5 100644 --- a/cmdline/tool/build.xml +++ b/cmdline/tool/build.xml @@ -44,7 +44,6 @@ - @@ -61,6 +60,17 @@ + + + + + +This jar does not have any API. + + + + + diff --git a/cmdline/tool/scripts/pom.xml b/cmdline/tool/scripts/pom.xml new file mode 100644 index 000..d4d329b --- /dev/null +++ b/cmdline/tool/scripts/pom.xml @@ -0,0 +1,46 @@ + +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> + 4.0.0 + + org.apache.netbeans.modules.jackpot30 + jackpot30-maven-plugin + 11.1 + maven-plugin + + Jackpot 3.0 Command Line Tool + +org.apache.netbeans +netbeans-parent +2 + + https://netbeans.apache.org + + scm:git:https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git + scm:git:https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git + https://github.com/apache/netbeans-jackpot30/tree/${project.scm.tag} + master + + + + +UTF-8 + + + diff --git a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java index f5b7056..5be9315 100644 --- a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java +++ b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java @@ -888,6 +888,35 @@ public class MainTest extends NbTestCase { "@" + getWorkDirPath() + "/parameters.txt"); } +public void testParameterFileWithGroup() throws Exception { +String golden = +"package test;\n" + +"public class Test {\n" + +"private void test(java.util.Collection c) {\n" + +"boolean b = c.isEmpty();\n" + +"}\n" + +"}\n"; + +doRunCompiler(golden, + null, + null, + "src/test/Test.java", + "package test;\n" + + "public class Test {\n" + + "private void test(java.util.Collection c) {\n" + + "boolean b = c.size() == 0;\n" + + "}\n" + + "}\n", + "parameters.txt", + "--apply\n" + +
[jira] [Commented] (NETBEANS-319) NetBeans freezes for 17 seconds when I save file
[ https://issues.apache.org/jira/browse/NETBEANS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899054#comment-16899054 ] Enrico Scantamburlo commented on NETBEANS-319: -- Yes and in NetBeans 11.1 got worse > NetBeans freezes for 17 seconds when I save file > > > Key: NETBEANS-319 > URL: https://issues.apache.org/jira/browse/NETBEANS-319 > Project: NetBeans > Issue Type: Bug > Components: platform - Filesystems >Affects Versions: 8.2, 9.0, 11.1 > Environment: Windows 10 64 bit JDK 1.8.0_152 >Reporter: Enrico Scantamburlo >Priority: Major > Attachments: dump.txt > > > # Opened a .csv file > # Opened the same file in Excel > # Tried to save the file > # I got a popup that said the file was open in another process > # I closed Excel > # Tried to save the file again > # The gui froze for 17 seconds > # Then it saves correctly > I took a look at the code, there is a loop that should wait for 10*200ms but > is longer than the time I waited. > > See [here |https://netbeans.org/bugzilla/show_bug.cgi?id=229903] > I also reported the slowness via the Exception Reporter in NetBeans and it > is report number 870343 > I am also attaching the thread dump -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2938: - Attachment: tiny-netbeans-gradle-demo-project.zip > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Major > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at > org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239) > at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at >
[jira] [Updated] (NETBEANS-319) NetBeans freezes for 17 seconds when I save file
[ https://issues.apache.org/jira/browse/NETBEANS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Scantamburlo updated NETBEANS-319: - Affects Version/s: 11.1 > NetBeans freezes for 17 seconds when I save file > > > Key: NETBEANS-319 > URL: https://issues.apache.org/jira/browse/NETBEANS-319 > Project: NetBeans > Issue Type: Bug > Components: platform - Filesystems >Affects Versions: 8.2, 9.0, 11.1 > Environment: Windows 10 64 bit JDK 1.8.0_152 >Reporter: Enrico Scantamburlo >Priority: Major > Attachments: dump.txt > > > # Opened a .csv file > # Opened the same file in Excel > # Tried to save the file > # I got a popup that said the file was open in another process > # I closed Excel > # Tried to save the file again > # The gui froze for 17 seconds > # Then it saves correctly > I took a look at the code, there is a loop that should wait for 10*200ms but > is longer than the time I waited. > > See [here |https://netbeans.org/bugzilla/show_bug.cgi?id=229903] > I also reported the slowness via the Exception Reporter in NetBeans and it > is report number 870343 > I am also attaching the thread dump -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899052#comment-16899052 ] Travis commented on NETBEANS-2938: -- The attached zip file contains a simple project which demonstrates the issue repeatably for me on both Netbeans 11.0 and 11.1. To trigger the exception again and again, I can just run "Source:Scan for External Changes". I even tried a fresh installation of Netbeans 11.1, this time using the bin.zip instead of the Windows .exe installer. That made no difference... same exception happens. Since same exception happens on two projects with non-overlapping source code, I think this has absolutely nothing to do with my source .java code, and would happen on any Java project using my environment. > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Major > Attachments: tiny-netbeans-gradle-demo-project.zip > > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) > at >
[jira] [Assigned] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources
[ https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis reassigned NETBEANS-2938: Assignee: ARUNAVA SINHA > StringIndexOutOfBoundsException while parsing Java 12 sources > - > > Key: NETBEANS-2938 > URL: https://issues.apache.org/jira/browse/NETBEANS-2938 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 > Environment: Windows 10 > Netbeans 11.0 or 11.1, with nb-javac 1.6 > OpenJDK 12 > JavaFX 12 > Gradle 5.5 >Reporter: Travis >Assignee: ARUNAVA SINHA >Priority: Major > > With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + > JavaFX 12, I started getting the following exception. > After this exception, since the source scan failed various IDE features don't > work (Navigator pane says "Please Wait" forever, can't Navigate sources using > operations like "Go to Declaration", code refactoring doesn't work, etc). > The IDE is pretty useless while in this state. > Strangely, I am running Netbeans 11.0 on Linux and didn't have this same > problem there. > I saw this on proprietry code, and can't share it. If necessary I could try > to provide a tiny code example that demonstrates the same issue. > > An error occurred during parsing of 'C:\.java'. Please report a bug > against java/source and attach dump file 'C:\.dump'. > Caused: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1967) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123) > at > org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71) > at > org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37) > at > org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191) > at > org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168) > at > org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115) > at > org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115) > at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801) > at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709) > at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589) > at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312) > at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645) > at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142) > at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860) > at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390) > at > com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328) > at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343) > at com.sun.tools.javac.comp.Enter.complete(Enter.java:813) > at > org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67) > at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142) > 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:623) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) > at > org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239) > at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) > [catch] at >
[jira] [Closed] (NETBEANS-287) Dead lock when saving file
[ https://issues.apache.org/jira/browse/NETBEANS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Scantamburlo closed NETBEANS-287. I was not able to reproduce it on 11.1 > Dead lock when saving file > -- > > Key: NETBEANS-287 > URL: https://issues.apache.org/jira/browse/NETBEANS-287 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 8.2 > Environment: Windows 10 JDK 1.8.0_162 64bit >Reporter: Enrico Scantamburlo >Priority: Major > Attachments: 1.tdump, 2.tdump > > > I modified a java file, then saved with "format on save" on, and I had a > thread deadlock -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-2729) Let netbeans and netbeans-dev Snap Descriptors co-exists
[ https://issues.apache.org/jira/browse/NETBEANS-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2729. --- Resolution: Done Marked resolved as the corresponding PR got merged. > Let netbeans and netbeans-dev Snap Descriptors co-exists > > > Key: NETBEANS-2729 > URL: https://issues.apache.org/jira/browse/NETBEANS-2729 > Project: NetBeans > Issue Type: Improvement >Reporter: Laszlo Kishalmi >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > As we have two packages created from NetBeans netbeans-dev and netbeans, it > would be good that any point of time both packages could be built without > modification. > This means that the non-dev Snap package have to be able to take the version > argument from command line/environment. Also we probably do not want to put > the version information in the Desktop file. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2944) Cannot compile NetBeans Platform Application on Java 9+
Enrico Scantamburlo created NETBEANS-2944: - Summary: Cannot compile NetBeans Platform Application on Java 9+ Key: NETBEANS-2944 URL: https://issues.apache.org/jira/browse/NETBEANS-2944 Project: NetBeans Issue Type: Bug Components: projects - Ant Affects Versions: 11.0, 10.0, 9.0, 11.1 Reporter: Enrico Scantamburlo We have a NetBeans Application based on NetBeans 8.1, we tried to build it on NetBeans 9, 10, 11, 11.1 but the compiletion failed. We set the proper NetBeans Platform (8.1) and the correct JDK ( 8 ) but the compilation failed complaining that the files that should be generated by the @ServiceProvider annotation were not present (maybe also the layer extensions). Eventually we found what the problem was: even if we set the JDK 1.8 as the application JDK the NetBeans IDE runs Ant with its default JDK (it was 9 at that time).Running the NetBeans IDE with JDK 8 fixed the problem. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2943) I cannot save nps files inside modules
Enrico Scantamburlo created NETBEANS-2943: - Summary: I cannot save nps files inside modules Key: NETBEANS-2943 URL: https://issues.apache.org/jira/browse/NETBEANS-2943 Project: NetBeans Issue Type: Bug Components: profiler - IDE Affects Versions: 11.1 Reporter: Enrico Scantamburlo Attachments: Annotation 2019-08-02 164243.png I profiled my NetBeans 8.2 Platform Application with NetBenas 11.1 and when I wanted to save myprofiler snapshots inside the modules I got an error message (see attachment) -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2931) A java.lang.IllegalStateException exception has occurred.
[ https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Saban updated NETBEANS-2931: -- Summary: A java.lang.IllegalStateException exception has occurred. (was: Certificate error on plugins portal and apache website => php uninstallable) > A java.lang.IllegalStateException exception has occurred. > - > > Key: NETBEANS-2931 > URL: https://issues.apache.org/jira/browse/NETBEANS-2931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: mageia linux 7 >Reporter: Marc Krämer >Priority: Blocker > Original Estimate: 1h > Remaining Estimate: 1h > > The page > [https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/] > (which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/) > is not secured by a valid certificate. Checked in all browsers. Netbeans > itself refuses to connect to this page: > "Unable to connect to the NetBeans Distribution because of Received fatal > alert: handshake_failure" > > Since the tar ball does not contain an installable php distribution it is not > possible to activate php. > "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be > installed. > The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. > The following plugin is affected: > PHP" -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2931) Certificate error on plugins portal and apache website => php uninstallable
[ https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Saban updated NETBEANS-2931: -- Affects Version/s: (was: 10.0) (was: 9.0) > Certificate error on plugins portal and apache website => php uninstallable > --- > > Key: NETBEANS-2931 > URL: https://issues.apache.org/jira/browse/NETBEANS-2931 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: mageia linux 7 >Reporter: Marc Krämer >Priority: Blocker > Original Estimate: 1h > Remaining Estimate: 1h > > The page > [https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/] > (which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/) > is not secured by a valid certificate. Checked in all browsers. Netbeans > itself refuses to connect to this page: > "Unable to connect to the NetBeans Distribution because of Received fatal > alert: handshake_failure" > > Since the tar ball does not contain an installable php distribution it is not > possible to activate php. > "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be > installed. > The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. > The following plugin is affected: > PHP" -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-2942) Gradle jvmargs are not inserted into distribution command script
[ https://issues.apache.org/jira/browse/NETBEANS-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2942. --- Resolution: Invalid Well, this happens entirely between Gradle and you, NetBeans has no affect on it. You might file an issue on it for Gradle. AFAIK the distribution plugin works with a script template you can overwrite, so it is solvable with Gradle at the moment, just needs a bit more work. > Gradle jvmargs are not inserted into distribution command script > > > Key: NETBEANS-2942 > URL: https://issues.apache.org/jira/browse/NETBEANS-2942 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, openjdk12, Windows10 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, packaging > > build.gradle contains > {code:java} > run { > jvmArgs(['--enable-preview']) > }{code} > This is taken into account when runnung from the IDE, but it is not inserted > into the distribution (Zip file) -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview
[ https://issues.apache.org/jira/browse/NETBEANS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898899#comment-16898899 ] Laszlo Kishalmi commented on NETBEANS-2941: --- Thanks for reporting this one. > Hint "convert rule to switch" not shown with Gradle - openjdk12 - > --enable-preview > -- > > Key: NETBEANS-2941 > URL: https://issues.apache.org/jira/browse/NETBEANS-2941 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, hints > > in the project's build.gradle are these specifications: > {code:java} > compileJava { > options.compilerArgs.addAll(['--enable-preview']) > } > run { > jvmArgs(['--enable-preview']) > } > > {code} > A program containing > {code:java} > switch (string) { > case"a123" -> System.out.println("a123"); > ... > }{code} > compiles and runs well in the IDE. > > if "old" switch format like > {code:java} > switch (string) { > case "a123": > System.out.println("a123"); > break; > ... > }{code} > is used, not hint > {code:java} > convert to rule switch{code} > is shown > -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview
[ https://issues.apache.org/jira/browse/NETBEANS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2941: -- Issue Type: Improvement (was: Bug) > Hint "convert rule to switch" not shown with Gradle - openjdk12 - > --enable-preview > -- > > Key: NETBEANS-2941 > URL: https://issues.apache.org/jira/browse/NETBEANS-2941 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, hints > > in the project's build.gradle are these specifications: > {code:java} > compileJava { > options.compilerArgs.addAll(['--enable-preview']) > } > run { > jvmArgs(['--enable-preview']) > } > > {code} > A program containing > {code:java} > switch (string) { > case"a123" -> System.out.println("a123"); > ... > }{code} > compiles and runs well in the IDE. > > if "old" switch format like > {code:java} > switch (string) { > case "a123": > System.out.println("a123"); > break; > ... > }{code} > is used, not hint > {code:java} > convert to rule switch{code} > is shown > -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2461) Debug mode doesn't apply any code changes
[ https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jose luis romero updated NETBEANS-2461: --- Affects Version/s: 11.1 > Debug mode doesn't apply any code changes > - > > Key: NETBEANS-2461 > URL: https://issues.apache.org/jira/browse/NETBEANS-2461 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 > Environment: windows 10 64x >Reporter: jose luis romero >Priority: Major > Attachments: messages.log > > > I have been trying the debug (with and without HotSwap agent, DCEVM) some > projects in java Desktop and webApps, with and without Maven, it doesn't > update any kind of changes in the code, the button "Apply code Changes" never > becomes available/enabled -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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] [Comment Edited] (NETBEANS-2461) Debug mode doesn't apply any code changes
[ https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898821#comment-16898821 ] jose luis romero edited comment on NETBEANS-2461 at 8/2/19 11:45 AM: - I found the solution to make debug + dcevm works. The problem lays on: creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml this xml by default uses plugin 1.5.0 {code:java} org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{code} changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2) Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options {code:java} -XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code} the IDE cut the *=dcevm* leaving {code:java} -XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop{code} it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm was (Author: firuzzz): I found the solution to make debug + dcevm works. The problem lays on: creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml this xml by default uses plugin 1.5.0 {code:java} org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{code} changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2) Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options {code:java} -XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code} the IDE cut the *=dcevm* leaving ** {code:java} -XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop{code} it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm > Debug mode doesn't apply any code changes > - > > Key: NETBEANS-2461 > URL: https://issues.apache.org/jira/browse/NETBEANS-2461 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: windows 10 64x >Reporter: jose luis romero >Priority: Major > Attachments: messages.log > > > I have been trying the debug (with and without HotSwap agent, DCEVM) some > projects in java Desktop and webApps, with and without Maven, it doesn't > update any kind of changes in the code, the button "Apply code Changes" never > becomes available/enabled -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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] [Comment Edited] (NETBEANS-2461) Debug mode doesn't apply any code changes
[ https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898821#comment-16898821 ] jose luis romero edited comment on NETBEANS-2461 at 8/2/19 11:44 AM: - I found the solution to make debug + dcevm works. The problem lays on: creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml this xml by default uses plugin 1.5.0 {code:java} org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{code} changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2) Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options {code:java} -XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code} the IDE cut the *=dcevm* leaving ** {code:java} -XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop{code} it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm was (Author: firuzzz): I found the solution to make debug + dcevm works. The problem lays on: creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml this xml by default uses plugin 1.5.0 {code:java} org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{code} changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2) Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options {code:java} -XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code} the IDE cut the *=dcevm* leaving ** {code:java} -XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop{code} it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm > Debug mode doesn't apply any code changes > - > > Key: NETBEANS-2461 > URL: https://issues.apache.org/jira/browse/NETBEANS-2461 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: windows 10 64x >Reporter: jose luis romero >Priority: Major > Attachments: messages.log > > > I have been trying the debug (with and without HotSwap agent, DCEVM) some > projects in java Desktop and webApps, with and without Maven, it doesn't > update any kind of changes in the code, the button "Apply code Changes" never > becomes available/enabled -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2461) Debug mode doesn't apply any code changes
[ https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898821#comment-16898821 ] jose luis romero commented on NETBEANS-2461: I found the solution to make debug + dcevm works. The problem lays on: creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml this xml by default uses plugin 1.5.0 {code:java} org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{code} changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2) Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options {code:java} -XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code} the IDE cut the *=dcevm* leaving ** {code:java} -XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop{code} it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm > Debug mode doesn't apply any code changes > - > > Key: NETBEANS-2461 > URL: https://issues.apache.org/jira/browse/NETBEANS-2461 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: windows 10 64x >Reporter: jose luis romero >Priority: Major > Attachments: messages.log > > > I have been trying the debug (with and without HotSwap agent, DCEVM) some > projects in java Desktop and webApps, with and without Maven, it doesn't > update any kind of changes in the code, the button "Apply code Changes" never > becomes available/enabled -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-1139) AssertionError in org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue
[ https://issues.apache.org/jira/browse/NETBEANS-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898752#comment-16898752 ] Aidar Myrzahanov commented on NETBEANS-1139: I'm facing this problem right now. The behavior is so inconsistent, that changing the name of a variable might break it. I've attached the shortest example I was able to create. > AssertionError in > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue > - > > Key: NETBEANS-1139 > URL: https://issues.apache.org/jira/browse/NETBEANS-1139 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 9.0, Next >Reporter: Austin Stephens >Priority: Critical > Attachments: AutoCompleteBug1.java, Bug.java > > > Attempting to Autocomplete the constructor after new in the attached file > throws an AssertionError. > StackTrace: > {noformat} > 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.code.Scope$ScopeImpl.dble(Scope.java:410) > at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433) > at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:476) > at > com.sun.tools.javadoc.main.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:83) > at > org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:92) > at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) > at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:171) > at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1171) > at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) > at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) > at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:760) > at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1337) > at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:73) > at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) > at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) > at > org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:878) > at > org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:808) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:716) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:431) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:143) > at > org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225) > at > org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273) > at > org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82) > at > org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566) > at > org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286) > at > org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785) > at > org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) > at java.desktop/java.awt.Component.processKeyEvent(Component.java:6547) > at > java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849) > at java.desktop/java.awt.Component.processEvent(Component.java:6366) > at java.desktop/java.awt.Container.processEvent(Container.java:2261) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) > at > java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871) > at >
[jira] [Updated] (NETBEANS-1139) AssertionError in org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue
[ https://issues.apache.org/jira/browse/NETBEANS-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aidar Myrzahanov updated NETBEANS-1139: --- Attachment: Bug.java > AssertionError in > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue > - > > Key: NETBEANS-1139 > URL: https://issues.apache.org/jira/browse/NETBEANS-1139 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 9.0, Next >Reporter: Austin Stephens >Priority: Critical > Attachments: AutoCompleteBug1.java, Bug.java > > > Attempting to Autocomplete the constructor after new in the attached file > throws an AssertionError. > StackTrace: > {noformat} > 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.code.Scope$ScopeImpl.dble(Scope.java:410) > at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433) > at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:476) > at > com.sun.tools.javadoc.main.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:83) > at > org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:92) > at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) > at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:171) > at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1171) > at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) > at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) > at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:760) > at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1337) > at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:73) > at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026) > at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) > at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) > at > org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:878) > at > org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:808) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:716) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:431) > at > org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:143) > at > org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225) > at > org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273) > at > org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82) > at > org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566) > at > org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286) > at > org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785) > at > org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) > at > java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) > at java.desktop/java.awt.Component.processKeyEvent(Component.java:6547) > at > java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849) > at java.desktop/java.awt.Component.processEvent(Component.java:6366) > at java.desktop/java.awt.Container.processEvent(Container.java:2261) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) > at > java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871) > at > java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1140) > at > java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1010) > at >
[jira] [Closed] (NETBEANS-1865) Exception with SlikSVN Subversion on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrico Scantamburlo closed NETBEANS-1865. - Resolution: Fixed Fix Version/s: 11.1 It works on NetBeans 11.1 > Exception with SlikSVN Subversion on Windows > > > Key: NETBEANS-1865 > URL: https://issues.apache.org/jira/browse/NETBEANS-1865 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Subversion >Affects Versions: 10.0, 11.0 >Reporter: Enrico Scantamburlo >Priority: Major > Fix For: 11.1 > > > I started NetBeans 10.0 and I got this exception > {{}}{{java.lang.NumberFormatException: For input string: "7-SlikSvn"}} > {{ at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)}} > {{ at java.lang.Integer.parseInt(Integer.java:580)}} > {{ at java.lang.Integer.parseInt(Integer.java:615)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand$Version.parse(VersionCommand.java:168)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand$Version.parse(VersionCommand.java:146)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand.checkForErrors(VersionCommand.java:87)}} > {{ at > org.netbeans.modules.subversion.client.cli.CommandlineClient.checkSupportedVersion(CommandlineClient.java:132)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.checkVersion(SvnClientFactory.java:473)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.checkCLIExecutable(SvnClientFactory.java:430)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.setupCommandline(SvnClientFactory.java:403)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.setup(SvnClientFactory.java:222)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.init(SvnClientFactory.java:95)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.isClientAvailable(SvnClientFactory.java:240)}} > {{ at > org.netbeans.modules.subversion.Annotator.checkClientAvailable(Annotator.java:638)}} > {{ at > org.netbeans.modules.subversion.Annotator.annotateNameHtml(Annotator.java:336)}} > {{[catch] at > org.netbeans.modules.subversion.FileStatusProvider.annotateName(FileStatusProvider.java:43)}} > {{ at > org.netbeans.modules.versioning.DelegatingVCS$2.annotateName(DelegatingVCS.java:219)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:631)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:663)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.access$1500(VersioningAnnotationProvider.java:486)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache$AnnotationRefreshTask.run(VersioningAnnotationProvider.java:769)}} > {{ at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)}} > {{ at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)}} > {{ at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)}} > {{ at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}} > > > I think because I am using https://sliksvn.com/download/ -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2942) Gradle jvmargs are not inserted into distribution command script
Helmut Leininger created NETBEANS-2942: -- Summary: Gradle jvmargs are not inserted into distribution command script Key: NETBEANS-2942 URL: https://issues.apache.org/jira/browse/NETBEANS-2942 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 11.0 Environment: Gradle 5.5.1, Netbeans 11.1, openjdk12, Windows10 Reporter: Helmut Leininger Assignee: Laszlo Kishalmi build.gradle contains {code:java} run { jvmArgs(['--enable-preview']) }{code} This is taken into account when runnung from the IDE, but it is not inserted into the distribution (Zip file) -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview
[ https://issues.apache.org/jira/browse/NETBEANS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Helmut Leininger updated NETBEANS-2941: --- Summary: Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview (was: Hint "convert rule to switch" not shown with Gradle - Oopenjdk12 - --enable-preview) > Hint "convert rule to switch" not shown with Gradle - openjdk12 - > --enable-preview > -- > > Key: NETBEANS-2941 > URL: https://issues.apache.org/jira/browse/NETBEANS-2941 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 >Reporter: Helmut Leininger >Assignee: Laszlo Kishalmi >Priority: Minor > Labels: gradle, hints > > in the project's build.gradle are these specifications: > {code:java} > compileJava { > options.compilerArgs.addAll(['--enable-preview']) > } > run { > jvmArgs(['--enable-preview']) > } > > {code} > A program containing > {code:java} > switch (string) { > case"a123" -> System.out.println("a123"); > ... > }{code} > compiles and runs well in the IDE. > > if "old" switch format like > {code:java} > switch (string) { > case "a123": > System.out.println("a123"); > break; > ... > }{code} > is used, not hint > {code:java} > convert to rule switch{code} > is shown > -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2941) Hint "convert rule to switch" not shown with Gradle - Oopenjdk12 - --enable-preview
Helmut Leininger created NETBEANS-2941: -- Summary: Hint "convert rule to switch" not shown with Gradle - Oopenjdk12 - --enable-preview Key: NETBEANS-2941 URL: https://issues.apache.org/jira/browse/NETBEANS-2941 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 11.0 Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12 Reporter: Helmut Leininger Assignee: Laszlo Kishalmi in the project's build.gradle are these specifications: {code:java} compileJava { options.compilerArgs.addAll(['--enable-preview']) } run { jvmArgs(['--enable-preview']) } {code} A program containing {code:java} switch (string) { case"a123" -> System.out.println("a123"); ... }{code} compiles and runs well in the IDE. if "old" switch format like {code:java} switch (string) { case "a123": System.out.println("a123"); break; ... }{code} is used, not hint {code:java} convert to rule switch{code} is shown -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-1872) CSS parser loops infinitely with specific code
[ https://issues.apache.org/jira/browse/NETBEANS-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898611#comment-16898611 ] Junichi Yamamoto commented on NETBEANS-1872: [~crodar] Thank you for your verification. If you are interested in fixing parser and lexer, please try to have a look at comments of the grammar file: [https://github.com/apache/netbeans/blob/master/ide/css.lib/src/org/netbeans/modules/css/lib/Css3.g] > CSS parser loops infinitely with specific code > -- > > Key: NETBEANS-1872 > URL: https://issues.apache.org/jira/browse/NETBEANS-1872 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing, ide - Performance, web > - CSS Editor >Affects Versions: 8.2, 10.0, 11.0 >Reporter: Mondane >Priority: Major > Labels: background-scanning > Attachments: slider.phtml > > > I've come across a PHP-file which stalls the background scanning process. > How to reproduce: > * Download the attached file > * Create a new PHP 7.1 project with existing sources > ** Select the folder containing that one file > The background scan initiates and never stops. > History: > http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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