You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Neil C Smith (Jira)" <ji...@apache.org> on 2022/02/07 18:07:00 UTC
[jira] [Updated] (NETBEANS-6068) Groovy broken in 12.5
[ https://issues.apache.org/jira/browse/NETBEANS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil C Smith updated NETBEANS-6068:
-----------------------------------
Fix Version/s: (was: NB13)
> 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
> Assignee: Svatopluk Dedic
> Priority: Major
> Labels: pull-request-available
> Attachments: groovyclassescreated.jpg, image-2021-10-08-12-57-24-831.png, image-2021-10-08-12-58-24-619.png, image-2021-10-08-12-59-50-283.png, image-2021-10-08-13-00-25-440.png, image-2021-10-08-13-01-27-408.png, image-2021-10-08-13-02-31-076.png, image-2021-10-08-13-03-45-465.png, image-2021-10-08-13-04-54-754.png, image-2021-10-08-13-05-56-717.png, image-2021-10-08-13-08-23-947.png, image-2021-10-08-14-13-26-696.png, image-2021-10-08-14-14-41-061.png, image-2021-10-08-14-16-57-710.png, mavenproject.jpg, sourcecretaed.jpg
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> 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 *
> <?xml version="1.0" encoding="UTF-8"?><?xml version="1.0" encoding="UTF-8"?><!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd"><settings version="1.0"> <instance class="org.netbeans.modules.jshell.editor.ConsoleEditor"/></settings>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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists