[jira] [Commented] (NETBEANS-2249) Web Pages folder not shown in Gradle projects with 'war' plugin
[ https://issues.apache.org/jira/browse/NETBEANS-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815903#comment-16815903 ] Jim McClure commented on NETBEANS-2249: --- Hi [~jalgaba]- Can you explain how to manually add the web folder to build.gradle? I am having this problem in spades- I have a lot of Gradle WARs. I tried project.webAppDirName = 'src/main/webapp' but that didn't do anything. Thanks! Jim > Web Pages folder not shown in Gradle projects with 'war' plugin > --- > > Key: NETBEANS-2249 > URL: https://issues.apache.org/jira/browse/NETBEANS-2249 > Project: NetBeans > Issue Type: Improvement > Components: javaee - Web Project, projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-395-on-20190310) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 > Runtime: OpenJDK Runtime Environment 11.0.2+9 > System: Linux version 4.15.0-46-generic running on amd64; UTF-8; es_CL (nb) >Reporter: Pablo Carmona A. >Priority: Major > > After I add "apply plugin: 'war'" to file build.gradle of a new generated > Gradle project, the project's icon is shown with a globe symbol, like in web > projects, but I can not see the web files neither I can launch it with a > configured server. I would like to be able to run it as same as Maven web > projects. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2401) Dracula LAF Plugin doesn't work with Netbeans 10
Farhad P. created NETBEANS-2401: --- Summary: Dracula LAF Plugin doesn't work with Netbeans 10 Key: NETBEANS-2401 URL: https://issues.apache.org/jira/browse/NETBEANS-2401 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Environment: Windows 7, Java8, Spring Reporter: Farhad P. After installing Dracula LAF Plugin.. the clicking on the open component tab closes the tab automatically. The plugin is unusable with Apache Netbeans. Since, I'm unable to upload the IDE Log, I'm pasting the error messages in Doc text section. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans-tools] branch master updated: Do not pull if using githashtag
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-tools.git The following commit(s) were added to refs/heads/master by this push: new 188d996 Do not pull if using githashtag 188d996 is described below commit 188d996e62f521680bedb21691b3368847b2a4fd Author: Eric Barboni AuthorDate: Fri Apr 12 00:57:01 2019 +0200 Do not pull if using githashtag --- buildscripts/conveniences/generatebuildscript.sh | 16 +++- .../generated/Jenkinsfile-maven-release100.groovy| 2 +- .../generated/Jenkinsfile-maven-release110.groovy| 2 +- .../generated/Jenkinsfile-maven-release90.groovy | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/buildscripts/conveniences/generatebuildscript.sh b/buildscripts/conveniences/generatebuildscript.sh index c8682de..b38902f 100644 --- a/buildscripts/conveniences/generatebuildscript.sh +++ b/buildscripts/conveniences/generatebuildscript.sh @@ -64,11 +64,14 @@ def write_pipelinebasic(afile,scm,jdktool,maventool,anttool,buildnumber): afile.write(" }\n") afile.write(" }\n") -def write_pipelinecheckout(afile,scm): +def write_pipelinecheckout(afile,scm,poll): afile.write(" stage('SCM operation') {\n") afile.write(" steps {\n") afile.write(" echo 'Get NetBeans sources'\n") - afile.write(" checkout([$class: 'GitSCM', branches: [[name: '"+scm+"']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: true], [$class: 'RelativeTargetDirectory', relativeTargetDir: 'netbeanssources']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/apache/incubator-netbeans/']]])\n") + if poll=="": + afile.write(" checkout([$class: 'GitSCM', branches: [[name: '"+scm+"']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: true], [$class: 'RelativeTargetDirectory', relativeTargetDir: 'netbeanssources']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/apache/incubator-netbeans/']]])\n") + else: + afile.write(" checkout poll:false, scm:[$class: 'GitSCM', branches: [[name: '"+scm+"']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: true], [$class: 'RelativeTargetDirectory', relativeTargetDir: 'netbeanssources']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/apache/incubator-netbeans/']]]\n") afile.write(" }\n") afile.write(" }\n") @@ -130,8 +133,11 @@ for arelease in releaseinfo: mavenbuildfile.write(" }\n") mavenbuildfile.write(" }\n") - write_pipelinecheckout(apidocbuildFile,branch) - write_pipelinecheckout(mavenbuildfile,tag) + write_pipelinecheckout(apidocbuildFile,branch,"") + if branch=='refs/heads/master': + write_pipelinecheckout(mavenbuildfile,tag,"") + else: + write_pipelinecheckout(mavenbuildfile,tag,"poll:false") ## apidoc path do only build for javadoc ## build netbeans all needed for javadoc and nb-repository plugin apidocbuildFile.write(" stage('NetBeans Builds') {\n") @@ -168,7 +174,7 @@ for arelease in releaseinfo: mavenbuildfile.write(" }\n") mavenbuildfile.write(" }\n") -#prepare maven artifacts +#prepare maven artifacts mavenbuildfile.write(" script {\n") nbbuildpath = "${env.WORKSPACE}/netbeanssources/nbbuild" mavenbuildfile.write("sh 'rm -rf testrepo/.m2'\n") diff --git a/buildscripts/conveniences/generated/Jenkinsfile-maven-release100.groovy b/buildscripts/conveniences/generated/Jenkinsfile-maven-release100.groovy index e960b8a..2ab7f13 100644 --- a/buildscripts/conveniences/generated/Jenkinsfile-maven-release100.groovy +++ b/buildscripts/conveniences/generated/Jenkinsfile-maven-release100.groovy @@ -40,7 +40,7 @@ pipeline { stage('SCM operation') { steps { echo 'Get NetBeans sources' - checkout([$class: 'GitSCM', branches: [[name: '910bd74bf46d079e49925f702432c74d54ec705c']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: true], [$class: 'RelativeTargetDirectory', relativeTargetDir: 'netbeanssources']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/apache/incubator-netbeans/']]]) + checkout poll:false, scm:[$class: 'GitSCM', branches: [[name: '910bd74bf46d079e49925f702432c74d54ec705c']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: true], [$class: 'RelativeTargetDirectory', relativeTargetDir: 'netbeanssources']], submoduleCfg: [],
[incubator-netbeans-tools] branch master updated: Change build script to better wipe workspace
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-tools.git The following commit(s) were added to refs/heads/master by this push: new 71a9dbf Change build script to better wipe workspace 71a9dbf is described below commit 71a9dbfc72a8d280c9d82e4b2c6228e2854cca97 Author: Eric Barboni AuthorDate: Thu Apr 11 23:32:12 2019 +0200 Change build script to better wipe workspace --- buildscripts/conveniences/README.md| 53 ++ buildscripts/conveniences/generatebuildscript.sh | 33 ++ .../Jenkinsfile-apidoc-master.groovy} | 10 ++-- .../Jenkinsfile-apidoc-release100.groovy} | 10 ++-- .../Jenkinsfile-apidoc-release110.groovy} | 10 ++-- .../Jenkinsfile-apidoc-release90.groovy} | 10 ++-- .../Jenkinsfile-maven-master.groovy| 18 +++- .../Jenkinsfile-maven-release100.groovy| 20 +++- .../Jenkinsfile-maven-release110.groovy| 20 +++- .../Jenkinsfile-maven-release90.groovy | 20 +++- 10 files changed, 117 insertions(+), 87 deletions(-) diff --git a/buildscripts/conveniences/README.md b/buildscripts/conveniences/README.md new file mode 100644 index 000..85dfca7 --- /dev/null +++ b/buildscripts/conveniences/README.md @@ -0,0 +1,53 @@ + + +# Jenkinsfile repository + +This folder contain a script +``` + generatebuildscript.sh +``` +that create the build jobs file for master and release branches + +all file will be generated in `generated` folder: + * apidoc payload + Jenkins-apidoc-*branch*.groovy + * maven artefacts + Jenkins-maven-*branch*.groovy + +# Job creation workflow + +## creation + * Create a job at https://builds.apache.org/ + +incubator-netbeans-*branch*-maven or incubator-netbeans-*branch*-apidocmaven depending on the groovy file +Type of the job: **pipeline** type + +## configuration + pipeline script from SCM + git https://github.com/apache/incubator-netbeans-tools + + additionnal behavioud checkout to a subdirectory **scripts** + + Script Path **scripts/buildscripts/conveniences/generated/Jenkinsfile-apidoc-*branch*.groovy** + + + diff --git a/buildscripts/conveniences/generatebuildscript.sh b/buildscripts/conveniences/generatebuildscript.sh index 6c86e47..c8682de 100644 --- a/buildscripts/conveniences/generatebuildscript.sh +++ b/buildscripts/conveniences/generatebuildscript.sh @@ -28,19 +28,20 @@ ant10='Ant (latest)' ## information for each release (tools + date of release to flag the doc) ## pick tools that are available on ubuntu node on build.apache.org releaseinfo=[ -['release90', '9.0-vc3', True,jdk8,maven339,ant10,'1.4-SNAPSHOT', 'RELEASE90','org.apache.netbeans:netbeans-parent:1', 'http://bits.netbeans.org/9.0/javadoc', datetime(2018,07,29,12,00)], -['release100','10.0-vc5', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','RELEASE100','org.apache.netbeans:netbeans-parent:1','http://bits.netbeans.org/10.0/javadoc', datetime(2018,12,27,12,00)], -['release110','11.0-vc4', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','RELEASE110','org.apache.netbeans:netbeans-parent:1','http://bits.netbeans.org/11.0/javadoc', datetime(2019,02,13,12,00)], +['release90', '97904961e496383d6150aef9b78fa8dff8f3e1ce', True,jdk8,maven339,ant10,'1.4-SNAPSHOT', 'RELEASE90','org.apache.netbeans:netbeans-parent:1', 'http://bits.netbeans.org/9.0/javadoc', datetime(2018,07,29,12,00)], +['release100','910bd74bf46d079e49925f702432c74d54ec705c', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','RELEASE100','org.apache.netbeans:netbeans-parent:1','http://bits.netbeans.org/10.0/javadoc', datetime(2018,12,27,12,00)], +['release110','275dea5557510c107cf9d193fe61555aacd544b1', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','RELEASE110','org.apache.netbeans:netbeans-parent:1','http://bits.netbeans.org/11.0/javadoc', datetime(2019,02,13,12,00)], ## not yet (under review) #['release120','', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','RELEASE120','org.apache.netbeans:netbeans-parent:1','http://bits.netbeans.org/12.0/javadoc', datetime(2019,02,13,12,00)], ##master branch ['master','', True,jdk8,maven339,ant10,'1.4-SNAPSHOT','dev-SNAPSHOT','org.apache.netbeans:netbeans-parent:1']] ## no need custom info def write_pipelinebasic(afile,scm,jdktool,maventool,anttool,buildnumber): + afile.write("// generated by generatebuilscript.sh\n") afile.write("pipeline {\n") afile.write(" agent { label 'ubuntu' }\n") afile.write(" options {\n") - afile.write(" buildDiscarder(logRotator(numToKeepStr: '2'))\n") + afile.write(" buildDiscarder(logRotator(numToKeepStr: '1'))\n") afile.write(" disableConcurrentBuilds() \n") afile.write(" }\n") afile.write(" triggers {\n") @@ -66,10 +67,8 @@ def write_pipelinebasic(afile,scm,jdktool,maventool,anttool,buildnumber): def
[jira] [Commented] (NETBEANS-2000) PIE executables not recognized as executables
[ https://issues.apache.org/jira/browse/NETBEANS-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815761#comment-16815761 ] Scott Furry commented on NETBEANS-2000: --- IMHO, I would characterize this as a "Major" bug as it breaks a usability function on all Linux-based platforms. My $0.02. > PIE executables not recognized as executables > - > > Key: NETBEANS-2000 > URL: https://issues.apache.org/jira/browse/NETBEANS-2000 > Project: NetBeans > Issue Type: Bug > Components: debugger - Code >Affects Versions: 9.0, 10.0 >Reporter: Johan Persson >Priority: Minor > > All major Linux distributions now (e.g Debian, Fedora. Ubuntu, OpenSuSE) > configure gcc with "{{--enable-default-pie}}" which will create Position > Independent executables by default (to support DEP/ASLR) > By default PIE executables will identify themselves on Linux as: > {{ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked}} > This will be reported as ELF type ET_DYN > However Netbeans does not recognize shared objects as executables and most > likely identifies them as a shared library. This means it is impossible to > use the debugger with C/C++ code since you cannot select an executable to run > the debugger on. > For Netbeans to see a file as an ELF executable it must be of type > {{ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked}} > This will be reported as ELF type ET_EXEC > Now, there is an easy workaround and that is to pass the options > {{-fno-pie -no-pie}} > to gcc when compiling (or the corresponding to say clang) to create > "old-style" executables. For security reason that is of course not > recommended for production code. > Since there is a simply workaround and the fact that v10 does not yet > officially support C/C++ I have marked this down as "minor" but it is a low > hanging fruit to fix since it only requires identifying the code that > determines file type and include shared objects as allowable executables. > Once C/C++ once again is officially supported it is of course vital that this > is fixed. > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2400) AWS Cloud missing Region: US East(OHIO) Region
Robert Campbell created NETBEANS-2400: - Summary: AWS Cloud missing Region: US East(OHIO) Region Key: NETBEANS-2400 URL: https://issues.apache.org/jira/browse/NETBEANS-2400 Project: NetBeans Issue Type: Bug Components: core Affects Versions: 11.0 Environment: Windows 10 Reporter: Robert Campbell in Add Cloud Provider Step 2 "Amazon Beanstalk" The Region: "US East (OHIO) Region" is not available as an option. Is there an XML file or configuration file I need to update to get this option ? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2399) NetBeans does not seperate gradle projects correctly
Martin Weißhaupt created NETBEANS-2399: -- Summary: NetBeans does not seperate gradle projects correctly Key: NETBEANS-2399 URL: https://issues.apache.org/jira/browse/NETBEANS-2399 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 11.0 Reporter: Martin Weißhaupt Attachments: CommandLine.png, MultiProject.zip, NetBeans-10.png, NetBeans-11.png, ProjectView.png I noticed that root projects with multiple subprojects are not correctly handled. I have attached screenshots to show how the old external NetBeans plugin handles this as well as the gradle command line. The sorting is also a bit strange. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2398) Netbeans 11 + web.xml = Cannot find declaration of element 'web-app'
[ https://issues.apache.org/jira/browse/NETBEANS-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan updated NETBEANS-2398: --- Attachment: Screenshot.png > Netbeans 11 + web.xml = Cannot find declaration of element 'web-app' > > > Key: NETBEANS-2398 > URL: https://issues.apache.org/jira/browse/NETBEANS-2398 > Project: NetBeans > Issue Type: Bug > Components: javaee - Web Project >Affects Versions: 11.0 > Environment: Windows 10 64-Bit OpenJDK 11.0.2 (also tested with same > results using Oracle JDK 8). >Reporter: Ryan >Priority: Major > Attachments: Screenshot.png > > > I'm taking Netbeans 11 for a spin and now see my project web.xml file has red > x in bottom corner of Projects window icon. Everything seems to work fine > despite the validation error. If I open project in Netbeans 8.2 no issue. > The hover (tooltip) message is: > {quote} > cvc-elt.1.a: Cannot find the declaration of element 'web-app' > > {quote} > If I right click on web.xml file in Projects window and click Validate XML > the error is displayed in the Output window along with: > {quote}schema_reference.4: Failed to read schema document > 'nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/web-app_3_1.xsd', > because 1) could not find the document; 2) the document could not be read; > 3) the root element of the document is not > {quote} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2391) NPE when opening Android projects
[ https://issues.apache.org/jira/browse/NETBEANS-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815736#comment-16815736 ] Martin Weißhaupt commented on NETBEANS-2391: This bug should be fixed but FYI this won't be enough to make NetBeans viable for Android development. There is a [project|https://github.com/NBANDROIDTEAM/NBANDROID-V2] that adds the missing bits but NetBeans 10 and NetBeans 11 support is currently in development. > NPE when opening Android projects > - > > Key: NETBEANS-2391 > URL: https://issues.apache.org/jira/browse/NETBEANS-2391 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Gradle 5.3.1 > Netbeans 11.0 > com.android.tools.build:gradle:3.2.1 >Reporter: Dirk Steinmetz >Priority: Major > > Opening Android projects causes a NPE (as do some other operations on that > project later on). > *STR:* > 0. Download and install Android Studio, create any default project. > 1. Open that project in netbeans 11.0 (make sure to open the 'real' project, > usually called 'app') > *Expected:* > The project opens (albeit maybe some or all Android-specific features are > unavailable). > *Actual:* > {noformat} > java.lang.NullPointerException at > java.util.AbstractCollection.addAll(AbstractCollection.java:343) at > org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.processDependencies(GradleBaseProjectBuilder.java:128) > at > org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.build(GradleBaseProjectBuilder.java:75) > at > org.netbeans.modules.gradle.api.GradleBaseProjectBuilder$Extractor.extract(GradleBaseProjectBuilder.java:288) > at > org.netbeans.modules.gradle.GradleProjectCache.createGradleProject(GradleProjectCache.java:432) > at > org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:257) > at > org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:85)[catch] > at > org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:348) > at > org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:326) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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){noformat} > *Reason / Potential partial fix:* > > [GradleBaseProjectBuilder.java:127f|https://github.com/apache/incubator-netbeans/blob/master/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java#L127]: > {code:java} > Set dirs = (Set) info.get("sourceset_" + name + > "_output_classes"); > sourceSetOutputs.addAll(dirs); > {code} > expects a non-null "_output_classes" set for a source set, while > > [NbProjectInfoBuilder.groovy|https://github.com/apache/incubator-netbeans/blob/master/groovy/gradle/netbeans-gradle-tooling/src/main/groovy/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.groovy#L242] > has a separate path for Android projects that does not (always?) populate > that field. > In my tests just adding a null check works, although generated code and > android sources are still unavailable while editing. There is an exception > down the road when opening the "Sources" category in the project categories, > though: > {noformat} > java.lang.NullPointerException at > org.netbeans.modules.gradle.java.customizer.SourceSetPanel.(SourceSetPanel.java:63) > at > org.netbeans.modules.gradle.java.customizer.SourcesPanel.(SourcesPanel.java:55) > at > org.netbeans.modules.gradle.java.customizer.SourcesPanel$1.createComponent(SourcesPanel.java:74) > at > org.netbeans.modules.gradle.spi.customizer.support.FilterPanelProvider.createComponent(FilterPanelProvider.java:58) > at > org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.create(ProjectCustomizer.java:604) > at > org.netbeans.modules.project.uiapi.CustomizerPane.setCategory(CustomizerPane.java:234) > at > org.netbeans.modules.project.uiapi.CustomizerPane.access$200(CustomizerPane.java:47) > at > org.netbeans.modules.project.uiapi.CustomizerPane$CategoryChangeListener.propertyChange(CustomizerPane.java:320) > at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) > at > java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) > at > java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) > at >
[jira] [Created] (NETBEANS-2398) Netbeans 11 + web.xml = Cannot find declaration of element 'web-app'
Ryan created NETBEANS-2398: -- Summary: Netbeans 11 + web.xml = Cannot find declaration of element 'web-app' Key: NETBEANS-2398 URL: https://issues.apache.org/jira/browse/NETBEANS-2398 Project: NetBeans Issue Type: Bug Components: javaee - Web Project Affects Versions: 11.0 Environment: Windows 10 64-Bit OpenJDK 11.0.2 (also tested with same results using Oracle JDK 8). Reporter: Ryan I'm taking Netbeans 11 for a spin and now see my project web.xml file has red x in bottom corner of Projects window icon. Everything seems to work fine despite the validation error. If I open project in Netbeans 8.2 no issue. The hover (tooltip) message is: {quote} cvc-elt.1.a: Cannot find the declaration of element 'web-app' {quote} If I right click on web.xml file in Projects window and click Validate XML the error is displayed in the Output window along with: {quote}schema_reference.4: Failed to read schema document 'nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/web-app_3_1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2397) Java's provide ... with NOT working in maven projects
[ https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin updated NETBEANS-2397: - Affects Version/s: 11.0 > Java's provide ... with NOT working in maven projects > - > > Key: NETBEANS-2397 > URL: https://issues.apache.org/jira/browse/NETBEANS-2397 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Ubuntu 18, Java 12 >Reporter: Martin >Priority: Blocker > Attachments: sample.zip > > > Please check the attached sample. > > The sample is working with VS Code and IntelliJ Idea. > Also working when doing with "old school" netbeans (ant) projects. > > Please fix urgently! > > Some linker problem? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2396) Automatic import of package places the import clause at the bottom of the module-info.java file, causing a syntax error
[ https://issues.apache.org/jira/browse/NETBEANS-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin updated NETBEANS-2396: - Summary: Automatic import of package places the import clause at the bottom of the module-info.java file, causing a syntax error (was: Automatic import of package places the import clause at the bottom of the file, causing a syntax error) > Automatic import of package places the import clause at the bottom of the > module-info.java file, causing a syntax error > --- > > Key: NETBEANS-2396 > URL: https://issues.apache.org/jira/browse/NETBEANS-2396 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 > Environment: Ubuntu 18.10 > Java 12d >Reporter: Martin >Priority: Minor > > # Open a module-info.java file > # state "uses ClassName1", with ClassName1 available in the project > # the light bulb will show up at the left hand side of the editor window > # chose import mysample.namespace > > => the import clause will be added to the bottom of the file (needs to be at > top) > This will cause a syntax error of course -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2397) Java's provide ... with NOT working in maven projects
[ https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin updated NETBEANS-2397: - Description: Please check the attached sample. The sample is working with VS Code and IntelliJ Idea. Also working when doing with "old school" netbeans (ant) projects. Please fix urgently! Some linker problem? was: Please check the attached sample. The sample is working with VS Code and IntelliJ Idea. Please fix urgently! Some linker problem? > Java's provide ... with NOT working in maven projects > - > > Key: NETBEANS-2397 > URL: https://issues.apache.org/jira/browse/NETBEANS-2397 > Project: NetBeans > Issue Type: Bug > Environment: Ubuntu 18, Java 12 >Reporter: Martin >Priority: Blocker > Attachments: sample.zip > > > Please check the attached sample. > > The sample is working with VS Code and IntelliJ Idea. > Also working when doing with "old school" netbeans (ant) projects. > > Please fix urgently! > > Some linker problem? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2397) Java's provide ... with NOT working in maven projects
Martin created NETBEANS-2397: Summary: Java's provide ... with NOT working in maven projects Key: NETBEANS-2397 URL: https://issues.apache.org/jira/browse/NETBEANS-2397 Project: NetBeans Issue Type: Bug Environment: Ubuntu 18, Java 12 Reporter: Martin Attachments: sample.zip Please check the attached sample. The sample is working with VS Code and IntelliJ Idea. Please fix urgently! Some linker problem? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2396) Automatic import of package places the import clause at the bottom of the file, causing a syntax error
Martin created NETBEANS-2396: Summary: Automatic import of package places the import clause at the bottom of the file, causing a syntax error Key: NETBEANS-2396 URL: https://issues.apache.org/jira/browse/NETBEANS-2396 Project: NetBeans Issue Type: Bug Affects Versions: 11.0 Environment: Ubuntu 18.10 Java 12d Reporter: Martin # Open a module-info.java file # state "uses ClassName1", with ClassName1 available in the project # the light bulb will show up at the left hand side of the editor window # chose import mysample.namespace => the import clause will be added to the bottom of the file (needs to be at top) This will cause a syntax error of course -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-588) Sass installed via Chocolatey not compiling
[ https://issues.apache.org/jira/browse/NETBEANS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815542#comment-16815542 ] Joshua Raymond commented on NETBEANS-588: - Duplicate of !https://issues.apache.org/jira/secure/viewavatar?size=xsmall=21133=issuetype|width=16,height=16! NETBEANS-2347Could not find an option named "cache-location" > Sass installed via Chocolatey not compiling > --- > > Key: NETBEANS-588 > URL: https://issues.apache.org/jira/browse/NETBEANS-588 > Project: NetBeans > Issue Type: Bug >Affects Versions: 8.2 >Reporter: Óscar >Priority: Major > > I installed Sass via Chocolatey and get this error in the Netbeans console: > {color:#ff}"C:\ProgramData\chocolatey\lib\sass\tools\sass.bat" > "-cache-location" > "C:\Users\oxk4r\AppData\Local\NetBeans\Cache\8.2\sass-compiler" "debug-info" > "-style" "compact" "C:\xampp\htdocs\SASS_01\scss\style.scss" > "C:\xampp\htdocs\SASS_01\css\style.css" {color} > {color:#ff}Could not find an option named "cache-location".{color} > And no *.css file is generated at all. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2347) Could not find an option named "cache-location"
[ https://issues.apache.org/jira/browse/NETBEANS-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshua Raymond updated NETBEANS-2347: - Affects Version/s: 11.0 > Could not find an option named "cache-location" > --- > > Key: NETBEANS-2347 > URL: https://issues.apache.org/jira/browse/NETBEANS-2347 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: 10.0, 11.0 > Environment: OS: Windows 10 > SOFTWARE VERSION: Apache Netbeans 10 >Reporter: ala >Priority: Critical > Labels: easyfix, usability > Fix For: Next > > > "C:\Users\Ala\AppData\Local\Yarn\bin\sass.cmd" "--cache-location" > "C:\Users\Ala\AppData\Local\NetBeans\Cache\10.0\sass-compiler" "--debug-info" > "C:\laragon\www\Pr\scss\stylesheet.scss" > "C:\laragon\www\Pr\css\stylesheet.css" > Could not find an option named "cache-location". > Usage: sass [output.css] > sass : : -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1865) Exception with SlikSVN Subversion on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gunnar Grim updated NETBEANS-1865: -- Affects Version/s: 11.0 > Exception with SlikSVN Subversion on Windows > > > Key: NETBEANS-1865 > URL: https://issues.apache.org/jira/browse/NETBEANS-1865 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Subversion >Affects Versions: 10.0, 11.0 >Reporter: Enrico Scantamburlo >Priority: Major > > I started NetBeans 10.0 and I got this exception > {{}}{{java.lang.NumberFormatException: For input string: "7-SlikSvn"}} > {{ at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)}} > {{ at java.lang.Integer.parseInt(Integer.java:580)}} > {{ at java.lang.Integer.parseInt(Integer.java:615)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand$Version.parse(VersionCommand.java:168)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand$Version.parse(VersionCommand.java:146)}} > {{ at > org.netbeans.modules.subversion.client.cli.commands.VersionCommand.checkForErrors(VersionCommand.java:87)}} > {{ at > org.netbeans.modules.subversion.client.cli.CommandlineClient.checkSupportedVersion(CommandlineClient.java:132)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.checkVersion(SvnClientFactory.java:473)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.checkCLIExecutable(SvnClientFactory.java:430)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.setupCommandline(SvnClientFactory.java:403)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.setup(SvnClientFactory.java:222)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.init(SvnClientFactory.java:95)}} > {{ at > org.netbeans.modules.subversion.client.SvnClientFactory.isClientAvailable(SvnClientFactory.java:240)}} > {{ at > org.netbeans.modules.subversion.Annotator.checkClientAvailable(Annotator.java:638)}} > {{ at > org.netbeans.modules.subversion.Annotator.annotateNameHtml(Annotator.java:336)}} > {{[catch] at > org.netbeans.modules.subversion.FileStatusProvider.annotateName(FileStatusProvider.java:43)}} > {{ at > org.netbeans.modules.versioning.DelegatingVCS$2.annotateName(DelegatingVCS.java:219)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:631)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:663)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.access$1500(VersioningAnnotationProvider.java:486)}} > {{ at > org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache$AnnotationRefreshTask.run(VersioningAnnotationProvider.java:769)}} > {{ at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)}} > {{ at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)}} > {{ at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)}} > {{ at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}} > > > I think because I am using https://sliksvn.com/download/ -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2395) hint "Standard Javac Warnings-->Serialization" does not respect the "Warning on Current Line" option
Alvin Thompson created NETBEANS-2395: Summary: hint "Standard Javac Warnings-->Serialization" does not respect the "Warning on Current Line" option Key: NETBEANS-2395 URL: https://issues.apache.org/jira/browse/NETBEANS-2395 Project: NetBeans Issue Type: Bug Components: java - Hints Affects Versions: 11.0 Reporter: Alvin Thompson See summary; the "Warning on Current Line" option is treated the same as "Warning". -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2394) ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONObject
Vincenzo Luongo created NETBEANS-2394: - Summary: ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONObject Key: NETBEANS-2394 URL: https://issues.apache.org/jira/browse/NETBEANS-2394 Project: NetBeans Issue Type: Bug Affects Versions: 11.0 Reporter: Vincenzo Luongo Attachments: IDELOG, UILOG Update to netbeans 11, reload modules Oracle JS parser and HTML module Reinit the project and refresh indices, out this error -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2394) ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONObject
[ https://issues.apache.org/jira/browse/NETBEANS-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincenzo Luongo updated NETBEANS-2394: -- Attachment: UILOG IDELOG > ClassCastException: java.lang.String cannot be cast to > org.json.simple.JSONObject > - > > Key: NETBEANS-2394 > URL: https://issues.apache.org/jira/browse/NETBEANS-2394 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Vincenzo Luongo >Priority: Major > Attachments: IDELOG, UILOG > > > Update to netbeans 11, reload modules Oracle JS parser and HTML module > Reinit the project and refresh indices, out this error -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2384) multi module maven build stops with exception
[ https://issues.apache.org/jira/browse/NETBEANS-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815409#comment-16815409 ] Tobias Warneke edited comment on NETBEANS-2384 at 4/11/19 1:25 PM: --- It seems that Netbeans does not recognize this project as a valid Java Maven Project. PluginPropertyUtils.java {{NbMavenProjectImpl prj = project instanceof NbMavenProjectImpl ? (NbMavenProjectImpl)project : project.getLookup().lookup(NbMavenProjectImpl.class);}}{{assert prj != null;}}{{MavenProject mvnprj = prj.getOriginalMavenProject(); }} Therefore prj must be null. was (Author: wumpz): It seems that Netbeans does not recognize this project as a valid Java Maven Project. PluginPropertyUtils.java NbMavenProjectImpl prj = project instanceof NbMavenProjectImpl ? (NbMavenProjectImpl)project : project.getLookup().lookup(NbMavenProjectImpl.class); assert prj != null; MavenProject mvnprj = prj.getOriginalMavenProject(); Therefore prj must be null. > multi module maven build stops with exception > - > > Key: NETBEANS-2384 > URL: https://issues.apache.org/jira/browse/NETBEANS-2384 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.0 >Reporter: Tobias Warneke >Priority: Critical > > Using Netbeans 10, it works. > > > SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output > java.lang.NullPointerException > at > org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511) > at > org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127) > at > org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293) > at > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330) > 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) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: > Resolving dependencies took: 56 ms -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2384) multi module maven build stops with exception
[ https://issues.apache.org/jira/browse/NETBEANS-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815409#comment-16815409 ] Tobias Warneke edited comment on NETBEANS-2384 at 4/11/19 1:25 PM: --- It seems that Netbeans does not recognize this project as a valid Java Maven Project. PluginPropertyUtils.java NbMavenProjectImpl prj = project instanceof NbMavenProjectImpl ? (NbMavenProjectImpl)project : project.getLookup().lookup(NbMavenProjectImpl.class); assert prj != null; MavenProject mvnprj = prj.getOriginalMavenProject(); Therefore prj must be null. was (Author: wumpz): It seems that Netbeans does not recognize this project as a valid Java Maven Project. PluginPropertyUtils.java > multi module maven build stops with exception > - > > Key: NETBEANS-2384 > URL: https://issues.apache.org/jira/browse/NETBEANS-2384 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.0 >Reporter: Tobias Warneke >Priority: Critical > > Using Netbeans 10, it works. > > > SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output > java.lang.NullPointerException > at > org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511) > at > org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127) > at > org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293) > at > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330) > 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) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: > Resolving dependencies took: 56 ms -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2384) multi module maven build stops with exception
[ https://issues.apache.org/jira/browse/NETBEANS-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815409#comment-16815409 ] Tobias Warneke commented on NETBEANS-2384: -- It seems that Netbeans does not recognize this project as a valid Java Maven Project. PluginPropertyUtils.java > multi module maven build stops with exception > - > > Key: NETBEANS-2384 > URL: https://issues.apache.org/jira/browse/NETBEANS-2384 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.0 >Reporter: Tobias Warneke >Priority: Critical > > Using Netbeans 10, it works. > > > SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output > java.lang.NullPointerException > at > org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511) > at > org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127) > at > org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293) > at > org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330) > 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) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: > Resolving dependencies took: 56 ms -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2356) Clean+Build fires MalformedInputException
[ https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815332#comment-16815332 ] Nikolai Varankine commented on NETBEANS-2356: - Update having "nb-javac-impl.jar" has been installed successfully. Notifications area shows unexpected exception after update. I've reported it through NetBeans. After restart of NetBeans, the problem described in this ticket still exists. > Clean+Build fires MalformedInputException > - > > Key: NETBEANS-2356 > URL: https://issues.apache.org/jira/browse/NETBEANS-2356 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0 >Reporter: Nikolai Varankine >Priority: Major > Labels: ant, javac > Attachments: NB10wJDK8.zip, build.txt, clean+build.txt > > > Menu command Run / Clean and Build Project fails with exception: > {panel:title=Output - utility (clean,jar)} > An input/output error occurred. > Consult the following stack trace for details. > java.nio.charset.MalformedInputException: Input length = 1 > at > java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274) > at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) > at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) > at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185) > at java.base/java.io.BufferedReader.fill(BufferedReader.java:161) > at java.base/java.io.BufferedReader.read(BufferedReader.java:182) > at > jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143) > at > jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129) > at > jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71) > at > jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102) > at > jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123) > at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215) > at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170) > at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57) > at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43) > {panel} > +Investigation+ > This is a NetBeans 8.2 project in working state. It has been opened in > NetBeans 10, then project platform was updated to JDK11. No change to source > code was applied. > If a package "property" is compiled first by F9, followed by menu command Run > / Build Project, the command completes with success. Comparison of ant logs > (debug mode, see attached) indicates a difference in method how list of files > is delivered to javac compiler. In failed case (clean+build) a command line > construct @,,,\file... is used, In second lucky case (compile then build) it > is a sequence of explicit file paths. I suspect the construct "@" is created > in wrong charset. I expect UTF-8 must be used. Please note file names use > Russian text. I guess it will be corrupt with no UTF-8 used. System charset > is windows1251. > +Information+ > *Product Version:* Apache NetBeans IDE 10.0 (Build > incubator-netbeans-release-380-on-20181217) > *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 > *Runtime:* OpenJDK Runtime Environment 11.0.2+9 > *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb) > *Project sources:* JDK8 > *Project platform:* OpenJDK11 > *Compiles with:* -bootclasspath "C:\Program > Files\Java\jdk1.8.0_202\jre\lib\rt.jar" -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2393) add phan support
Marc Krämer created NETBEANS-2393: - Summary: add phan support Key: NETBEANS-2393 URL: https://issues.apache.org/jira/browse/NETBEANS-2393 Project: NetBeans Issue Type: Improvement Components: php - Code Analysis Reporter: Marc Krämer Currently netbeans supports a few tools like e.g. codesniffer. Starting with php 7, a tool called phan was developed which helps to avoid many coding errors and incompatibilities on classes and not matching types. It would be great if this tool is integrated. If this is used in daemon mode, errors can be found instantly: https://github.com/phan/phan/wiki/Editor-Support -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2392) Opening type from Go To Type fails
Netbeans User 2019 created NETBEANS-2392: Summary: Opening type from Go To Type fails Key: NETBEANS-2392 URL: https://issues.apache.org/jira/browse/NETBEANS-2392 Project: NetBeans Issue Type: Bug Components: java - Navigation, java - Platform, projects - Gradle Affects Versions: 10.0 Environment: Netbeans 10 and 11 Open JDK 11 Gradle 5.2.1 Reporter: Netbeans User 2019 It is simply not open a type that it is clicked from dialog and dialog is closed, but you have to type such type to editor and import it and then click it from there for sucessful open. It seems that does not happend for opened project/sub-projects sources, even seems no issue e.g. with junit or Java SE API sources. Additionally this is seen from notification after: java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.code.Type$ErrorType (com.sun.tools.javac.code.Type$ClassType and com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @27597305) at org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863) at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285) at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473) at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106) at org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275) at org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232) at org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) 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) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683) at org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152) at org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44) at org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118) at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99) at org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121) at org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToTypeAction.java:153) at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) at java.desktop/java.awt.Component.processEvent(Component.java:6409) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at
[jira] [Commented] (NETBEANS-2380) Netbeans update fails
[ https://issues.apache.org/jira/browse/NETBEANS-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815180#comment-16815180 ] Fleischer Zoltán commented on NETBEANS-2380: Great, thanks! > Netbeans update fails > - > > Key: NETBEANS-2380 > URL: https://issues.apache.org/jira/browse/NETBEANS-2380 > Project: NetBeans > Issue Type: Bug > Components: updatecenters - Pluginportal >Affects Versions: 11.0 > Environment: This is a fresh new installation of Nebeans 11 x64. > on Windows Microsoft Windows [Version 10.0.16299.1029] x64. > java -version > java version "1.8.0_201" > Java(TM) SE Runtime Environment (build 1.8.0_201-b09) > Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) > No proxy environment: Use System Proxy Settings >Reporter: Fleischer Zoltán >Assignee: Antonio Vieiro >Priority: Major > Labels: pull-request-available > Attachments: Screenshot_20190410_101509.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans Distribution URL: > https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz does not work. In > Plugins -> Updates -> Check for Updates I get the following Warning message: > *"Unable to connect to the NetBeans Distribution because of > [https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f]* > *Check your proxy settings or try again later. The server may be unavailable > at the moment. You may also want to make sure that your firewall is not > blocking network traffic."* > But my proxy setting is correct. For example the Plugin Portal is working: > [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz]. > The relevant part of the IDE Log: > INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: > Reading URL > https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f > failed (java.io.FileNotFoundException: > https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f) > INFO [org.netbeans.modules.autoupdate.ui.Utilities]: > https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f > java.io.FileNotFoundException: > https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) > at > sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) > at > sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) > at > sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) > at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) > at > org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:241) > at > org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57) > at > org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160) > Caused: java.io.FileNotFoundException: > https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944) > at > sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939) > at java.security.AccessController.doPrivileged(Native Method) > at > sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508) > at >
[jira] [Commented] (NETBEANS-84) Support for JSF 2.3
[ https://issues.apache.org/jira/browse/NETBEANS-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815126#comment-16815126 ] Geertjan Wielenga commented on NETBEANS-84: --- {quote}When Java EE 8 came out, I expected that NetBeans 9 would come out and support JSF 2.3. {quote} Only in a world where NetBeans was not in the middle of moving to Apache at the time. :-) > Support for JSF 2.3 > --- > > Key: NETBEANS-84 > URL: https://issues.apache.org/jira/browse/NETBEANS-84 > Project: NetBeans > Issue Type: Improvement > Components: javaee - JSF >Affects Versions: 8.2, 9.0, Next >Reporter: Philip Durbin >Priority: Critical > Attachments: netbeans-red-jsf2.3.png > > > One thing that struck me while attending Ed Burns' JSF talk[1] about JSF 2.3 > at JavaOne 2017 was a comment he made that autocompletion isn't working in > Netbeans for JSF 2.3 features. I would describe this as NetBeans 8.2 showing > "angry red" for components it doesn't understand, such as f:validateWholeBean. > As in the attached screenshot, an example error is "The component library Jsf > Core does not contain component validateWholeBean". > Here's the code from the screenshot: > https://github.com/javaee/glassfish-samples/blob/4b3a37500a256bb7d94e2abe273503c9fb017c6b/ws/javaee8/jsf/ee8additions/src/main/webapp/validateWholeBean.xhtml > In the past, NetBeans releases were coordinated with Java EE releases. When > Java EE 8 came out, I expected that NetBeans 9 would come out and support JSF > 2.3. When we onboard new developers, I would rather not say to them, "It's ok > to see angry red like this in NetBeans." > Incidentally, during Ed's talk I asked if he knew if JSF 2.3 is supported by > IntelliJ or Eclipse and he wasn't aware if they support it or not. > !netbeans-red-jsf2.3.png|thumbnail! > !https://issues.apache.org/jira/secure/attachment/12891266/netbeans-red-jsf2.3.png|height=300,width=444! > [1] Contemporary Java Web Applications with JSF 2.3 - > https://www.youtube.com/watch?v=yshXLB_HdhU -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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