[jira] [Resolved] (NETBEANS-6026) Java heap space
[ https://issues.apache.org/jira/browse/NETBEANS-6026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6026. --- Resolution: Duplicate > Java heap space > --- > > Key: NETBEANS-6026 > URL: https://issues.apache.org/jira/browse/NETBEANS-6026 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.2, 12.4 >Reporter: Nikita >Priority: Major > > Аn error is thrown when scanning a project. > heapdump.hprof is several gigabytes in size. > {code:java} > java.lang.OutOfMemoryError: Java heap spacejava.lang.OutOfMemoryError: Java > heap space at java.base/java.util.Arrays.copyOf(Arrays.java:3689) at > java.base/java.util.ArrayList.grow(ArrayList.java:238) at > java.base/java.util.ArrayList.grow(ArrayList.java:243) at > java.base/java.util.ArrayList.add(ArrayList.java:486) at > java.base/java.util.ArrayList.add(ArrayList.java:499) at > org.netbeans.modules.languages.yaml.YamlParser$2$1.parserException(YamlParser.java:285) > at org.jvyamlb.ParserImpl$ProductionEnvironment.produce(ParserImpl.java:407) > at > org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment.produce(PositioningParserImpl.java:143) > at org.jvyamlb.ParserImpl.parseStreamNext(ParserImpl.java:834) at > org.jvyamlb.ParserImpl.peekEvent(ParserImpl.java:781) at > org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:161) at > org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:148) at > org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167) at > org.jvyamlb.ComposerImpl.composeNode(ComposerImpl.java:167) at > org.jvyamlb.ComposerImpl.composeDocument(ComposerImpl.java:78) at > org.jvyamlb.ComposerImpl.getNode(ComposerImpl.java:54) at > org.jvyamlb.ComposerImpl$NodeIterator.next(ComposerImpl.java:59) at > org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:308) at > org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:404) at > org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598) > at > org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228) > at > org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > {code} > > UI log > {code:java} > > 2021-09-20T11:54:35 > 1632128075237 > 284 > > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater > 900 > 60 > /home/www/.netbeans/12.4/var/log/heapdump.hprof > > java.lang.OutOfMemoryError: Java heap space > > copyOf > 3689 > jrt:/java.base/java/util/Arrays.class/file> > > > grow > 238 > jrt:/java.base/java/util/ArrayList.class/file> > > > grow > 243 > jrt:/java.base/java/util/ArrayList.class/file> > > > add > 486 > jrt:/java.base/java/util/ArrayList.class/file> > > > add > 499 > jrt:/java.base/java/util/ArrayList.class/file> > > > parserException > 285 > > ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar > > > produce > 407 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > >produce > 143 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > parseStreamNext > 834 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > peekEvent > 781 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > composeNode > 161 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > composeNode > 148 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > > > composeNode > 167 > ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar > >
[jira] [Updated] (NETBEANS-6015) Memory Leak in PHP Parser
[ https://issues.apache.org/jira/browse/NETBEANS-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-6015: -- Summary: Memory Leak in PHP Parser (was: Java heap space - Out of Memory Error) > Memory Leak in PHP Parser > - > > Key: NETBEANS-6015 > URL: https://issues.apache.org/jira/browse/NETBEANS-6015 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.4 > Environment: Ubuntu 20.4 > Open JDK 11 >Reporter: Anisur Mullick >Assignee: Lars Bogren >Priority: Blocker > Labels: background-scanning > > > 2021-09-17T08:06:27 > 1631846187154 > 48 > global > 1000 > 22 > > /home/anisur/snap/netbeans/common/data/12.4/var/log/heapdump.hprof > > java.lang.OutOfMemoryError: Java heap space > > > > 2021-09-17T08:17:35 > 1631846855694 > 79 > org.netbeans.ui > 700 > 35 > UI_ENABLED_MODULES > UI_ENABLED_MODULES > org.netbeans.modules.uihandler.Bundle > org.netbeans.modules.testng.ant [2.27] > org.openide.filesystems.nb [9.22] > org.netbeans.modules.xml.wsdl.model/1 [1.45.0.1] > org.netbeans.modules.web.common [1.111] > org.netbeans.modules.nbjunit/1 [1.102] > org.netbeans.modules.welcome/1 [1.54] > org.netbeans.modules.languages.ini [1.37] > org.netbeans.modules.ant.hints/1 [1.6] > org.eclipse.mylyn.commons.core [3.17.0] > org.netbeans.modules.localtasks [1.37] > org.netbeans.modules.editor.mimelookup.impl/1 [1.44] > org.netbeans.modules.php.zend [1.44] > org.netbeans.modules.php.dbgp [1.54] > org.netbeans.modules.ant.grammar/1 [1.56] > org.netbeans.modules.extexecution.base/2 [1.18] > org.netbeans.modules.project.indexingbridge [1.29] > org.netbeans.modules.php.smarty [1.98] > org.netbeans.modules.java.editor.base [2.77.0.1] > org.netbeans.modules.refactoring.api [1.59.0.1] > org.netbeans.api.web.webmodule [1.50] > org.netbeans.modules.java.editor/1 [2.80.0.12.1.1.1] > org.netbeans.libs.osgi [1.34] > org.netbeans.modules.versioning.util [1.82.0.42.1] > org.netbeans.modules.i18n/1 [1.65] > org.netbeans.modules.xml.lexer [1.42] > org.eclipse.core.runtime.compatibility.auth [3.2.200] > org.netbeans.libs.svnClientAdapter/1 [1.52] > org.netbeans.modules.db.metadata.model/1 [1.23] > org.openide.modules [7.60] > org.netbeans.modules.ide.branding/1 [1.44] > org.netbeans.modules.project.ant.ui/1 [1.77] > org.netbeans.modules.testng [2.32] > org.netbeans.modules.javascript2.react [0.11] > org.netbeans.modules.groovy.editor/2 [1.75] > org.netbeans.modules.php.code.analysis [0.25] > org.netbeans.modules.form.kit [1.40] > org.netbeans.lib.uihandler [1.57] > org.netbeans.modules.updatecenters/1 [1.52] > org.eclipse.core.jobs [3.5.100] > org.netbeans.modules.markdown [1.0] > org.netbeans.modules.debugger.jpda.projectsui [1.15] > org.netbeans.modules.xml.catalog.ui [2.15.0.4] > org.eclipse.jgit [5.7.0] > org.netbeans.modules.defaults/1 [1.43] > org.apache.commons.logging [1.2] > org.netbeans.libs.ini4j/1 [1.46] > org.netbeans.modules.gradle.kit [1.8] > org.netbeans.modules.dlight.nativeexecution [1.51.0.1] > org.netbeans.modules.xml.axi [1.45] > org.netbeans.modules.java.disco [1.0] > org.netbeans.modules.editor.lib/3 [4.19.0.23.3.55] > org.netbeans.modules.java.platform.ui/1 [1.54] > org.netbeans.modules.utilities.project/1 [1.50] > org.netbeans.modules.hudson.subversion [1.41] > org.netbeans.modules.javascript2.source.query/0 [0.11] > org.netbeans.modules.maven.grammar/1 [1.59.0.1] > org.netbeans.modules.image/1 [1.60] > org.netbeans.spi.debugger.jpda.ui [3.15] > org.netbeans.api.annotations.common/1 [1.40] > org.netbeans.modules.derby [1.52] > org.netbeans.modules.html.indexing [1.2] > org.netbeans.modules.xml.text/2 [1.71.0.1] > org.netbeans.modules.dbapi [1.46.0.30] > org.netbeans.modules.php.twig/1 [1.37] > org.netbeans.modules.xml.tax/2 [1.56.0.281] > org.netbeans.libs.jna.platform/2 [2.7] > org.netbeans.libs.bytelist/1 [0.42.0.1] > org.netbeans.modules.dlight.nativeexecution.nb [1.12] > org.netbeans.modules.j2ee.persistenceapi/1 [1.48.0.1] > org.netbeans.api.progress.nb [1.60] > org.netbeans.modules.db.sql.visualeditor/1 [2.43.0.30] > org.eclipse.mylyn.tasks.core [3.17.0] > org.netbeans.modules.php.composer/0 [0.42] > org.netbeans.modules.j2ee.jpa.refactoring [1.43] > org.netbeans.modules.classfile/1 [1.64] > org.netbeans.modules.masterfs.linux [1.25] > org.netbeans.modules.lsp.client/0 [1.11.0.1.1] > org.netbeans.modules.keyring.impl [1.36] > org.netbeans.modules.java.project/1 [1.84] > org.netbeans.core.browser.webview/1 [1.27.0.1.1] > org.netbeans.modules.j2ee.api.ejbmodule [1.49] > org.netbeans.modules.maven.indexer/2 [2.52] > org.netbeans.modules.tasklist.kit [1.40] > org.netbeans.modules.java.source.nbjavac [1.12.0.1.3.25.5.1] > org.netbeans.modules.java.source.ant
[jira] [Assigned] (NETBEANS-6001) Yaml parser eats memory up to 100% in case of syntax errors
[ https://issues.apache.org/jira/browse/NETBEANS-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi reassigned NETBEANS-6001: - Assignee: Laszlo Kishalmi > Yaml parser eats memory up to 100% in case of syntax errors > --- > > Key: NETBEANS-6001 > URL: https://issues.apache.org/jira/browse/NETBEANS-6001 > Project: NetBeans > Issue Type: Bug > Components: yaml - Editor >Affects Versions: 12.4 > Environment: Netbeans 12.4 > Java jdk-16.0.1+9 from AdoptOpenJDK > Ubuntu 20.04 > Both Netbeans and the JDK installed from their respective websites, not the > Ubuntu packet manager > > >Reporter: Guntram Blohm >Assignee: Laszlo Kishalmi >Priority: Major > > When editing a YAML file, if there is a syntax error, netbeans eats up memory > until it reaches 100% of what it's assigned, at which point garbage > collection will use all CPU resources and netbeans becomes unresponsive. > To reproduce: > Create a new empty YAML file in any project > Enter the following text into the file: > {{some key:}} > {{ some value: "this is the value"}} > > At this point, watch the widget that shows Netbeans' memory consumption, it > increases rapidly, until it reaches 100%. At this point, Java spends 99% of > its time in garbage collection, Netbeans becomes unresponsive (and if the > Java parameters permit using all cores, the system becomes sluggish as well). > > Closing/correcting the yaml file at that point doesn't help. This does/did > not happen in Netbeans 12.3. > > I attached JProfiler to the JVM that was running netbeans and could confirm > the memory usage increase starting right after entering the invalid yaml. > Taking a heap dump showed 56 million instances of > `org.netbeans.modules.csl.spi.DefaultError`, as well as 56 million > `java.lang.String`s. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6018) it cannot open file
[ https://issues.apache.org/jira/browse/NETBEANS-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6018. --- Resolution: Information Provided > it cannot open file > > > Key: NETBEANS-6018 > URL: https://issues.apache.org/jira/browse/NETBEANS-6018 > Project: NetBeans > Issue Type: Bug >Reporter: youssef mohammed tawfik >Priority: Blocker > > -->Log > Session: Friday, September 17, 2021 at 10:28:21 PM Eastern European Standard > Time>System Info: Product Version = Apache NetBeans IDE 12.0 > Operating System = Windows 10 version 10.0 running on amd64 Java; VM; > Vendor = 17; Java HotSpot(TM) 64-Bit Server VM 17+35-LTS-2724; Oracle > Corporation Runtime = Java(TM) SE Runtime Environment > 17+35-LTS-2724 Java Home = C:\Program Files\Java\jdk-17 > System Locale; Encoding = en_US (nb); Cp1252 Home Directory = > C:\Users\wael Current Directory = C:\netbeans\bin User Directory > = C:\Users\wael\AppData\Roaming\NetBeans\12.0 Cache Directory = > C:\Users\wael\AppData\Local\NetBeans\Cache\12.0 Installation = > C:\netbeans\nb C:\netbeans\ergonomics > C:\netbeans\ide C:\netbeans\extide > C:\netbeans\java > C:\netbeans\apisupport C:\netbeans\webcommon > C:\netbeans\websvccommon > C:\netbeans\enterprise C:\netbeans\profiler > C:\netbeans\php > C:\netbeans\harness C:\netbeans\groovy > C:\netbeans\javafx > C:\netbeans\platform Boot & Ext. Classpath = Application Classpath = > C:\netbeans\platform\lib\boot.jar;C:\netbeans\platform\lib\org-openide-modules.jar;C:\netbeans\platform\lib\org-openide-util-lookup.jar;C:\netbeans\platform\lib\org-openide-util-ui.jar;C:\netbeans\platform\lib\org-openide-util.jar > Startup Classpath = > C:\netbeans\platform\core\asm-7.2.jar;C:\netbeans\platform\core\asm-commons-7.2.jar;C:\netbeans\platform\core\asm-tree-7.2.jar;C:\netbeans\platform\core\core-base.jar;C:\netbeans\platform\core\core.jar;C:\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\netbeans\platform\core\org-openide-filesystems.jar;C:\netbeans\nb\core\org-netbeans-upgrader.jar;C:\netbeans\nb\core\locale\core_nb.jar---WARNING > [org.netbeans.core.startup.NbEvents]: The extension > C:\netbeans\ide\modules\ext\jcodings-1.0.18.jar may be multiply loaded by > modules: [C:\netbeans\ide\modules\org-netbeans-libs-bytelist.jar, > C:\netbeans\ide\modules\org-netbeans-modules-textmate-lexer.jar]; see: > http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-pathINFO > [org.netbeans.modules.netbinox]: Install area set to > file:/C:/netbeans/WARNING [org.netbeans.core.modules]: the modules > [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use > org.netbeans.modules.editor.deprecated.pre65formatting which is > deprecated.WARNING [org.netbeans.core.modules]: the modules > [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use > org.netbeans.modules.editor.structure which is deprecated.WARNING > [org.netbeans.core.modules]: the modules [org.netbeans.modules.ant.hints, > org.netbeans.modules.java.hints, org.netbeans.modules.jshell.support, > org.netbeans.modules.maven.hints] use > org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java > Hints SPI (org.netbeans.spi.java.hints) instead.WARNING > [org.openide.filesystems.Ordering]: Not all children in Services/ marked with > the position attribute: [AntBasedProjectTypes, AutoupdateType, Browsers, > Bugtracking, DiffProviders, Hidden, IndentEngine, Introspector, J2EEServers, > JavaHelp, MIMEResolver, OptionProcessors, Platforms, ProjectConvertors, > PropertyEditorManager, VersioningSystem, > org-netbeans-modules-debugger-Settings.properties, > org-netbeans-modules-junit-ant-ui-AntJUnitManagerProvider.instance, > org-netbeans-modules-junit-ant-ui-AntJUnitNodeOpener.instance, > org-netbeans-modules-maven-junit-ui-MavenJUnitManagerProvider.instance, > org-netbeans-modules-maven-junit-ui-MavenJUnitNodeOpener.instance, >
[jira] [Commented] (NETBEANS-6004) Gradle plugin should identify the gradle versions that it supports.
[ https://issues.apache.org/jira/browse/NETBEANS-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421920#comment-17421920 ] Laszlo Kishalmi commented on NETBEANS-6004: --- Yes, there could be more information on those checks. Though try to run NetBeans on JDK 15 or lower. JDK 16 forces NetBeans to use Gradle 7.0 > Gradle plugin should identify the gradle versions that it supports. > --- > > Key: NETBEANS-6004 > URL: https://issues.apache.org/jira/browse/NETBEANS-6004 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 12.4, 12.5 >Reporter: Mark Flacy >Assignee: Laszlo Kishalmi >Priority: Major > > I have had issues opening gradle projects at work whose gradle versions > differed wildly between 2.10 and 6.9. I would like to be able to examine the > gradle plugin's description to see what versions of gradle the plugin > actually supports. > > None of my company's projects are at a gradle version greater than or equal > to 7.0. However, every time I attempt to build I always get an error > message telling me > _Could not run build action using connection to Gradle installation > '/Users/me/.gradle/wrapper/dists/gradle-7.0-bin//gradle-7.0_ > > Maybe the message is misleading. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6005) Deleting a gradle project in Netbeans should NEVER remove build.gradle or settings.gradle unless you choose to delete all sources.
[ https://issues.apache.org/jira/browse/NETBEANS-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6005. --- Resolution: Won't Fix Probably you shall not delete those projects then. Just close them, they would be fine. For NetBeans a folder with settings.gradle (and build.gradle) is the Gradle project. > Deleting a gradle project in Netbeans should NEVER remove build.gradle or > settings.gradle unless you choose to delete all sources. > -- > > Key: NETBEANS-6005 > URL: https://issues.apache.org/jira/browse/NETBEANS-6005 > Project: NetBeans > Issue Type: Improvement >Affects Versions: 12.4, 12.5 >Reporter: Mark Flacy >Priority: Critical > > Netbeans doesn't own gradle projects. Don't do this. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6008) Update FlatLAF to 1.6 as 1.4 has several regressions
[ https://issues.apache.org/jira/browse/NETBEANS-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-6008: -- Issue Type: Improvement (was: Bug) > Update FlatLAF to 1.6 as 1.4 has several regressions > > > Key: NETBEANS-6008 > URL: https://issues.apache.org/jira/browse/NETBEANS-6008 > Project: NetBeans > Issue Type: Improvement > Components: FlatLaf >Affects Versions: 12.5 >Reporter: Markus Sunela >Priority: Major > > The current FlatLaf version, 1.4, has several regressions compared to the old > 1.1.2. For example [https://github.com/JFormDesigner/FlatLaf/issues/371] > causes severe problems in our software built on NetBeans platform. > FlatLaf has just released a new version 1.6 that addresses many regressions. > The new version should be used in NetBeans: > [https://github.com/JFormDesigner/FlatLaf/releases/tag/1.6|https://github.com/JFormDesigner/FlatLaf/releases/tag/1.6.]. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6017) IDE alerts of new version available even if it is not released yet
[ https://issues.apache.org/jira/browse/NETBEANS-6017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6017. --- Resolution: Information Provided > IDE alerts of new version available even if it is not released yet > -- > > Key: NETBEANS-6017 > URL: https://issues.apache.org/jira/browse/NETBEANS-6017 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.4 > Environment: Win10 64bit >Reporter: Nikolai Neff >Priority: Minor > Attachments: info.PNG > > > I just got an info popping up informing me of the availability of Netbeans > 12.5 with a link to [https://netbeans.apache.org/download/index.html] > As far as I can tell this version has not been released yet, even if the > due-date on the wiki has since passed. > The last version I can find on GitHub is Beta 3, the homepage still mentions > 12.4 as the current release and there is no Blog-Post or other announcement > featuring 12.5. > So where is my Netbeans getting the Info that 12.5 has been released from? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6024) Exception when starting NB 12.4 with OpenJDK17
[ https://issues.apache.org/jira/browse/NETBEANS-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6024. --- Resolution: Information Provided > Exception when starting NB 12.4 with OpenJDK17 > -- > > Key: NETBEANS-6024 > URL: https://issues.apache.org/jira/browse/NETBEANS-6024 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 12.4 >Reporter: hantsy bai >Priority: Major > > Switch to OpenJDK 17 and start NetBeans IDE, it threw exceptions every time. > ``` > ava.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, > java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) > at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) > at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) > at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) > at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) > at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:869) > [catch] at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:188) > at > org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > at >
[jira] [Resolved] (NETBEANS-6034) Consistently get this error with Java 17
[ https://issues.apache.org/jira/browse/NETBEANS-6034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6034. --- Resolution: Information Provided > Consistently get this error with Java 17 > > > Key: NETBEANS-6034 > URL: https://issues.apache.org/jira/browse/NETBEANS-6034 > Project: NetBeans > Issue Type: Bug >Reporter: Abraham Tehrani >Priority: Major > > java.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, > java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)' > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55) > at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73) > at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70) > at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149) > at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112) > at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190) > at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992) > at > org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:510) > at > org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:139) > 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 > org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > 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) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6035) Can't create simple Java application
[ https://issues.apache.org/jira/browse/NETBEANS-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6035. --- Resolution: Information Provided > Can't create simple Java application > > > Key: NETBEANS-6035 > URL: https://issues.apache.org/jira/browse/NETBEANS-6035 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.4 >Reporter: Claudi >Priority: Major > > I wanted to try Netbeans for Java development and just tried to create a new > Java project with File > New Project > Java with Ant > Java Application. > After I closed the wizard, it did nothing but creating an incomplete project > directory tree, and a exception below was raised (as a side note, attempting > to use Maven also fails by raising a different exception; don't know if it > could be related): > *EDIT: I'm using jdk-16.0.1* > {color:#ff}{{SEVERE [org.openide.util.RequestProcessor]: Error in > RequestProcessor org.openide.WizardDescriptor$Listener$2$1SEVERE > [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.openide.WizardDescriptor$Listener$2$1java.lang.ClassNotFoundException: > com.sun.tools.javac.code.Symbol starting from > ModuleCL@2e69087c[org.netbeans.modules.java.source.base] with possible > defining loaders null and declared parents > [ModuleCL@707fb083[org.netbeans.modules.editor.indent], > ModuleCL@4e40126[org.netbeans.modules.editor.util], > ModuleCL@140d412f[org.netbeans.lib.nbjavac], > ModuleCL@7f8e3b83[org.netbeans.modules.java.lexer], > org.netbeans.MainImpl$BootClassLoader@6e8cf4c6, > ModuleCL@4ab2142e[org.netbeans.modules.editor.settings], > ModuleCL@12c7fde0[org.netbeans.modules.projectuiapi.base], > ModuleCL@5043c19f[org.netbeans.modules.java.platform], > ModuleCL@3fe95cd0[org.netbeans.modules.editor.guards], > org.netbeans.JarClassLoader@5997321a, ...20 more] at > org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:215) at > org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at > java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)Caused: > java.lang.NoClassDefFoundError: com/sun/tools/javac/code/Symbol at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$getModulesByName$22(ModuleClassPaths.java:1134) > at > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) > at > java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) > at > java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) > at > java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) > at > java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) > at > java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) > at > java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) > at > java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) > at > java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getModulesByName(ModuleClassPaths.java:1133) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:746) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > at > org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:1343) > at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:342) > at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334) > at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:267) > at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.propertyChange(MuxClassPathImplementation.java:127) > at > org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) > at > java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:342) > at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334) > at > java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:267) > at >
[jira] [Resolved] (NETBEANS-6042) JDK 17 project fails to run
[ https://issues.apache.org/jira/browse/NETBEANS-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6042. --- Resolution: Information Provided > JDK 17 project fails to run > --- > > Key: NETBEANS-6042 > URL: https://issues.apache.org/jira/browse/NETBEANS-6042 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 12.5 >Reporter: Vano Beridze >Priority: Blocker > > # Run NetBeans with Oracle JDK 17 > # Create Java Maven Project > # Create Main class with main method that prints something > # Run project from IDE > # NetBeans fails to compile the program with the following output > Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project myproject: Fatal error compiling: error: invalid target release: > 17 -> [Help 1] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6042) JDK 17 project fails to run
[ https://issues.apache.org/jira/browse/NETBEANS-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421914#comment-17421914 ] Laszlo Kishalmi commented on NETBEANS-6042: --- NetBeans does not have full Java 17 support. Java 17 just reached GA a few days before NB 12.5 came out. Also it maybe the maven compiler plugin need a version bump to support java 17. > JDK 17 project fails to run > --- > > Key: NETBEANS-6042 > URL: https://issues.apache.org/jira/browse/NETBEANS-6042 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 12.5 >Reporter: Vano Beridze >Priority: Blocker > > # Run NetBeans with Oracle JDK 17 > # Create Java Maven Project > # Create Main class with main method that prints something > # Run project from IDE > # NetBeans fails to compile the program with the following output > Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project myproject: Fatal error compiling: error: invalid target release: > 17 -> [Help 1] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-971) Can't open tools/options
[ https://issues.apache.org/jira/browse/NETBEANS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421911#comment-17421911 ] Laszlo Kishalmi commented on NETBEANS-971: -- [~jeff_g...@yahoo.com] This issue is closed. File a new one with more information on your case! > Can't open tools/options > > > Key: NETBEANS-971 > URL: https://issues.apache.org/jira/browse/NETBEANS-971 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Affects Versions: 8.2 > Environment: Product Version: NetBeans IDE 8.2 (Build 201609300101) > Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10 > Runtime: Java(TM) SE Runtime Environment 10.0.1+10 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb) > User directory: C:\Users\bob\AppData\Roaming\NetBeans\8.2 > Cache directory: C:\Users\bob\AppData\Local\NetBeans\Cache\8.2 >Reporter: Bob Findlay >Priority: Blocker > Attachments: netbeans.log > > > If I select tools config I get no window appear. On another computer I've > installed the same version of netbeans and it works fine. > I didn't have an api.properties so I tried creating one in > C:\Users\bob\AppData\Roaming\NetBeans\8.2\config\Preferences\org\netbeans\modules\options > containing > > OptionsHeight = 500 > OptionsWidth = 871 > OptionsX = 100 > OptionsY = 117 > > but it didn't help > log file attached -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-6057) Missing automatic import function of my configuration after update from version 12.4 to version 12.5 (OS Ubuntu)
[ https://issues.apache.org/jira/browse/NETBEANS-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-6057. --- Resolution: Information Provided > Missing automatic import function of my configuration after update from > version 12.4 to version 12.5 (OS Ubuntu) > > > Key: NETBEANS-6057 > URL: https://issues.apache.org/jira/browse/NETBEANS-6057 > Project: NetBeans > Issue Type: Bug > Components: ide - Welcome >Affects Versions: 12.5 >Reporter: Thomas Kirsch >Priority: Major > > After updating from version 12.4 to 12.5 the complete configuration of 12.4 > disappeared. When opening the new version for the first time, the usual > question if all settings should be taken over from the previous version did > not appear. The list of remote connections is empty. All passwords are gone. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6072) Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
[ https://issues.apache.org/jira/browse/NETBEANS-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421909#comment-17421909 ] Laszlo Kishalmi commented on NETBEANS-6072: --- What is the JDK you are running NetBeans on. If it is Java 16, then NetBeans has to use Gradle 7, otherwise it cannot evaluate the project. > Can't load/reload Gradle project, NB always attempts to download Gradle 7.0 > --- > > Key: NETBEANS-6072 > URL: https://issues.apache.org/jira/browse/NETBEANS-6072 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 >Reporter: Paul Gifford >Priority: Major > > *Environment*: I develop on a computer that has never been and will never be > connected to the Internet. > When loading a Gradle project I get a notification stating "Cannot load > (specific project path)" with detail "Could not install Gradle distribution > from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get > the same message when I try to reload the project. > I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the > path to my local Gradle 6.8.3 installation). The panel at Tools | Options | > Java | Gradle has the correct Gradle User Home. "Gradle Distribution: > Custom" is checked and the path is that of my local Gradle installation. No > other boxes in the "Execution" category are checked. > Every class appears to have errors and my code is littered with red > underlines due to "cannot find symbol" errors. NB 12.5 is unusable because > of this. I can compile my project but the errors remain. > This did not occur with NB 12.4. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice
[ https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vlad Palnik closed NETBEANS-5143. - Fix Version/s: 12.5 Resolution: Fixed This fix takes care of the bug, Gaurav Thanks. > NetBeans 12.2, 12.3, 12.4 deploys webapps twice > --- > > Key: NETBEANS-5143 > URL: https://issues.apache.org/jira/browse/NETBEANS-5143 > Project: NetBeans > Issue Type: Bug > Components: core >Affects Versions: 12.2, 12.3, 12.4 > Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM > java: build 11.0.9.1+1, maven 3.6.3 > Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are > effected) > Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi) >Reporter: Vlad Palnik >Assignee: Gaurav Gupta >Priority: Major > Labels: pull-request-available, webapp, webapp-deployment > Fix For: 12.5 > > Time Spent: 20m > Remaining Estimate: 0h > > To whomever it concerns, > > Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the > deployment of web apps somehow and web apps are deployed twice. > > While deploying an app it follows this pattern: deploy => undeploy => deploy > (see build log below). I tried solving this issue by undeployed any previous > versions of the app manually and restarted Tomcat, the same error occurs. The > issue appears when using NB 12.2/12.3/12.4. > > When tested on NetBeans 12.1 using the same Java/Tomcat installation/config > no errors occur and deployment proceeds correctly. > > Steps to replicate: > 1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1 > 2 Set Tomcat Server in Properties > Run > 3 Clean -> Run project in 12.1, you will get a "Hello World" basic site. > 4. Check build log, only a single deploy should show up. > 5 Close 12.1 and open same project in 12.2/12.3/12.4 > 6 Before run make sure same server and java versions are selected > 7 Clean -> Run project > 8 Check build log, you will see two deploys of webapp > > > BUILD SUCCESS > > Total time: 18.211 s > Finished at: 2020-12-11T17:27:08-08:00 > > Deploying on Tomcat 8.5.60 > profile mode: false > debug mode: false > force redeploy: true > Starting Tomcat process... > Waiting for Tomcat... > Tomcat server started. > In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 > Deployment is in progress... > > deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext6407158500266578550.xml=/myapp > OK - Deployed application at context path [/myapp] > Start is in progress... > start?path=/myapp > OK - Started application at context path [/myapp] > Deploying on Tomcat 8.5.60 > profile mode: false > debug mode: false > force redeploy: true > Undeploying ... > undeploy?path=/myapp > OK - Undeployed application at context path [/myapp] > In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 > Deployment is in progress... > > deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext3519987589623367889.xml=/myapp > OK - Deployed application at context path [/myapp] > Start is in progress... > start?path=/myapp > OK - Started application at context path [/myapp] > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421792#comment-17421792 ] Mike commented on NETBEANS-6068: Yep. Looks the same error to me. Seems totally broken in 12.5. Can't do anything. > Groovy broken in 12.5 > - > > Key: NETBEANS-6068 > URL: https://issues.apache.org/jira/browse/NETBEANS-6068 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 > Environment: Windows 10 > JDK 17 > >Reporter: Mike >Priority: Major > > Easy to replicate. > On a clean install of NB 12.5 using numerous JDK versions. > Install JDK > Install NB 12.5 > Enable Groovy plugin > Create new project > Create 'demo' package space in project > Create new template groovy script in package. > * Fails to create file * > encoding="UTF-8"?> settings 1.0//EN" > "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd;> version="1.0"> class="org.netbeans.modules.jshell.editor.ConsoleEditor"/>ALL > [null]: Class: class org.netbeans.modules.jshell.editor.ConsoleEditorALL > [null]: Source: > MultiFileObject@634c9c14[Windows2Local/Components/JShellEditor.settings]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving > dependencies took: 4 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 31 binary roots took: 3,452 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\test took: 2 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\src took: 215 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 2 source roots took: 217 ms (New or modified files: 0, Deleted > files: 0) [Adding listeners took: 0 ms]SEVERE > [global]java.lang.IllegalArgumentException: No folders selected at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:95) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:74) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:49) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.createPanels(AbstractFileWizard.java:99) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.initialize(AbstractFileWizard.java:71) > at > org.netbeans.modules.groovy.support.wizard.AbstractGroovyWizard.initialize(AbstractGroovyWizard.java:61) > > If you click through the error if creates the template script. However, > trying to run the file give this error; > > ant -f C:\\Temp\\g4 -Djavac.includes=demo/newGroovyScript.groovy > -Drun.class=demo.newGroovyScript run-single > init: > Deleting: C:\Temp\g4\build\built-jar.properties > deps-jar: > Updating property file: C:\Temp\g4\build\built-jar.properties > compile-single: > run-single: > Error: Could not find or load main class demo.newGroovyScript > Caused by: java.lang.ClassNotFoundException: demo.newGroovyScript > C:\Temp\g4\nbproject\build-impl.xml:1341: The following error occurred while > executing this line: > C:\Temp\g4\nbproject\build-impl.xml:936: Java returned: 1 > BUILD FAILED (total time: 0 seconds) > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421791#comment-17421791 ] Benjamin Asbach commented on NETBEANS-6068: --- I tried to reproduce this problem (NetBeans 12.5, OpenJDK16, Linux) but, already fail to create a new groovy script: {noformat} java.lang.IllegalArgumentException: No folders selected at org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:95) at org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:74) at org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:49) at org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.createPanels(AbstractFileWizard.java:99) at org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.initialize(AbstractFileWizard.java:71) at org.netbeans.modules.groovy.support.wizard.AbstractGroovyWizard.initialize(AbstractGroovyWizard.java:61) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1040) at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:79) at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:54) at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:187) at org.openide.loaders.TemplateWizard$1.run(TemplateWizard.java:209) at org.openide.loaders.TemplateWizard$1.run(TemplateWizard.java:206) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:123) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:77) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71) at org.openide.util.Mutex.readAccess(Mutex.java:199) at org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:206) at org.netbeans.modules.project.ui.TemplateChooserPanel.storeSettings(TemplateChooserPanel.java:147) at org.netbeans.modules.project.ui.TemplateChooserPanel.storeSettings(TemplateChooserPanel.java:47) at org.openide.WizardDescriptor.storeSettingsAndNotify(WizardDescriptor.java:1367) at org.openide.WizardDescriptor.access$1800(WizardDescriptor.java:67) at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:2179) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1492) at org.openide.WizardDescriptor.access$2000(WizardDescriptor.java:67) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2203) at java.base/jdk.internal.reflect.GeneratedMethodAccessor125.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462) at jdk.proxy4/jdk.proxy4.$Proxy57.actionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:354) at org.openide.WizardDescriptor.doNextClick(WizardDescriptor.java:1633) at org.netbeans.modules.project.ui.TemplateChooserPanel$1.actionPerformed(TemplateChooserPanel.java:74) at org.netbeans.modules.project.ui.TemplateChooserPanelGUI$FileChooserBuilder.actionPerformed(TemplateChooserPanelGUI.java:442) at org.openide.explorer.view.ListView.performObjectAt(ListView.java:659) at org.openide.explorer.view.ListView$PopupSupport.mouseClicked(ListView.java:1306) at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6620) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6382) at java.desktop/java.awt.Container.processEvent(Container.java:2264) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993) at
[jira] [Comment Edited] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421789#comment-17421789 ] Mike edited comment on NETBEANS-6068 at 9/28/21, 8:59 PM: -- Java Application, both Ant & Maven. Both fail. Clean install with NB 11 doing same things works. Issue only with 12.5 was (Author: klomper74): Java Application, both Ant & Maven. Both fail. > Groovy broken in 12.5 > - > > Key: NETBEANS-6068 > URL: https://issues.apache.org/jira/browse/NETBEANS-6068 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 > Environment: Windows 10 > JDK 17 > >Reporter: Mike >Priority: Major > > Easy to replicate. > On a clean install of NB 12.5 using numerous JDK versions. > Install JDK > Install NB 12.5 > Enable Groovy plugin > Create new project > Create 'demo' package space in project > Create new template groovy script in package. > * Fails to create file * > encoding="UTF-8"?> settings 1.0//EN" > "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd;> version="1.0"> class="org.netbeans.modules.jshell.editor.ConsoleEditor"/>ALL > [null]: Class: class org.netbeans.modules.jshell.editor.ConsoleEditorALL > [null]: Source: > MultiFileObject@634c9c14[Windows2Local/Components/JShellEditor.settings]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving > dependencies took: 4 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 31 binary roots took: 3,452 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\test took: 2 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\src took: 215 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 2 source roots took: 217 ms (New or modified files: 0, Deleted > files: 0) [Adding listeners took: 0 ms]SEVERE > [global]java.lang.IllegalArgumentException: No folders selected at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:95) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:74) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:49) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.createPanels(AbstractFileWizard.java:99) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.initialize(AbstractFileWizard.java:71) > at > org.netbeans.modules.groovy.support.wizard.AbstractGroovyWizard.initialize(AbstractGroovyWizard.java:61) > > If you click through the error if creates the template script. However, > trying to run the file give this error; > > ant -f C:\\Temp\\g4 -Djavac.includes=demo/newGroovyScript.groovy > -Drun.class=demo.newGroovyScript run-single > init: > Deleting: C:\Temp\g4\build\built-jar.properties > deps-jar: > Updating property file: C:\Temp\g4\build\built-jar.properties > compile-single: > run-single: > Error: Could not find or load main class demo.newGroovyScript > Caused by: java.lang.ClassNotFoundException: demo.newGroovyScript > C:\Temp\g4\nbproject\build-impl.xml:1341: The following error occurred while > executing this line: > C:\Temp\g4\nbproject\build-impl.xml:936: Java returned: 1 > BUILD FAILED (total time: 0 seconds) > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421789#comment-17421789 ] Mike commented on NETBEANS-6068: Java Application, both Ant & Maven. Both fail. > Groovy broken in 12.5 > - > > Key: NETBEANS-6068 > URL: https://issues.apache.org/jira/browse/NETBEANS-6068 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 > Environment: Windows 10 > JDK 17 > >Reporter: Mike >Priority: Major > > Easy to replicate. > On a clean install of NB 12.5 using numerous JDK versions. > Install JDK > Install NB 12.5 > Enable Groovy plugin > Create new project > Create 'demo' package space in project > Create new template groovy script in package. > * Fails to create file * > encoding="UTF-8"?> settings 1.0//EN" > "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd;> version="1.0"> class="org.netbeans.modules.jshell.editor.ConsoleEditor"/>ALL > [null]: Class: class org.netbeans.modules.jshell.editor.ConsoleEditorALL > [null]: Source: > MultiFileObject@634c9c14[Windows2Local/Components/JShellEditor.settings]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving > dependencies took: 4 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 31 binary roots took: 3,452 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\test took: 2 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\src took: 215 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 2 source roots took: 217 ms (New or modified files: 0, Deleted > files: 0) [Adding listeners took: 0 ms]SEVERE > [global]java.lang.IllegalArgumentException: No folders selected at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:95) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:74) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:49) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.createPanels(AbstractFileWizard.java:99) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.initialize(AbstractFileWizard.java:71) > at > org.netbeans.modules.groovy.support.wizard.AbstractGroovyWizard.initialize(AbstractGroovyWizard.java:61) > > If you click through the error if creates the template script. However, > trying to run the file give this error; > > ant -f C:\\Temp\\g4 -Djavac.includes=demo/newGroovyScript.groovy > -Drun.class=demo.newGroovyScript run-single > init: > Deleting: C:\Temp\g4\build\built-jar.properties > deps-jar: > Updating property file: C:\Temp\g4\build\built-jar.properties > compile-single: > run-single: > Error: Could not find or load main class demo.newGroovyScript > Caused by: java.lang.ClassNotFoundException: demo.newGroovyScript > C:\Temp\g4\nbproject\build-impl.xml:1341: The following error occurred while > executing this line: > C:\Temp\g4\nbproject\build-impl.xml:936: Java returned: 1 > BUILD FAILED (total time: 0 seconds) > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5956) Wildcard certificate of *.apache.org not accepted by IDE TrustManager for use in pom.xml
[ https://issues.apache.org/jira/browse/NETBEANS-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Asbach updated NETBEANS-5956: -- Affects Version/s: 12.5 > Wildcard certificate of *.apache.org not accepted by IDE TrustManager for use > in pom.xml > > > Key: NETBEANS-5956 > URL: https://issues.apache.org/jira/browse/NETBEANS-5956 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion Templates >Affects Versions: 12.4, 12.5 >Reporter: Ronny Perinke >Priority: Major > Fix For: 12.5 > > Attachments: image-2021-08-27-20-52-46-248.png > > > If you have a Maven project and open a pom.xml with xsi:schemalocation set, > you will get an error from the IDE that the certificate of "*.apache.org" > could not be verified. This seems to be an issue with the new wildcard cert. > The certificate is accepted by the JRE trust-store as a quick check with > jshell reveals. > !image-2021-08-27-20-52-46-248.png! > If you do not accept the certificate and the two from certificate chain, you > lose auto-completion and schema validation for the pom. > messages.log says > {code:title=messages.log} > INFO [org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl]: The > certificate is not trusted by IDE TrustManager > java.security.cert.CertificateException: The certificate is not trusted by > IDE TrustManager > at > org.netbeans.modules.xml.retriever.impl.SecureURLResourceRetriever$1.checkServerTrusted(SecureURLResourceRetriever.java:114) > at > java.base/sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1442) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341) > Caused: javax.net.ssl.SSLHandshakeException: The certificate is not trusted > by IDE TrustManager > at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:369) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) > at > java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396) > at > java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480) > at > java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458) > at > java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:199) > at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) > at > java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) > at > java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1416) > at > java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:451) > at > java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:422) > at > java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:574) > at > java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183) > at > java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) > at > org.netbeans.modules.xml.retriever.impl.URLResourceRetriever.getInputStreamOfURL(URLResourceRetriever.java:144) > at > org.netbeans.modules.xml.retriever.impl.SecureURLResourceRetriever.retrieveDocument(SecureURLResourceRetriever.java:74) > [catch] at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:263) > at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.doGetModelSource(CatalogModelImpl.java:244) > at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:167) > at > org.netbeans.modules.xml.schema.completion.util.DefaultModelProvider.getCompletionModel(DefaultModelProvider.java:102) > at > org.netbeans.modules.xml.schema.completion.util.DefaultModelProvider.getModels(DefaultModelProvider.java:62) > at >
[jira] [Commented] (NETBEANS-5956) Wildcard certificate of *.apache.org not accepted by IDE TrustManager for use in pom.xml
[ https://issues.apache.org/jira/browse/NETBEANS-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421786#comment-17421786 ] Benjamin Asbach commented on NETBEANS-5956: --- Still a problem in 12.5. > Wildcard certificate of *.apache.org not accepted by IDE TrustManager for use > in pom.xml > > > Key: NETBEANS-5956 > URL: https://issues.apache.org/jira/browse/NETBEANS-5956 > Project: NetBeans > Issue Type: Bug > Components: editor - Completion Templates >Affects Versions: 12.4, 12.5 >Reporter: Ronny Perinke >Priority: Major > Fix For: 12.5 > > Attachments: image-2021-08-27-20-52-46-248.png > > > If you have a Maven project and open a pom.xml with xsi:schemalocation set, > you will get an error from the IDE that the certificate of "*.apache.org" > could not be verified. This seems to be an issue with the new wildcard cert. > The certificate is accepted by the JRE trust-store as a quick check with > jshell reveals. > !image-2021-08-27-20-52-46-248.png! > If you do not accept the certificate and the two from certificate chain, you > lose auto-completion and schema validation for the pom. > messages.log says > {code:title=messages.log} > INFO [org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl]: The > certificate is not trusted by IDE TrustManager > java.security.cert.CertificateException: The certificate is not trusted by > IDE TrustManager > at > org.netbeans.modules.xml.retriever.impl.SecureURLResourceRetriever$1.checkServerTrusted(SecureURLResourceRetriever.java:114) > at > java.base/sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1442) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341) > Caused: javax.net.ssl.SSLHandshakeException: The certificate is not trusted > by IDE TrustManager > at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:369) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312) > at > java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) > at > java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) > at > java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396) > at > java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480) > at > java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458) > at > java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:199) > at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) > at > java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506) > at > java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1416) > at > java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:451) > at > java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:422) > at > java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:574) > at > java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183) > at > java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) > at > org.netbeans.modules.xml.retriever.impl.URLResourceRetriever.getInputStreamOfURL(URLResourceRetriever.java:144) > at > org.netbeans.modules.xml.retriever.impl.SecureURLResourceRetriever.retrieveDocument(SecureURLResourceRetriever.java:74) > [catch] at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:263) > at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.doGetModelSource(CatalogModelImpl.java:244) > at > org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:167) > at > org.netbeans.modules.xml.schema.completion.util.DefaultModelProvider.getCompletionModel(DefaultModelProvider.java:102) > at > org.netbeans.modules.xml.schema.completion.util.DefaultModelProvider.getModels(DefaultModelProvider.java:62) > at >
[jira] [Created] (NETBEANS-6075) Groovy loads user classes into JVM on each completion
Svatopluk Dedic created NETBEANS-6075: - Summary: Groovy loads user classes into JVM on each completion Key: NETBEANS-6075 URL: https://issues.apache.org/jira/browse/NETBEANS-6075 Project: NetBeans Issue Type: Bug Components: groovy - Editor Affects Versions: 12.5 Reporter: Svatopluk Dedic Groovy Editor's *MetaElementsProvider* uses *GroovyClassLoader.loadClass*, which in turn *compiles* and loads a .groovy file into JVM. The class is then introspected, which is likely to trigger all JVM lazy-run stuff, as class initializer, potentially executing something in the IDE's JVM. The bad thing is that Groovy's MetaClass registry is a runtime implementation centered around j.l.Class type. There's only a little chance to reuse _anything_ from Groovy's implementation. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421782#comment-17421782 ] Benjamin Asbach commented on NETBEANS-6068: --- {quote}Create new project {quote} Which project type you're using? > Groovy broken in 12.5 > - > > Key: NETBEANS-6068 > URL: https://issues.apache.org/jira/browse/NETBEANS-6068 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 > Environment: Windows 10 > JDK 17 > >Reporter: Mike >Priority: Major > > Easy to replicate. > On a clean install of NB 12.5 using numerous JDK versions. > Install JDK > Install NB 12.5 > Enable Groovy plugin > Create new project > Create 'demo' package space in project > Create new template groovy script in package. > * Fails to create file * > encoding="UTF-8"?> settings 1.0//EN" > "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd;> version="1.0"> class="org.netbeans.modules.jshell.editor.ConsoleEditor"/>ALL > [null]: Class: class org.netbeans.modules.jshell.editor.ConsoleEditorALL > [null]: Source: > MultiFileObject@634c9c14[Windows2Local/Components/JShellEditor.settings]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving > dependencies took: 4 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 31 binary roots took: 3,452 msINFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\test took: 2 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: > C:\Temp\g4\src took: 215 ms (New or modified files: 0, Deleted files: 0) > [Adding listeners took: 0 ms]INFO > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete > indexing of 2 source roots took: 217 ms (New or modified files: 0, Deleted > files: 0) [Adding listeners took: 0 ms]SEVERE > [global]java.lang.IllegalArgumentException: No folders selected at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:95) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:74) > at > org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createPackageChooser(JavaTemplates.java:49) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.createPanels(AbstractFileWizard.java:99) > at > org.netbeans.modules.groovy.support.wizard.AbstractFileWizard.initialize(AbstractFileWizard.java:71) > at > org.netbeans.modules.groovy.support.wizard.AbstractGroovyWizard.initialize(AbstractGroovyWizard.java:61) > > If you click through the error if creates the template script. However, > trying to run the file give this error; > > ant -f C:\\Temp\\g4 -Djavac.includes=demo/newGroovyScript.groovy > -Drun.class=demo.newGroovyScript run-single > init: > Deleting: C:\Temp\g4\build\built-jar.properties > deps-jar: > Updating property file: C:\Temp\g4\build\built-jar.properties > compile-single: > run-single: > Error: Could not find or load main class demo.newGroovyScript > Caused by: java.lang.ClassNotFoundException: demo.newGroovyScript > C:\Temp\g4\nbproject\build-impl.xml:1341: The following error occurred while > executing this line: > C:\Temp\g4\nbproject\build-impl.xml:936: Java returned: 1 > BUILD FAILED (total time: 0 seconds) > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421647#comment-17421647 ] Benjamin Asbach edited comment on NETBEANS-6069 at 9/28/21, 8:04 PM: - [~homberghp] -if your project is using java 8 this behavior might be legit as per spec for java 8 properties files only support non ASCII characters when they're encoded.- -- -??except the input/output stream is encoded in ISO 8859-1 character encoding. Characters that cannot be directly represented in this encoding can be written using Unicode escapes as defined in section 3.3 of The Java™ Language Specification; only a single 'u' character is allowed in an escape sequence.??- -see [https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html]- Sorry I just saw that you're talking about a PHP project. But that might be the reason your file is converted somehow. Can you provide a test project? was (Author: asbachb): [~homberghp] if your project is using java 8 this behavior might be legit as per spec for java 8 properties files only support non ASCII characters when they're encoded. ??except the input/output stream is encoded in ISO 8859-1 character encoding. Characters that cannot be directly represented in this encoding can be written using Unicode escapes as defined in section 3.3 of The Java™ Language Specification; only a single 'u' character is allowed in an escape sequence.?? see [https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html] > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421647#comment-17421647 ] Benjamin Asbach commented on NETBEANS-6069: --- [~homberghp] if your project is using java 8 this behavior might be legit as per spec for java 8 properties files only support non ASCII characters when they're encoded. ??except the input/output stream is encoded in ISO 8859-1 character encoding. Characters that cannot be directly represented in this encoding can be written using Unicode escapes as defined in section 3.3 of The Java™ Language Specification; only a single 'u' character is allowed in an escape sequence.?? see [https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html] > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6039) Scrolling is choppy and laggy on Apple Mac Book Air M1 (at certain font size)
[ https://issues.apache.org/jira/browse/NETBEANS-6039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421628#comment-17421628 ] Pier Luigi commented on NETBEANS-6039: -- I've just verified the same behaviour in NB 12.5 > Scrolling is choppy and laggy on Apple Mac Book Air M1 (at certain font size) > - > > Key: NETBEANS-6039 > URL: https://issues.apache.org/jira/browse/NETBEANS-6039 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1, 12.2, 12.3, 12.4 > Environment: *roduct Version:* Apache NetBeans IDE 12.4 > *Java:* 11.0.11; OpenJDK 64-Bit Server VM 11.0.11+9-LTS > *Runtime:* OpenJDK Runtime Environment 11.0.11+9-LTS > *System:* Mac OS X version 11.6 running on aarch64; UTF-8; it_IT (nb) > *User directory:* /Users/picov/Library/Application Support/NetBeans/12.4 > *Cache directory:* /Users/picov/Library/Caches/NetBeans/12.4 >Reporter: Pier Luigi >Priority: Major > Labels: applesilicon, scrolling > > The scroll of source code is not smooth as it should be on a MacBook Air M1. > The keyboard navigation inside the source code using arrow keys is also > laggy. > Changing version of Java does not affect this behaviour (tested with Azul > Zulu OpenJDK builds 1.8 and 11 for ARM 64bit (aarc-64). > Check the "Open in low resolution" option of the executable does not affect > this behaviour. > UPDATE: > I've discovered that the problem seems related to font size. > In my case I use "MS Reference Sans Serif" and the laggy scroll occurs if I > set the font size equals or greater than 15. > The behaviour seems related to font family: with San Francisco Mono the lag > start at size 17 or more, with Robot Mono at 14 or more. > On my Intel Mac the scroll is fast even at higher font size. > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6074) failed at startup in background scanning of projects
[ https://issues.apache.org/jira/browse/NETBEANS-6074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421617#comment-17421617 ] Geertjan Wielenga commented on NETBEANS-6074: - But why are you using 11.3? > failed at startup in background scanning of projects > > > Key: NETBEANS-6074 > URL: https://issues.apache.org/jira/browse/NETBEANS-6074 > Project: NetBeans > Issue Type: Bug > Components: core >Affects Versions: 11.3 > Environment: see attached >Reporter: Fred Hansen >Priority: Major > Labels: Exception, background-scanning, startup > Attachments: NetNBeansFail.txt > > > the compiler was finding spurious errors so I renamed the cache from 11.3 to > broken-11.3. As expected, it took much longer to start up. When the > background scan reached 91%, it stopped. I tried to cancel and got a message > that I could not. Then I get a bug notice with the attached information. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6074) failed at startup in background scanning of projects
Fred Hansen created NETBEANS-6074: - Summary: failed at startup in background scanning of projects Key: NETBEANS-6074 URL: https://issues.apache.org/jira/browse/NETBEANS-6074 Project: NetBeans Issue Type: Bug Components: core Affects Versions: 11.3 Environment: see attached Reporter: Fred Hansen Attachments: NetNBeansFail.txt the compiler was finding spurious errors so I renamed the cache from 11.3 to broken-11.3. As expected, it took much longer to start up. When the background scan reached 91%, it stopped. I tried to cancel and got a message that I could not. Then I get a bug notice with the attached information. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6073) netbeans crashed during background scanning at start up
Fred Hansen created NETBEANS-6073: - Summary: netbeans crashed during background scanning at start up Key: NETBEANS-6073 URL: https://issues.apache.org/jira/browse/NETBEANS-6073 Project: NetBeans Issue Type: Bug Components: cnd - Other Reporter: Fred Hansen -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-971) Can't open tools/options
[ https://issues.apache.org/jira/browse/NETBEANS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421596#comment-17421596 ] jeff gaer commented on NETBEANS-971: Having the same problem with netbeans 12.4 and java 11 (openjdk) on a rhel 7.7 box. Also have no api.properties file. > Can't open tools/options > > > Key: NETBEANS-971 > URL: https://issues.apache.org/jira/browse/NETBEANS-971 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Affects Versions: 8.2 > Environment: Product Version: NetBeans IDE 8.2 (Build 201609300101) > Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10 > Runtime: Java(TM) SE Runtime Environment 10.0.1+10 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb) > User directory: C:\Users\bob\AppData\Roaming\NetBeans\8.2 > Cache directory: C:\Users\bob\AppData\Local\NetBeans\Cache\8.2 >Reporter: Bob Findlay >Priority: Blocker > Attachments: netbeans.log > > > If I select tools config I get no window appear. On another computer I've > installed the same version of netbeans and it works fine. > I didn't have an api.properties so I tried creating one in > C:\Users\bob\AppData\Roaming\NetBeans\8.2\config\Preferences\org\netbeans\modules\options > containing > > OptionsHeight = 500 > OptionsWidth = 871 > OptionsX = 100 > OptionsY = 117 > > but it didn't help > log file attached -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6072) Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
Paul Gifford created NETBEANS-6072: -- Summary: Can't load/reload Gradle project, NB always attempts to download Gradle 7.0 Key: NETBEANS-6072 URL: https://issues.apache.org/jira/browse/NETBEANS-6072 Project: NetBeans Issue Type: Bug Affects Versions: 12.5 Reporter: Paul Gifford *Environment*: I develop on a computer that has never been and will never be connected to the Internet. When loading a Gradle project I get a notification stating "Cannot load (specific project path)" with detail "Could not install Gradle distribution from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get the same message when I try to reload the project. I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the path to my local Gradle 6.8.3 installation). The panel at Tools | Options | Java | Gradle has the correct Gradle User Home. "Gradle Distribution: Custom" is checked and the path is that of my local Gradle installation. No other boxes in the "Execution" category are checked. Every class appears to have errors and my code is littered with red underlines due to "cannot find symbol" errors. NB 12.5 is unusable because of this. I can compile my project but the errors remain. This did not occur with NB 12.4. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-6056) Fix Imports Disabled in Netbeans 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Narti Kitiyakara closed NETBEANS-6056. -- Resolution: Cannot Reproduce > Fix Imports Disabled in Netbeans 12.5 > - > > Key: NETBEANS-6056 > URL: https://issues.apache.org/jira/browse/NETBEANS-6056 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Affects Versions: 12.5 > Environment: Windows 10 Pro (haven't tried on other systems) >Reporter: Narti Kitiyakara >Priority: Minor > > The Fix Imports item of the Source menu seems to be disabled even though my > editor has a Java file open with unused or missing imports. It was fine in > 12.4. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6056) Fix Imports Disabled in Netbeans 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421405#comment-17421405 ] Narti Kitiyakara commented on NETBEANS-6056: I don't know why, but the fix imports menu item was enabled after I happened to restart NetBeans. > Fix Imports Disabled in Netbeans 12.5 > - > > Key: NETBEANS-6056 > URL: https://issues.apache.org/jira/browse/NETBEANS-6056 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Affects Versions: 12.5 > Environment: Windows 10 Pro (haven't tried on other systems) >Reporter: Narti Kitiyakara >Priority: Minor > > The Fix Imports item of the Source menu seems to be disabled even though my > editor has a Java file open with unused or missing imports. It was fine in > 12.4. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6071) print fungerarinte i hop med Scnner
Lars Bogren created NETBEANS-6071: - Summary: print fungerarinte i hop med Scnner Key: NETBEANS-6071 URL: https://issues.apache.org/jira/browse/NETBEANS-6071 Project: NetBeans Issue Type: Bug Environment: import java.util.*; public class Godis { public static void main(String[] args) { var scan = new Scanner(System.in); int gram = 0; double pris = 0; System.out.print("Hur många gram: "); gram = scan.nextInt(); System.out.print("Pris/gram: "); pris = scan.nextDouble(); System.out.println("Det kostar: " + gram * pris); System.out.print (" Programmet klart. "); } } Reporter: Lars Bogren Print fungerar fortfarande inte ihop med Scanner trodde att 12,5 skulle lösa detta jGrasp kan det fortfarande -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-6015) Java heap space - Out of Memory Error
[ https://issues.apache.org/jira/browse/NETBEANS-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Bogren reassigned NETBEANS-6015: - Assignee: Lars Bogren > Java heap space - Out of Memory Error > - > > Key: NETBEANS-6015 > URL: https://issues.apache.org/jira/browse/NETBEANS-6015 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.4 > Environment: Ubuntu 20.4 > Open JDK 11 >Reporter: Anisur Mullick >Assignee: Lars Bogren >Priority: Blocker > Labels: background-scanning > > > 2021-09-17T08:06:27 > 1631846187154 > 48 > global > 1000 > 22 > > /home/anisur/snap/netbeans/common/data/12.4/var/log/heapdump.hprof > > java.lang.OutOfMemoryError: Java heap space > > > > 2021-09-17T08:17:35 > 1631846855694 > 79 > org.netbeans.ui > 700 > 35 > UI_ENABLED_MODULES > UI_ENABLED_MODULES > org.netbeans.modules.uihandler.Bundle > org.netbeans.modules.testng.ant [2.27] > org.openide.filesystems.nb [9.22] > org.netbeans.modules.xml.wsdl.model/1 [1.45.0.1] > org.netbeans.modules.web.common [1.111] > org.netbeans.modules.nbjunit/1 [1.102] > org.netbeans.modules.welcome/1 [1.54] > org.netbeans.modules.languages.ini [1.37] > org.netbeans.modules.ant.hints/1 [1.6] > org.eclipse.mylyn.commons.core [3.17.0] > org.netbeans.modules.localtasks [1.37] > org.netbeans.modules.editor.mimelookup.impl/1 [1.44] > org.netbeans.modules.php.zend [1.44] > org.netbeans.modules.php.dbgp [1.54] > org.netbeans.modules.ant.grammar/1 [1.56] > org.netbeans.modules.extexecution.base/2 [1.18] > org.netbeans.modules.project.indexingbridge [1.29] > org.netbeans.modules.php.smarty [1.98] > org.netbeans.modules.java.editor.base [2.77.0.1] > org.netbeans.modules.refactoring.api [1.59.0.1] > org.netbeans.api.web.webmodule [1.50] > org.netbeans.modules.java.editor/1 [2.80.0.12.1.1.1] > org.netbeans.libs.osgi [1.34] > org.netbeans.modules.versioning.util [1.82.0.42.1] > org.netbeans.modules.i18n/1 [1.65] > org.netbeans.modules.xml.lexer [1.42] > org.eclipse.core.runtime.compatibility.auth [3.2.200] > org.netbeans.libs.svnClientAdapter/1 [1.52] > org.netbeans.modules.db.metadata.model/1 [1.23] > org.openide.modules [7.60] > org.netbeans.modules.ide.branding/1 [1.44] > org.netbeans.modules.project.ant.ui/1 [1.77] > org.netbeans.modules.testng [2.32] > org.netbeans.modules.javascript2.react [0.11] > org.netbeans.modules.groovy.editor/2 [1.75] > org.netbeans.modules.php.code.analysis [0.25] > org.netbeans.modules.form.kit [1.40] > org.netbeans.lib.uihandler [1.57] > org.netbeans.modules.updatecenters/1 [1.52] > org.eclipse.core.jobs [3.5.100] > org.netbeans.modules.markdown [1.0] > org.netbeans.modules.debugger.jpda.projectsui [1.15] > org.netbeans.modules.xml.catalog.ui [2.15.0.4] > org.eclipse.jgit [5.7.0] > org.netbeans.modules.defaults/1 [1.43] > org.apache.commons.logging [1.2] > org.netbeans.libs.ini4j/1 [1.46] > org.netbeans.modules.gradle.kit [1.8] > org.netbeans.modules.dlight.nativeexecution [1.51.0.1] > org.netbeans.modules.xml.axi [1.45] > org.netbeans.modules.java.disco [1.0] > org.netbeans.modules.editor.lib/3 [4.19.0.23.3.55] > org.netbeans.modules.java.platform.ui/1 [1.54] > org.netbeans.modules.utilities.project/1 [1.50] > org.netbeans.modules.hudson.subversion [1.41] > org.netbeans.modules.javascript2.source.query/0 [0.11] > org.netbeans.modules.maven.grammar/1 [1.59.0.1] > org.netbeans.modules.image/1 [1.60] > org.netbeans.spi.debugger.jpda.ui [3.15] > org.netbeans.api.annotations.common/1 [1.40] > org.netbeans.modules.derby [1.52] > org.netbeans.modules.html.indexing [1.2] > org.netbeans.modules.xml.text/2 [1.71.0.1] > org.netbeans.modules.dbapi [1.46.0.30] > org.netbeans.modules.php.twig/1 [1.37] > org.netbeans.modules.xml.tax/2 [1.56.0.281] > org.netbeans.libs.jna.platform/2 [2.7] > org.netbeans.libs.bytelist/1 [0.42.0.1] > org.netbeans.modules.dlight.nativeexecution.nb [1.12] > org.netbeans.modules.j2ee.persistenceapi/1 [1.48.0.1] > org.netbeans.api.progress.nb [1.60] > org.netbeans.modules.db.sql.visualeditor/1 [2.43.0.30] > org.eclipse.mylyn.tasks.core [3.17.0] > org.netbeans.modules.php.composer/0 [0.42] > org.netbeans.modules.j2ee.jpa.refactoring [1.43] > org.netbeans.modules.classfile/1 [1.64] > org.netbeans.modules.masterfs.linux [1.25] > org.netbeans.modules.lsp.client/0 [1.11.0.1.1] > org.netbeans.modules.keyring.impl [1.36] > org.netbeans.modules.java.project/1 [1.84] > org.netbeans.core.browser.webview/1 [1.27.0.1.1] > org.netbeans.modules.j2ee.api.ejbmodule [1.49] > org.netbeans.modules.maven.indexer/2 [2.52] > org.netbeans.modules.tasklist.kit [1.40] > org.netbeans.modules.java.source.nbjavac [1.12.0.1.3.25.5.1] > org.netbeans.modules.java.source.ant [1.43.0.1.5] >
[jira] [Commented] (NETBEANS-5480) Can't fold a class/method when a range of PHP tags overlaps a range of class/method body
[ https://issues.apache.org/jira/browse/NETBEANS-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421227#comment-17421227 ] Stefano Calabrese commented on NETBEANS-5480: - Great, all works fine. > Can't fold a class/method when a range of PHP tags overlaps a range of > class/method body > > > Key: NETBEANS-5480 > URL: https://issues.apache.org/jira/browse/NETBEANS-5480 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.2 >Reporter: Stefano Calabrese >Assignee: Junichi Yamamoto >Priority: Minor > Labels: Folding, pull-request-available > Fix For: 12.5 > > Attachments: aspected_tmp_code_php.jpg, netbeans-5480-1.jpg, > wrong_tmp_code_php.jpg > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Hi i have a problem with code folding "" > if you have this PHP code > {code:java} > Segnaposto codice // > class A { > function B(){ > ?>Hello } > } > {code} > when you create it it's ok, but *if you save, close and re-open it* , > you can see collapse ?> and break folding as in image > (tmp_code_php.jpg) > > Actual result after save, close & reopen file .php > image attached wrong_tmp_code_php.jpg > > Expected result: > image attached aspected_tmp_code_php.jpg > > > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-6015) Java heap space - Out of Memory Error
[ https://issues.apache.org/jira/browse/NETBEANS-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421217#comment-17421217 ] Anisur Mullick commented on NETBEANS-6015: -- The problem again occured, this time while reading a YAML file. The NetBeans version is 12.5. {{ 2021-09-27T08:25:36 1632711336465 2930 org.openide.util.RequestProcessor 1000 192 /home/anisur/snap/netbeans/50/var/log/heapdump.hprof java.lang.OutOfMemoryError: Java heap space com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl init 294 jrt:/java.xml/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.class com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl init 238 jrt:/java.xml/com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl.class com.sun.org.apache.xerces.internal.parsers.XML11Configuration configurePipeline 1206 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.class com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration configurePipeline 156 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/XIncludeAwareParserConfiguration.class com.sun.org.apache.xerces.internal.parsers.XML11Configuration parse 866 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.class com.sun.org.apache.xerces.internal.parsers.XML11Configuration parse 824 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.class com.sun.org.apache.xerces.internal.parsers.XMLParser parse 141 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/XMLParser.class com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser parse 1216 jrt:/java.xml/com/sun/org/apache/xerces/internal/parsers/AbstractSAXParser.class com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser parse 635 jrt:/java.xml/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl$JAXPSAXParser.class org.openide.filesystems.DefaultAttributes$InnerParser parseXML 1324 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.DefaultAttributes$Table readFromXML 1067 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.DefaultAttributes loadTable 692 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.DefaultAttributes load 648 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.DefaultAttributes loadTable 626 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.DefaultAttributes readAttribute 348 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.LocalFileSystem$InnerAttrs readAttribute 720 ${netbeans.home}core/org-openide-filesystems.jar org.netbeans.core.startup.layers.LocalFileSystemEx$DelegatingAttributes readAttribute 180 ${netbeans.home}core/core-base.jar org.openide.filesystems.XMLMapAttr readAttribute 149 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.AbstractFileObject getAttribute 315 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.MultiFileObject getAttribute 916 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.MultiFileObject getAttribute 851 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.MultiFileObject getAttribute 914 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.MultiFileObject getAttribute 851 ${netbeans.home}core/org-openide-filesystems.jar org.openide.filesystems.MultiFileObject getAttribute 772 ${netbeans.home}core/org-openide-filesystems.jar org.netbeans.spi.palette.PaletteVisibility isVisible 56 ${netBeansDir}modules/org-netbeans-spi-palette.jar org.netbeans.spi.palette.PaletteVisibility isVisible 46 ${netBeansDir}modules/org-netbeans-spi-palette.jar org.netbeans.spi.palette.PaletteSwitch findNewPalette 336 ${netBeansDir}modules/org-netbeans-spi-palette.jar org.netbeans.spi.palette.PaletteSwitch access$000 54