[jira] [Resolved] (NETBEANS-194) JShell integration causes NULL Pointer exception on JDK9

2017-12-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-194.
---
Resolution: Fixed

> JShell integration causes NULL Pointer exception on JDK9
> 
>
> Key: NETBEANS-194
> URL: https://issues.apache.org/jira/browse/NETBEANS-194
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JShell
>Affects Versions: 9.0
>Reporter: Matthias Bläsing
>Assignee: Matthias Bläsing
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> I ran netbeans with JDK 9.0.1 and tested the JShell integration. While 
> running it, I received two NullPointerExceptions:
> *Steps to reproduce:*
> - run netbeans with JDK 9.0.1: {{ant -Dnbjdk.home= tryme}}
> - Create a "Java Application" project.
> - Choose "Execute Java Shell"
> - Observe the output in the console
> *Result 1: Exception instead of JShell:*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilderOnJDK9(ShellSession.java:787)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:743)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
>  [exec] [catch] at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
>  [exec]   at 
> org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
>  [exec]   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  [exec]   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  [exec]   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  [exec]   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> *After fix (return empty list instead of NULL):*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.env.JShellEnvironment.customizeJShell(JShellEnvironment.java:270)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
>  [exec] [catch] at 
> org.netbeans.modules.jshell.sup

[jira] [Commented] (NETBEANS-120) Discuss and design Download(s) area for new website

2018-01-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307436#comment-16307436
 ] 

Markus Kilås commented on NETBEANS-120:
---

Please make secure installation easier for those that care about what runs on 
their systems or on the systems for which they might use the IDE to develop 
software for by providing the necessary means of verifying the software.

In particular:
- Both download page/site and the download target should use HTTPS
- Provide hashes (minimum SHA-256) on a secure (i.e. HTTPS) page on a 
Apache/NetBeans server
- Digitally sign the releases (for example use Authenticode for the Windows 
binaries/installers and OpenPGP for the Linux and ZIP releases)

> Discuss and design Download(s) area for new website
> ---
>
> Key: NETBEANS-120
> URL: https://issues.apache.org/jira/browse/NETBEANS-120
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>
> The new web site will need a Download/s area. See other Apache projects for 
> ideas, but specifically, see the Groovy site 
> http://groovy-lang.org/download.html. Too, will NetBeans continue to have 
> various "lightweight" installers such as the C/C++, PHP, or Java only 
> configurations like at the current site? These are different decisions which 
> need to be made which can have impacts on the design of the downloads page.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA
Markus Kilås created NETBEANS-239:
-

 Summary: Build failure: org-netbeans-modules-websvc-saas-api.jar 
is not a module
 Key: NETBEANS-239
 URL: https://issues.apache.org/jira/browse/NETBEANS-239
 Project: NetBeans
  Issue Type: Bug
 Environment: Fedora release 25 (Twenty Five)
javac 1.8.0_151
Apache Ant(TM) version 1.9.6 compiled on February 3 2016
Reporter: Markus Kilås
 Attachments: ant-output.txt

I just cloned the [incubator-netbeans git 
repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} to 
build NetBeans. However the build fails complaining on no manifest for the 
all-websvc.saas.api. Am I missing something that needs to be configured for the 
build to succeed?

{noformat}
[user@dev-disp incubator-netbeans]$ git pull
Already up-to-date.
[user@dev-disp incubator-netbeans]$ git rev-parse HEAD
f8b6323b690b5edafe91bae750f79db4247dd23c
[user@dev-disp incubator-netbeans]$ ant
Buildfile: 
/home/user/VersionControlled/github/apache/incubator-netbeans/build.xml

... snip ...

projectized-common.release:
 [copy] Copying 1 file to 
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon

release:

-init-startlevel:

module-xml-regular:
  [nbmerge] Failed to build target: all-websvc.saas.api

BUILD FAILED
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
 Missing manifest tag OpenIDE-Module; 
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
 is not a module

Total time: 1 minute 12 seconds
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307473#comment-16307473
 ] 

Markus Kilås commented on NETBEANS-239:
---

Apache Ant(TM) version 1.9.6 compiled on February 3 2016.
I will try with 1.10.1 instead and see if that goes better.

> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: Fedora release 25 (Twenty Five)
> javac 1.8.0_151
> Apache Ant(TM) version 1.9.6 compiled on February 3 2016
>Reporter: Markus Kilås
> Attachments: ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Kilås updated NETBEANS-239:
--
Environment: 
Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache Ant(TM) 
version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 1.9.9 or 
above required)
Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) 
version 1.10.1 compiled on March 1 2017

  was:
Fedora release 25 (Twenty Five)
javac 1.8.0_151
Apache Ant(TM) version 1.9.6 compiled on February 3 2016


> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
>Reporter: Markus Kilås
> Attachments: ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307481#comment-16307481
 ] 

Markus Kilås commented on NETBEANS-239:
---

Oh, sorry I missed that.

However, I now switched to Fedora 26 (labeled Environment 2 above) which has 
Ant 1.10.1 and I get a similar error message about the same module:

{noformat}
... snip ...
jar:
[jarwithmoduleattributes] Building jar: 
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
  [nbmerge] Failed to build target: all-websvc.saas.api

BUILD FAILED
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
 The following error occurred while executing this line:
/home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:252:
 Could not find default manifest: /org/apache/tools/ant/defaultManifest.mf

Total time: 8 minutes 15 seconds
{noformat}

I did run "ant clean && ant" so I assume nothing generated with the old Ant 
version should still be there.


> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
>     URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
>Reporter: Markus Kilås
> Attachments: ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Kilås updated NETBEANS-239:
--
Attachment: ant-output-environment-2.txt

> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
>Reporter: Markus Kilås
> Attachments: ant-output-environment-2.txt, ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307488#comment-16307488
 ] 

Markus Kilås commented on NETBEANS-239:
---

Ok, good idea. However, I got the same also after doing:
{noformat}
cd .. 
mv incubator-netbeans/ incubator-netbeans-unclean
git clone https://github.com/apache/incubator-netbeans.git
cd incubator-netbeans
ant
{noformat}

> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
>Reporter: Markus Kilås
> Attachments: ant-output-environment-2.txt, ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module

2018-01-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Kilås updated NETBEANS-239:
--
Environment: 
- Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache 
Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 
1.9.9 or above required)
- Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on March 1 2017
- Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
ant.apache.org)

  was:
Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache Ant(TM) 
version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 1.9.9 or 
above required)
Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) 
version 1.10.1 compiled on March 1 2017


> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: - Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
> - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
> ant.apache.org)
>Reporter: Markus Kilås
> Attachments: ant-output-environment-2.txt, ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with Fedora Ant package

2018-01-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Kilås updated NETBEANS-239:
--
Environment: 
- Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache 
Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 
1.9.9 or above required)
- Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on March 1 2017
- Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
ant.apache.org) works

  was:
- Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache 
Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 
1.9.9 or above required)
- Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on March 1 2017
- Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
ant.apache.org)

Summary: Build failure: org-netbeans-modules-websvc-saas-api.jar is not 
a module with Fedora Ant package  (was: Build failure: 
org-netbeans-modules-websvc-saas-api.jar is not a module)

I finally managed to build successfully.

I manually downloaded the official Ant binary release and set ANT_HOME and 
added it to the path and deleted both clones of the repo:
{noformat}
export ANT_HOME=/home/user/Opt/apache-ant-1.10.1/
export PATH=/home/user/Opt/apache-ant-1.10.1/bin:$PATH
ant -version
rm incubator-netbeans incubator-netbeans-unclean/ -rf
git clone https://github.com/apache/incubator-netbeans.git
cd incubator-netbeans/
ant
... snip ...
BUILD SUCCESSFUL
Total time: 7 minutes 35 seconds
{noformat}

It seems the issue is when using the Fedora Ant package (compiled in March) as 
it works with the Apache Ant package of same version but from February. Maybe 
the official Apache package contains something more that is not included in the 
Fedora package (just a guess).

I also double-checked that I was able to reproduce the issue by again removing 
the clone, check it out again and try to build with the Fedora Ant which gives 
the same error.

Summary:
- Environment 1 does not work (but that was somewhat expected as it was Ant 
<1.9.9).
- Environment 2 with the Fedora packaged Ant 1.10.1 from March does not work.
- Environment 3 with the official Apache Ant 1.10.1 from February works.


> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with 
> Fedora Ant package
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: - Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required)
> - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017
> - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
> ant.apache.org) works
>Reporter: Markus Kilås
> Attachments: ant-output-environment-2.txt, ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The f

[jira] [Created] (NETBEANS-240) Potential system compromise: nb-javac library unsigned

2018-01-01 Thread JIRA
Markus Kilås created NETBEANS-240:
-

 Summary: Potential system compromise: nb-javac library unsigned
 Key: NETBEANS-240
 URL: https://issues.apache.org/jira/browse/NETBEANS-240
 Project: NetBeans
  Issue Type: Bug
Reporter: Markus Kilås
Priority: Critical


During startup of NetBeans the user is prompted to choose a javac library. 
However, the recommended one, nbjavac, is fetched over an insecure connection 
(both plugin metadata and the actually binaries are fetched over HTTP from 
bits.netbeans.org and lahoda.info) and the binaries are unsigned.

The plugin system does the right thing and warns the user about the unsigned 
plugins. However, if the user anyway ignores the warnings the system could 
easily be compromised. The risk of choosing the insecure alternative is also 
larger due to that the user gets very mixed messages as the insecure option is 
first "Highly recommended" and then there is a warning that it is "potentially 
insecure".

Binary being fetched from lahoda.info on HTTP port 80:
{noformat}
GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.8.0_151
Host: lahoda.info
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 17626
Date: Mon, 01 Jan 2018 17:49:45 GMT
Server: lighttpd/1.4.42

PK..
KMETA-INF/PK..
...
{noformat}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-217) ClassCastException when editing Git commit message

2018-01-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308509#comment-16308509
 ] 

Matthias Bläsing commented on NETBEANS-217:
---

Thomas, could you please check netbeans master? I checked the PR and found the 
git commit message editing problem gone (and the undo still working). The PR 
was merged into master. Thank you!

> ClassCastException when editing Git commit message
> --
>
> Key: NETBEANS-217
> URL: https://issues.apache.org/jira/browse/NETBEANS-217
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 9.0
> Environment: Windows 10
> Java 9
> Build: incubator-netbeans-linux-268-on-20171213
>Reporter: Thomas Kellerer
>  Labels: Java9-IDE
>
> When editing the commit message in a Git commit window, every keystroke 
> generates the following exception:
> {noformat}
> java.lang.ClassCastException: 
> java.desktop/javax.swing.text.AbstractDocument$DefaultDocumentEventUndoableWrapper
>  cannot be cast to 
> java.desktop/javax.swing.text.AbstractDocument$DefaultDocumentEvent
>   at 
> org.netbeans.modules.versioning.util.UndoRedoSupport$CompoundUndoManager.undoableEditHappened(UndoRedoSupport.java:111)
>   at 
> java.desktop/javax.swing.text.AbstractDocument.fireUndoableEditUpdate(AbstractDocument.java:293)
>   at 
> java.desktop/javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:632)
>   at 
> java.desktop/javax.swing.text.AbstractDocument.remove(AbstractDocument.java:596)
>   at 
> java.desktop/javax.swing.text.DefaultEditorKit$DeletePrevCharAction.actionPerformed(DefaultEditorKit.java:1075)
>   at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1805)
>   at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2901)
>   at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2949)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2863)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6355)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2259)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4961)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1955)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:827)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1096)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:966)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:792)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4842)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2758)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
>   at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
>   at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:99)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:739)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:737)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:1

[jira] [Commented] (NETBEANS-240) Potential system compromise: nb-javac library unsigned

2018-01-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309477#comment-16309477
 ] 

Markus Kilås commented on NETBEANS-240:
---

That's great. Then it will also be properly signed I suppose?

> Potential system compromise: nb-javac library unsigned
> --
>
> Key: NETBEANS-240
> URL: https://issues.apache.org/jira/browse/NETBEANS-240
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Markus Kilås
>Priority: Critical
>
> During startup of NetBeans the user is prompted to choose a javac library. 
> However, the recommended one, nbjavac, is fetched over an insecure connection 
> (both plugin metadata and the actually binaries are fetched over HTTP from 
> bits.netbeans.org and lahoda.info) and the binaries are unsigned.
> The plugin system does the right thing and warns the user about the unsigned 
> plugins. However, if the user anyway ignores the warnings the system could 
> easily be compromised. The risk of choosing the insecure alternative is also 
> larger due to that the user gets very mixed messages as the insecure option 
> is first "Highly recommended" and then there is a warning that it is 
> "potentially insecure".
> Binary being fetched from lahoda.info on HTTP port 80:
> {noformat}
> GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.8.0_151
> Host: lahoda.info
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> HTTP/1.1 200 OK
> Content-Type: application/octet-stream
> Accept-Ranges: bytes
> Content-Length: 17626
> Date: Mon, 01 Jan 2018 17:49:45 GMT
> Server: lighttpd/1.4.42
> PK..
> KMETA-INF/PK..
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-239) Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with Fedora Ant package

2018-01-05 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Kilås updated NETBEANS-239:
--
Environment: 
- Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache 
Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 
1.9.9 or above required): fails
- Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on March 1 2017: Fails
- Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
ant.apache.org): works
- Environment 4: Debian 9.3 (Stretch), javac 1.8.0_151, Apache Ant(TM) version 
1.9.9 compiled on March 1 2017: works

  was:
- Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache 
Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 
1.9.9 or above required)
- Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on March 1 2017
- Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
ant.apache.org) works

   Priority: Minor  (was: Major)

Also works great compiling with Debian 9 (which has Ant 1.9.9).

> Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with 
> Fedora Ant package
> ---
>
> Key: NETBEANS-239
> URL: https://issues.apache.org/jira/browse/NETBEANS-239
> Project: NetBeans
>  Issue Type: Bug
> Environment: - Environment 1: Fedora release 25 (Twenty Five), javac 
> 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected 
> failure as Ant 1.9.9 or above required): fails
> - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on March 1 2017: Fails
> - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache 
> Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from 
> ant.apache.org): works
> - Environment 4: Debian 9.3 (Stretch), javac 1.8.0_151, Apache Ant(TM) 
> version 1.9.9 compiled on March 1 2017: works
>Reporter: Markus Kilås
>Priority: Minor
> Attachments: ant-output-environment-2.txt, ant-output.txt
>
>
> I just cloned the [incubator-netbeans git 
> repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} 
> to build NetBeans. However the build fails complaining on no manifest for the 
> all-websvc.saas.api. Am I missing something that needs to be configured for 
> the build to succeed?
> {noformat}
> [user@dev-disp incubator-netbeans]$ git pull
> Already up-to-date.
> [user@dev-disp incubator-netbeans]$ git rev-parse HEAD
> f8b6323b690b5edafe91bae750f79db4247dd23c
> [user@dev-disp incubator-netbeans]$ ant
> Buildfile: 
> /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml
> ... snip ...
> projectized-common.release:
>  [copy] Copying 1 file to 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon
> release:
> -init-startlevel:
> module-xml-regular:
>   [nbmerge] Failed to build target: all-websvc.saas.api
> BUILD FAILED
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511:
>  The following error occurred while executing this line:
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267:
>  Missing manifest tag OpenIDE-Module; 
> /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar
>  is not a module
> Total time: 1 minute 12 seconds
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-96) New PAC Script evaluator

2018-01-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-96.
--
   Resolution: Fixed
 Assignee: lbruun
Fix Version/s: 9.0

Marking this as resolved. The PR was merged and is present in master. Thanks 
again.

> New PAC Script evaluator
> 
>
> Key: NETBEANS-96
> URL: https://issues.apache.org/jira/browse/NETBEANS-96
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: lbruun
>Assignee: lbruun
>  Labels: pull-request-available
> Fix For: 9.0
>
>
> The current [PAC script|https://en.wikipedia.org/wiki/Proxy_auto-config] 
> evaluator (in {{core.network}}) was developed pre-Nashorn and has a few 
> problems:
> * It simply fails with Nashorn - but not with Rhino - if the downloaded 
> script uses {{isInNet()}}. This was reported in [Bug 
> 245116|https://netbeans.org/bugzilla/show_bug.cgi?id=245116]. It fails 
> silently in this case and defaults to no proxy. The user will never know the 
> reason - not even by looking in the message log - that there was an error.
> * It doesn't  implement two mandatory JavaScript helper methods, 
> {{dnsResolve()}} and {{myIpAddress()}}. This is a known issue. This causes 
> many PAC scripts to silently fail. 
> * It doesn't implement Microsoft's IPv6-aware additions to the PAC standard. 
> This is a problem in MS shops because they will have designed their PAC 
> script to be compatible with MS IE and MS Edge (which unsurprisingly support 
> these functions .. as do Chrome).
> * It uses a small JavaScript helper, {{nsProxyAutoConfig.js}}, which uses a 
> license which is not compatible with Apache. This is described in NETBEANS-4.
> * Isn't executing the downloaded PAC script in a sandboxed environment. (The 
> PAC script should be treated as hostile because the download may have been 
> spoofed. Browsers indeed treat the PAC script as hostile and so should 
> NetBeans).
> Pull Request with a new implementation is on its way.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-4) Elect MPL for the core.network nsProxyAutoConfig.js

2018-01-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-4.
-
   Resolution: Fixed
Fix Version/s: 9.0

nsProxyAutoConfig.js was removed in favor of "the new PAC evaluator". See the 
referenced jira issue for information.

> Elect MPL for the core.network nsProxyAutoConfig.js
> ---
>
> Key: NETBEANS-4
> URL: https://issues.apache.org/jira/browse/NETBEANS-4
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Priority: Trivial
>  Labels: cleanup
> Fix For: 9.0
>
>
> platform/core.network uses nsProxyAutoConfig.js which has a triple-license 
> MPL 1.1, GPL v2 and greater, LGPL 2.1 and greater.
> From these NetBeans picked LGPL-2.1.
> I believe the Mozilla Public License 1.1 would be a much better pick for 
> Apache NetBeans.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-81) libs.bytelist is LGPL licensed

2018-01-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-81.
--
   Resolution: Fixed
Fix Version/s: 9.0

This was fixed via: 
https://github.com/apache/incubator-netbeans/commit/84ffdfba02c48b70f2527fb899ebab26b26f590d#diff-6a1904dd01bd4cece9d295e8f00fcc78

Long story short: recent versions of byteliste are tripple licensed: GPL3 / 
LGPL3 / EPL 1.0. We choose ELP1.0.

> libs.bytelist is LGPL licensed
> --
>
> Key: NETBEANS-81
> URL: https://issues.apache.org/jira/browse/NETBEANS-81
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next
>Reporter: Antonio Vieiro
>  Labels: licensing
> Fix For: 9.0
>
>
> As requested in [PR #83 
> ](https://github.com/apache/incubator-netbeans/pull/83#issuecomment-335010015)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-126) Browser icons needs to be re-instated

2018-01-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-126.
---
   Resolution: Fixed
Fix Version/s: 9.0

This was merged.

> Browser icons needs to be re-instated
> -
>
> Key: NETBEANS-126
> URL: https://issues.apache.org/jira/browse/NETBEANS-126
> Project: NetBeans
>  Issue Type: Bug
>Reporter: lbruun
>Assignee: lbruun
>Priority: Minor
>  Labels: donation-fixes, pull-request-available
> Fix For: 9.0
>
> Attachments: css-editor-icons-usage.png, css-editor-icons.png, 
> nb-icon.png, web-browser-api-icons.png
>
>
> A number of browser icons were "removed" from the donation, in [this 
> changeset|http://hg.netbeans.org/releases/rev/034a0c65c347?revcount=1500]. 
> They weren't actually removed, rather they were all replaced with a dummy 
> NetBeans icon. I think Oracle removed them because Oracle couldn't donate 
> such icons, as they don't "own" these trademarks.
> h2. Module path "css.editor"
> Removed from {{css.editor}}:
> !css-editor-icons.png!
> The browser icons in this module are - as far as I can tell - only used for 
> code completion hints on CSS where they are used to signal if the browser has 
> support for the CSS property or not. Example:
> !css-editor-icons-usage.png!
> h2. Module path "web.browser.api"
> Removed from {{web.browser.api}}:
> !web-browser-api-icons.png!
> The above icons are all replaced in the donation with a dummy NetBeans icon: 
> !nb-icon.png! 
> I'll do a PR to re-instate these.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-149) Standard Max Heap Size is 64m - way too small

2018-01-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-149.
---
Resolution: Fixed

This was merged.

> Standard Max Heap Size is 64m - way too small
> -
>
> Key: NETBEANS-149
> URL: https://issues.apache.org/jira/browse/NETBEANS-149
> Project: NetBeans
>  Issue Type: Bug
>Reporter: lbruun
>Assignee: lbruun
>Priority: Trivial
>  Labels: pull-request-available
>
> A thing that have always annoyed me when creating applications on NetBeans 
> Platform is that the max heap size is defined explicitly in the {{app.conf}} 
> to 64 MB. As a default value, this is much too low.
> I don't know why the value was set. Apparently (from Mecurial's history) it 
> dates back to 2005. Perhaps the idea is that if setting a ridiculously low 
> value it will force the developer to change his application's {{myapp.conf}} 
> file?  But I'm guessing this wasn't the intention, even in 2005.
> Suggesting to remove both the min and the max heap from this file to make 
> adoption of Platform easier for newbies and give them less surprises.
> (note: The 64 MB limit doesn't effect the IDE as it uses its own customized 
> version of the {{.conf}} file)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-258) Opening a maven project fails on JDK 8 without nb-javac

2018-01-08 Thread JIRA
Matthias Bläsing created NETBEANS-258:
-

 Summary: Opening a maven project fails on JDK 8 without nb-javac
 Key: NETBEANS-258
 URL: https://issues.apache.org/jira/browse/NETBEANS-258
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler
Affects Versions: 9.0
Reporter: Matthias Bläsing
 Attachments: maven-no-nbjavac-jdk8.txt

Netbeans 9 fails to open maven projects when run on JDK 8 without nb-javac 
installed.

This can be reproduced, when the above per-requisites are satisfied, just open 
a maven project.

The stacktrace of the exception is attached.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-265) Cannot set current thread while debugging

2018-01-11 Thread JIRA
Jiří Kovalský created NETBEANS-265:
--

 Summary: Cannot set current thread while debugging
 Key: NETBEANS-265
 URL: https://issues.apache.org/jira/browse/NETBEANS-265
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Affects Versions: 8.2
Reporter: Jiří Kovalský
 Attachments: exception.txt, messages.log, uilog-869499.xml

User cannot set current thread while Projects view is opened and not Debugging 
view as IDE throws NullPointerException.

*Steps to reproduce:*
# Open MemoryViewAnt project
# Right click Source Packages > tests > ThreadSuspending.java file node
# Invoke Debug File from its popup menu
# Invoke Debug > Pause from main menu
# Switch to Projects view
# Invoke Debug > Set Current Thread from main menu

*Expected:* A small popup window opens and allows to select one of suspended 
threads
*Actual:* Exception is thrown and nothing else happens



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-265) Cannot set current thread while debugging

2018-01-11 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-265:
---
Description: 
User cannot set current thread while Projects view is opened and not Debugging 
view as IDE throws NullPointerException - see attached file.

*Steps to reproduce:*
# Open MemoryViewAnt project
# Right click Source Packages > tests > ThreadSuspending.java file node
# Invoke Debug File from its popup menu
# Invoke Debug > Pause from main menu
# Switch to Projects view
# Invoke Debug > Set Current Thread from main menu

*Expected:* A small popup window opens and allows to select one of suspended 
threads
*Actual:* Exception is thrown and nothing else happens

  was:
User cannot set current thread while Projects view is opened and not Debugging 
view as IDE throws NullPointerException.

*Steps to reproduce:*
# Open MemoryViewAnt project
# Right click Source Packages > tests > ThreadSuspending.java file node
# Invoke Debug File from its popup menu
# Invoke Debug > Pause from main menu
# Switch to Projects view
# Invoke Debug > Set Current Thread from main menu

*Expected:* A small popup window opens and allows to select one of suspended 
threads
*Actual:* Exception is thrown and nothing else happens


> Cannot set current thread while debugging
> -
>
> Key: NETBEANS-265
> URL: https://issues.apache.org/jira/browse/NETBEANS-265
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 8.2
>Reporter: Jiří Kovalský
> Attachments: exception.txt, messages.log, uilog-869499.xml
>
>
> User cannot set current thread while Projects view is opened and not 
> Debugging view as IDE throws NullPointerException - see attached file.
> *Steps to reproduce:*
> # Open MemoryViewAnt project
> # Right click Source Packages > tests > ThreadSuspending.java file node
> # Invoke Debug File from its popup menu
> # Invoke Debug > Pause from main menu
> # Switch to Projects view
> # Invoke Debug > Set Current Thread from main menu
> *Expected:* A small popup window opens and allows to select one of suspended 
> threads
> *Actual:* Exception is thrown and nothing else happens



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-240) Potential system compromise: nb-javac library unsigned

2018-01-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325539#comment-16325539
 ] 

Markus Kilås commented on NETBEANS-240:
---

Now with the beta (rc1) the binaries are fetched from plugins.netbeans.org but 
still over a potentially insecure connection (i.e. not using HTTPS) and the 
artifacts are signed with an untrusted signature.

Beginning of HTTP stream (on port 80):
{noformat}
GET /nbpluginportal/files/nbms/z9518_org-netbeans-modules-nbjavac.nbm HTTP/1.1
User-Agent: Java/9-Debian
Host: plugins.netbeans.org
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

HTTP/1.1 200 OK
X-Content-Security-Policy: allow 'self' 'unsafe-inline' 'unsafe-eval' 
netbeans.org
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Type: application/octet-stream
Accept-Ranges: bytes
ETag: "2135653249"
Last-Modified: Thu, 11 Jan 2018 01:15:46 GMT
Content-Length: 19416
Date: Sun, 14 Jan 2018 12:13:13 GMT
Server: lighttpd/1.4.39

PK
."LMETA-INF/MANIFEST.MF..
{noformat}

Untrusted and self-signed certificate (that I got, but could have been replaced 
by a MitM):
{noformat}
[
[
  Version: V3
  Subject: CN=Jan Lahoda, OU=Unknown, O=Unknown, L=Unknown, ST=Czech Republic, 
C=CZ
  Signature Algorithm: SHA1withDSA, OID = 1.2.840.10040.4.3

  Key:  Sun DSA Public Key
Parameters:DSA
p: fd7f5381 1d751229 52df4a9c 2eece4e7 f611b752 3cef4400 c31e3f80 
b6512669
455d4022 51fb593d 8d58fabf c5f5ba30 f6cb9b55 6cd7813b 801d346f f26660b7
6b9950a5 a49f9fe8 047b1022 c24fbba9 d7feb7c6 1bf83b57 e7c6a8a6 150f04fb
83f6d3c5 1ec30235 54135a16 9132f675 f3ae2b61 d72aeff2 2203199d d14801c7
q: 9760508f 15230bcc b292b982 a2eb840b f0581cf5
g: f7e1a085 d69b3dde cbbcab5c 36b857b9 7994afbb fa3aea82 f9574c0b 
3d078267
5159578e bad4594f e6710710 8180b449 167123e8 4c281613 b7cf0932 8cc8a6e1
3c167a8b 547c8d28 e0a3ae1e 2bb3a675 916ea37f 0bfa2135 62f1fb62 7a01243b
cca4f1be a8519089 a883dfe1 5ae59f06 928b665e 807b5525 64014c3b fecf492a

  y:
5b791985 6d375d42 41f6d5e8 9cd981fb fd3a9b8f e8d4188f e0155737 179f9a7b
bac15992 628d4ce6 cb1f6f72 c2cdee3c bf71215d 8415c970 be178dc5 4f415482
02c191d8 4dd6ae36 ce107b4b 128cd709 2c5d14d1 99f4add4 e952fe39 46af4bc3
270ac694 7da69f43 074f8443 6c40b111 22e936ed 19570617 43c85566 8d7183f5

  Validity: [From: Sun Dec 17 20:07:43 CET 2017,
   To: Sat Mar 17 20:07:43 CET 2018]
  Issuer: CN=Jan Lahoda, OU=Unknown, O=Unknown, L=Unknown, ST=Czech Republic, 
C=CZ
  SerialNumber: [1523a8b6]

Certificate Extensions: 1
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
: 58 3E 59 F8 F5 91 96 CF   56 9B 44 9B 3D E2 F8 C3  X>Y.V.D.=...
0010: 23 DA E2 73#..s
]
]

]
  Algorithm: [SHA1withDSA]
  Signature:
: 30 2D 02 14 10 A2 97 4C   F7 A6 CE 33 05 0A E9 AD  0-.L...3
0010: 01 32 B7 8B 61 37 66 C3   02 15 00 97 53 62 23 F6  .2..a7f.Sb#.
0020: 6D 3E F1 F6 09 DA 37 F6   E8 20 18 EA EF 06 B2 m>7.. .

]
{noformat}

Not sure if this is a mistake or the proper signing is planned for after the 
beta release?



> Potential system compromise: nb-javac library unsigned
> --
>
> Key: NETBEANS-240
> URL: https://issues.apache.org/jira/browse/NETBEANS-240
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Markus Kilås
>Priority: Critical
>
> During startup of NetBeans the user is prompted to choose a javac library. 
> However, the recommended one, nbjavac, is fetched over an insecure connection 
> (both plugin metadata and the actually binaries are fetched over HTTP from 
> bits.netbeans.org and lahoda.info) and the binaries are unsigned.
> The plugin system does the right thing and warns the user about the unsigned 
> plugins. However, if the user anyway ignores the warnings the system could 
> easily be compromised. The risk of choosing the insecure alternative is also 
> larger due to that the user gets very mixed messages as the insecure option 
> is first "Highly recommended" and then there is a warning that it is 
> "potentially insecure".
> Binary being fetched from lahoda.info on HTTP port 80:
> {noformat}
> GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.8.0_151
> Host: lahoda.info
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> HTTP/1.1 200 OK
> Content-Type: application/octet-stream
> Accept-

[jira] [Commented] (NETBEANS-240) Potential system compromise: nb-javac library unsigned

2018-01-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325548#comment-16325548
 ] 

Markus Kilås commented on NETBEANS-240:
---

Oh, okay yes that could be a bigger topic.
But wouldn't that then be the same issue also for the other modules? For 
instance in the plugin portal I see that there are updates (i.e. for "IDE 
Platform", "Docker UI", "Local Tasks" and Ant) and those can be installed 
directly without any warning. They seems to be signed certificates.
I would assume the same process could be use to also sign the nb-javac library 
and we wouldn't have this issue, no?

> Potential system compromise: nb-javac library unsigned
> --
>
> Key: NETBEANS-240
> URL: https://issues.apache.org/jira/browse/NETBEANS-240
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Markus Kilås
>Priority: Critical
>
> During startup of NetBeans the user is prompted to choose a javac library. 
> However, the recommended one, nbjavac, is fetched over an insecure connection 
> (both plugin metadata and the actually binaries are fetched over HTTP from 
> bits.netbeans.org and lahoda.info) and the binaries are unsigned.
> The plugin system does the right thing and warns the user about the unsigned 
> plugins. However, if the user anyway ignores the warnings the system could 
> easily be compromised. The risk of choosing the insecure alternative is also 
> larger due to that the user gets very mixed messages as the insecure option 
> is first "Highly recommended" and then there is a warning that it is 
> "potentially insecure".
> Binary being fetched from lahoda.info on HTTP port 80:
> {noformat}
> GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.8.0_151
> Host: lahoda.info
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> HTTP/1.1 200 OK
> Content-Type: application/octet-stream
> Accept-Ranges: bytes
> Content-Length: 17626
> Date: Mon, 01 Jan 2018 17:49:45 GMT
> Server: lighttpd/1.4.42
> PK..
> KMETA-INF/PK..
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-240) Potential system compromise: nb-javac library unsigned

2018-01-14 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325548#comment-16325548
 ] 

Markus Kilås edited comment on NETBEANS-240 at 1/14/18 12:38 PM:
-

Oh, okay yes that could be a bigger topic.
But wouldn't that then be the same issue also for the other modules? For 
instance in the plugin portal I see that there are updates (i.e. for "IDE 
Platform", "Docker UI", "Local Tasks" and Ant) and those can be installed 
directly without any warning. They seems to be signed by Oracle certificates.
I would assume the same process could be use to also sign the nb-javac library 
and we wouldn't have this issue, no?


was (Author: netmackan):
Oh, okay yes that could be a bigger topic.
But wouldn't that then be the same issue also for the other modules? For 
instance in the plugin portal I see that there are updates (i.e. for "IDE 
Platform", "Docker UI", "Local Tasks" and Ant) and those can be installed 
directly without any warning. They seems to be signed certificates.
I would assume the same process could be use to also sign the nb-javac library 
and we wouldn't have this issue, no?

> Potential system compromise: nb-javac library unsigned
> --
>
> Key: NETBEANS-240
> URL: https://issues.apache.org/jira/browse/NETBEANS-240
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Markus Kilås
>Priority: Critical
>
> During startup of NetBeans the user is prompted to choose a javac library. 
> However, the recommended one, nbjavac, is fetched over an insecure connection 
> (both plugin metadata and the actually binaries are fetched over HTTP from 
> bits.netbeans.org and lahoda.info) and the binaries are unsigned.
> The plugin system does the right thing and warns the user about the unsigned 
> plugins. However, if the user anyway ignores the warnings the system could 
> easily be compromised. The risk of choosing the insecure alternative is also 
> larger due to that the user gets very mixed messages as the insecure option 
> is first "Highly recommended" and then there is a warning that it is 
> "potentially insecure".
> Binary being fetched from lahoda.info on HTTP port 80:
> {noformat}
> GET /netbeans/nb-javac-auc/org-netbeans-modules-nbjavac.nbm HTTP/1.1
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.8.0_151
> Host: lahoda.info
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> HTTP/1.1 200 OK
> Content-Type: application/octet-stream
> Accept-Ranges: bytes
> Content-Length: 17626
> Date: Mon, 01 Jan 2018 17:49:45 GMT
> Server: lighttpd/1.4.42
> PK..
> KMETA-INF/PK..
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
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-283) private_key in libs.git module should be renamed

2018-01-16 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327591#comment-16327591
 ] 

Matthias Bläsing commented on NETBEANS-283:
---

I disagree - the private key is located in a directory: *test/unit/data*. Of 
course the filename can also be adjusted, but IMHO that is over the top. >From 
the directory it is quite clear, that the private key has a purpose there.

> private_key in libs.git module should be renamed
> 
>
> Key: NETBEANS-283
> URL: https://issues.apache.org/jira/browse/NETBEANS-283
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> In  /libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java, a 
> private_key is referenced. That reference and the name of the private_key 
> should be changed to private_key_for_testing_only, so that it is clear what 
> it is for, i.e., it is not actually a private_key, which would be a problem 
> to include in a release, but a file used for test purposes only and, to avoid 
> confusion, should be named and referenced as such. 



--
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] [Resolved] (NETBEANS-276) Binaries wrongly included in source zip

2018-01-20 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-276.
---
   Resolution: Fixed
Fix Version/s: 9.0

The source package was rebuild after the changes done by Jan. The release 
voting and vetting of the zip was positive:

 
[https://lists.apache.org/thread.html/ff699b382e5498ca41e56315c9b97de83b3a625140b0ba451f828cfb@%3Cdev.netbeans.apache.org%3E]

Closing this then.

> Binaries wrongly included in source zip
> ---
>
> Key: NETBEANS-276
> URL: https://issues.apache.org/jira/browse/NETBEANS-276
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Antonio Vieiro
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: diff.txt
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The task that builds the zip file includes wrong jars.
> See [the mailing list for more 
> info|http://mail-archives.apache.org/mod_mbox/incubator-netbeans-dev/201801.mbox/browser]
> Differences are:
> incubator-netbeans$ diff -qr . ../extracted-source-files
> Only in .: .git
> Only in .: .gitattributes
> Only in .: .gitignore
> Only in .: .travis.yml
> Only in ../incubating: DEPENDENCIES
> Files ./LICENSE and ../incubating/LICENSE differ
> Files ./NOTICE and ../incubating/NOTICE differ
> Only in .: form.binding
> Only in .: hibernate
> Only in .: hibernate4lib
> Only in ../incubating/javahelp/external: jhall-2.0_05.jar
> Only in ../incubating/libs.junit4/external: hamcrest-core-1.3.jar
> Only in ../incubating/libs.junit4/external: junit-4.12.jar
> Only in .: libs.svnClientAdapter.svnkit
> Only in ../incubating/nbbuild: build
> Only in ../incubating/nbbuild/external: apache-rat-0.12.jar
> Only in ../incubating/nbbuild/external: apitest.jar
> Only in ../incubating/nbbuild/external: langtools-9.zip
> Only in ../incubating/nbbuild/external: vanilla-javac-api.jar
> Only in ../incubating/nbbuild/external: vanilla-javac-impl.jar
> Only in .: o.jdesktop.beansbinding
> Only in .: travis-check-line-endings.sh



--
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-299) Opening java class files causes IllegalArgumentException from JavacTool

2018-01-21 Thread JIRA
Matthias Bläsing created NETBEANS-299:
-

 Summary: Opening java class files causes IllegalArgumentException 
from JavacTool
 Key: NETBEANS-299
 URL: https://issues.apache.org/jira/browse/NETBEANS-299
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler
Affects Versions: 9.0
Reporter: Matthias Bläsing


I often open class files when browsing the maven dependencies of a project. 
With netbeans 9 I get exceptions from the JavacTool. It does not matter whether 
the maven project has sources associated or if the disassembler is used.

The exception:
{noformat}
java.lang.IllegalArgumentException: Compilation unit is not of SOURCE kind: 
"Encoder.class"
    at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:161)
    at 
org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:873)
    at 
org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:727)
    at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
    at 
org.netbeans.modules.java.source.parsing.ClassParser.getResult(ClassParser.java:160)
    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:514)
    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){noformat}
Steps to reproduce:
 * open a maven project with dependencies
 * open the dependencies node
 * select on dependency and expand it
 * open a class file by double clicking on it

When selecting a class file in the favorites window. It does not happen if the 
file is opened by the "Go to source" action invoked on the import statement for 
the corresponding class.



--
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] [Assigned] (NETBEANS-315) Resolve licensing of welcome/resources/rss-0_91.dtd

2018-01-23 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing reassigned NETBEANS-315:
-

Assignee: Matthias Bläsing

> Resolve licensing of welcome/resources/rss-0_91.dtd
> ---
>
> Key: NETBEANS-315
> URL: https://issues.apache.org/jira/browse/NETBEANS-315
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Matthias Bläsing
>Priority: Major
>
> How is this file licensed:
> welcome/src/org/netbeans/modules/welcome/resources/rss-0_91.dtd



--
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-314) Correct attribution for w3c licensed files

2018-01-23 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing updated NETBEANS-314:
--
Summary: Correct attribution for w3c licensed files  (was: Resolve 
licensing of DTDs/4_0/HTMLlat1.ent and similar)

> Correct attribution for w3c licensed files
> --
>
> Key: NETBEANS-314
> URL: https://issues.apache.org/jira/browse/NETBEANS-314
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> LICENSE is missing licenses for this IOS file (and about a dozen other files):
> html.editor/src/org/netbeans/modules/html/editor/resources/DTDs/4_0/HTMLlat1.ent



--
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] [Resolved] (NETBEANS-316) Resolve licensing of Transform.xsd and other W3C files

2018-01-23 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-316.
---
Resolution: Duplicate

> Resolve licensing of Transform.xsd and other W3C files
> --
>
> Key: NETBEANS-316
> URL: https://issues.apache.org/jira/browse/NETBEANS-316
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> LICENSE is missing licenses for this WC3 license file and a dozen others:
> src/org/netbeans/modules/xml/catalog/resources/Transform.xsd



--
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-314) Correct attribution for w3c licensed files

2018-01-23 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing updated NETBEANS-314:
--
Description: 
LICENSE is missing licenses for this IOS file (and about a dozen other files):

html.editor/src/org/netbeans/modules/html/editor/resources/DTDs/*

src/org/netbeans/modules/xml/catalog/resources/Transform.xsd

  was:
LICENSE is missing licenses for this IOS file (and about a dozen other files):

html.editor/src/org/netbeans/modules/html/editor/resources/DTDs/4_0/HTMLlat1.ent


> Correct attribution for w3c licensed files
> --
>
> Key: NETBEANS-314
> URL: https://issues.apache.org/jira/browse/NETBEANS-314
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> LICENSE is missing licenses for this IOS file (and about a dozen other files):
> html.editor/src/org/netbeans/modules/html/editor/resources/DTDs/*
> src/org/netbeans/modules/xml/catalog/resources/Transform.xsd



--
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-315) Resolve licensing of welcome/resources/rss-0_91.dtd

2018-01-23 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336351#comment-16336351
 ] 

Matthias Bläsing commented on NETBEANS-315:
---

>From my POV this file is not copyrightable. The major part is copied from the 
>HTML 3.2 DTD (without proper attribution ...), removing that and the comment 
>section there are about 25 lines, that declare how elements may be combined.

I'll see if replacing this with the HTML DTDs (to resolve the entities) works. 
As the license for them need to be handled anyway (NETBEANS-314) we should be 
good to go.

> Resolve licensing of welcome/resources/rss-0_91.dtd
> ---
>
> Key: NETBEANS-315
>     URL: https://issues.apache.org/jira/browse/NETBEANS-315
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Matthias Bläsing
>Priority: Major
>
> How is this file licensed:
> welcome/src/org/netbeans/modules/welcome/resources/rss-0_91.dtd



--
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-322) StackOverflowError at java.util.HashMap.putVal

2018-01-23 Thread JIRA
Pavel Železný created NETBEANS-322:
--

 Summary: StackOverflowError at java.util.HashMap.putVal
 Key: NETBEANS-322
 URL: https://issues.apache.org/jira/browse/NETBEANS-322
 Project: NetBeans
  Issue Type: Bug
 Environment: MacOsx
Reporter: Pavel Železný


Don't know what else to report here, but everytime I open the nighlty build of 
Netbeans (The just one with support for PHP 7.1), the error is shown. After 
close, this error is shown again and again.

 

More info about error is in the log: 
http://statistics.netbeans.org/analytics/exception.do?id=870471



--
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-322) StackOverflowError at java.util.HashMap.putVal

2018-01-23 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Železný updated NETBEANS-322:
---
Component/s: javascript - Other

> StackOverflowError at java.util.HashMap.putVal
> --
>
> Key: NETBEANS-322
> URL: https://issues.apache.org/jira/browse/NETBEANS-322
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Other
> Environment: MacOsx
>Reporter: Pavel Železný
>Priority: Major
>
> Don't know what else to report here, but everytime I open the nighlty build 
> of Netbeans (The just one with support for PHP 7.1), the error is shown. 
> After close, this error is shown again and again.
>  
> More info about error is in the log: 
> http://statistics.netbeans.org/analytics/exception.do?id=870471



--
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-330) NetBeans 9.0 UC hosted on Apache infra

2018-01-24 Thread JIRA
Jiří Kovalský created NETBEANS-330:
--

 Summary: NetBeans 9.0 UC hosted on Apache infra
 Key: NETBEANS-330
 URL: https://issues.apache.org/jira/browse/NETBEANS-330
 Project: NetBeans
  Issue Type: Task
  Components: website
Affects Versions: 9.0
Reporter: Jiří Kovalský


In order to keep measuring number of NetBeans active users also in the future 
we need to create an update center similar to 8.2 NetBeans Distribution UC [1] 
which will be hosted on Apache infrastructure and register it in the NetBeans 
9.0 FCS build. We are measuring this statistics since 2004 and stopping it now 
is not an option hence this is a blocker bug for 9.0 release.

[1] 
[http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz|http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339628#comment-16339628
 ] 

Matthias Bläsing commented on NETBEANS-311:
---

The XSDs fall under category b "source used at runtime" exception.

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-309) IP provenance of icons in Apache NetBeans

2018-01-25 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339705#comment-16339705
 ] 

Matthias Bläsing commented on NETBEANS-309:
---

My perspective: several images were removed by oracle when the donation was 
prepared. I so assume they are donated as the java sources are. The only other 
icons I'm aware of were merged in:

[https://github.com/apache/incubator-netbeans/commit/d4c6d52]

The icons were distributed with netbeans 8.2 so I considered them GPLv2-CDDL 
dual licensed. So from a copyright perspective they are CDDL for apache 
netbeans. This would be ok from my understanding of category-b definition:

[https://www.apache.org/legal/resolved.html#category-b]

> IP provenance of icons in Apache NetBeans 
> --
>
> Key: NETBEANS-309
> URL: https://issues.apache.org/jira/browse/NETBEANS-309
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> Currently a Rat exclusion excludes all images from Apache Rat runs. All the 
> images have been donated by Oracle. Needs to be clarified if/whether/how to 
> determine whether they belong to Apache and if/whether/how anything needs to 
> be stated about images in the NOTICE or LICENSE file or somewhere else.



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing updated NETBEANS-311:
--
Attachment: licenseinfo.xml

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: licenseinfo.xml
>
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing updated NETBEANS-311:
--
Attachment: (was: licenseinfo.xml)

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339838#comment-16339838
 ] 

Matthias Bläsing commented on NETBEANS-311:
---

I just noticed, that there is a whole thread on the incubator mailing list. Not 
sure when I will find time to work through that. I added my points to the 
issues here. What already added to one of the commits was, that we should not 
get trigger happy. Randomly removing files will not do and as a user, netbeans 
will be burned for me if the out of the box experience suffers (removing XSDs 
will do that). Removing files and moving them to a secondary location is also 
no solution - that just closes the eyes for reality (files are needed are part 
of the project).

As last productive reply - a thought for a solution:
 * add a "licenseinfo.xml" file to each module directory, that contains 
non-apache source files
 * let that file reference the files it covers
 * add info:
 ** are these files covered by a known license (licenseref)
 ** should these files excluded from rat (in most cases where this is needed 
this will be true)
 ** notice to hold additions to the notice file
 ** comment with the reasoning

This file could be verified at build-time:
 * are the referenced present
 * is the referenced license present in the license list

It could be used:
 * by reviewers to verify the reasoning
 * by the build system to:
 ** dynamicly build a rat exclude list with documented reasons
 ** pull NOTICE addtions from it
 ** include the necessary license info in the license file (I suggest to break 
the LICENSE file apart and reference separate files from there, that would make 
the file more readable)
 * by downstream users of the sources to provide the necessary info

I think having a file like this in the modules and not using a global rat 
exclude list would help understanding and could help with focused reviews.

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339838#comment-16339838
 ] 

Matthias Bläsing edited comment on NETBEANS-311 at 1/25/18 8:34 PM:


I just noticed, that there is a whole thread on the incubator mailing list. Not 
sure when I will find time to work through that. I added my points to the 
issues here. What already added to one of the commits was, that we should not 
get trigger happy. Randomly removing files will not do and as a user, netbeans 
will be burned for me if the out of the box experience suffers (removing XSDs 
will do that). Removing files and moving them to a secondary location is also 
no solution - that just closes the eyes for reality (files are needed are part 
of the project).

As last productive reply - a thought for a solution:
 * add a "licenseinfo.xml" file to each module directory, that contains 
non-apache source files
 * let that file reference the files it covers
 * add info:
 ** are these files covered by a known license (licenseref)
 ** should these files excluded from rat (in most cases where this is needed 
this will be true)
 ** notice to hold additions to the notice file
 ** comment with the reasoning

This file could be verified at build-time:
 * are the referenced present
 * is the referenced license present in the license list

It could be used:
 * by reviewers to verify the reasoning
 * by the build system to:
 ** dynamicly build a rat exclude list with documented reasons
 ** pull NOTICE addtions from it
 ** include the necessary license info in the license file (I suggest to break 
the LICENSE file apart and reference separate files from there, that would make 
the file more readable)
 * by downstream users of the sources to provide the necessary info

I think having a file like this in the modules and not using a global rat 
exclude list would help understanding and could help with focused reviews.

I attached a sample file.


was (Author: mblaesing):
I just noticed, that there is a whole thread on the incubator mailing list. Not 
sure when I will find time to work through that. I added my points to the 
issues here. What already added to one of the commits was, that we should not 
get trigger happy. Randomly removing files will not do and as a user, netbeans 
will be burned for me if the out of the box experience suffers (removing XSDs 
will do that). Removing files and moving them to a secondary location is also 
no solution - that just closes the eyes for reality (files are needed are part 
of the project).

As last productive reply - a thought for a solution:
 * add a "licenseinfo.xml" file to each module directory, that contains 
non-apache source files
 * let that file reference the files it covers
 * add info:
 ** are these files covered by a known license (licenseref)
 ** should these files excluded from rat (in most cases where this is needed 
this will be true)
 ** notice to hold additions to the notice file
 ** comment with the reasoning

This file could be verified at build-time:
 * are the referenced present
 * is the referenced license present in the license list

It could be used:
 * by reviewers to verify the reasoning
 * by the build system to:
 ** dynamicly build a rat exclude list with documented reasons
 ** pull NOTICE addtions from it
 ** include the necessary license info in the license file (I suggest to break 
the LICENSE file apart and reference separate files from there, that would make 
the file more readable)
 * by downstream users of the sources to provide the necessary info

I think having a file like this in the modules and not using a global rat 
exclude list would help understanding and could help with focused reviews.

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: licenseinfo.xml
>
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing updated NETBEANS-311:
--
Attachment: licenseinfo.xml

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
> URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: licenseinfo.xml
>
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-311) CDDL/GPL licensed files to be resolved

2018-01-25 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340204#comment-16340204
 ] 

Matthias Bläsing commented on NETBEANS-311:
---

For "external binaries" a host is needed. My reasoning: at least some of the 
DTDs/XSDs/ENT files were extracted from documents and are not hosted on other 
systems. So the ASF would need to provide a download server that hosts these 
"binaries". And this is what I consider "closing eyes for reality". At build 
time the files are needed and whether they are in the source package or they 
are fetched at build time is in my eyes the same (they are essential).

So if the ASF would be willing to host the files and so in turn to redistribute 
the files, then why should they not be hosted at the point where they are 
needed (the code repository)?

> CDDL/GPL licensed files to be resolved
> --
>
> Key: NETBEANS-311
>     URL: https://issues.apache.org/jira/browse/NETBEANS-311
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: licenseinfo.xml
>
>
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/orm_1_0.xsd
> j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/persistence_1_0.xsd
> websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/wadl20061109.xsd
> test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/SFS-Editors-Folder.zip/



--
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-330) NetBeans 9.0 UC hosted on Apache infra

2018-01-26 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340759#comment-16340759
 ] 

Jiří Kovalský commented on NETBEANS-330:


That would be great. What will the single NetBeans 9.0 Update Center URL look 
like then?

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz|http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]



--
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] [Resolved] (NETBEANS-315) Resolve licensing of welcome/resources/rss-0_91.dtd

2018-01-30 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-315.
---
   Resolution: Fixed
Fix Version/s: 9.0

The problematic file _rss-0_91.dtd_ was dropped in favor of using the XHTML 1.0 
transitional DTD and entity definitions. Attribution for  the W3C licenses 
files is provided via the license file.

> Resolve licensing of welcome/resources/rss-0_91.dtd
> ---
>
> Key: NETBEANS-315
> URL: https://issues.apache.org/jira/browse/NETBEANS-315
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> How is this file licensed:
> welcome/src/org/netbeans/modules/welcome/resources/rss-0_91.dtd



--
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] [Resolved] (NETBEANS-314) Correct attribution for w3c licensed files

2018-01-30 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-314.
---
   Resolution: Fixed
Fix Version/s: 9.0

Information for the licensing of the w3c sourced files is automaticly added to 
the LICENSE file.

> Correct attribution for w3c licensed files
> --
>
> Key: NETBEANS-314
> URL: https://issues.apache.org/jira/browse/NETBEANS-314
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
> Fix For: 9.0
>
>
> LICENSE is missing licenses for this IOS file (and about a dozen other files):
> html.editor/src/org/netbeans/modules/html/editor/resources/DTDs/*
> src/org/netbeans/modules/xml/catalog/resources/Transform.xsd



--
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-356) cannot setup remote build host with windows 7 and msys

2018-02-06 Thread JIRA
Stefan Strömer created NETBEANS-356:
---

 Summary: cannot setup remote build host with windows 7 and msys
 Key: NETBEANS-356
 URL: https://issues.apache.org/jira/browse/NETBEANS-356
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Remote
Affects Versions: 8.2
Reporter: Stefan Strömer


We still have legacy FORTRAN code for our projects which cannot be removed, so 
we have this in a shared library which is acessed via JNA. The library must be 
compiled for the target systems Windows 64 bit and Linux 64 bit.Our developers 
should be free to choose if they use windows 7 or linux as their environment. 
So our idea was to set up two remote build hosts, one with the toolchain for 
Linux and one with the toolchain for Windows.

On the windows build host we use
 * Windows 7 Enterprise 64bit SP1
 * msys2 64bit
 * min-gw 64bit toolchain
 * sshd from msys2

>From a Windows machine  with NetBeans IDE 8.2 (Build 201705191307) I was able 
>to set up the remote build host via some workarounds using -J 
>Dcnd.remote.sync.root.$(HOST)=

>From a linux machine with NetBeans IDE 8.2 (Build 201610071157) I get the 
>folowing error message when trying to build a small hello world example in 
>FORTRAN:

No shell found. Cannot proceed.
Please install either CYGWIN or Msys.



--
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] [Resolved] (NETBEANS-299) Opening java class files causes IllegalArgumentException from JavacTool

2018-02-17 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-299.
---
   Resolution: Fixed
Fix Version/s: 9.0

> Opening java class files causes IllegalArgumentException from JavacTool
> ---
>
> Key: NETBEANS-299
> URL: https://issues.apache.org/jira/browse/NETBEANS-299
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 9.0
>Reporter: Matthias Bläsing
>Priority: Critical
>  Labels: pull-request-available, regresion
> Fix For: 9.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> I often open class files when browsing the maven dependencies of a project. 
> With netbeans 9 I get exceptions from the JavacTool. It does not matter 
> whether the maven project has sources associated or if the disassembler is 
> used.
> The exception:
> {noformat}
> java.lang.IllegalArgumentException: Compilation unit is not of SOURCE kind: 
> "Encoder.class"
>     at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:161)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:873)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:727)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
>     at 
> org.netbeans.modules.java.source.parsing.ClassParser.getResult(ClassParser.java:160)
>     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:514)
>     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){noformat}
> Steps to reproduce:
>  * open a maven project with dependencies
>  * open the dependencies node
>  * select on dependency and expand it
>  * open a class file by double clicking on it
> When selecting a class file in the favorites window. It does not happen if 
> the file is opened by the "Go to source" action invoked on the import 
> statement for the corresponding class.



--
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] [Resolved] (NETBEANS-247) Exception thrown if sources artifact does not contain sources

2018-02-17 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-247.
---
   Resolution: Fixed
Fix Version/s: 9.0

After the merge of the fix for NETBEANS-299 I also checked this case. With a 
nightly build for 2018-02-02 I'm not able to reproduce the problem anymore.

I therefore mark this as resolved. If it is still reproducible feel free to 
reopen.

> Exception thrown if sources artifact does not contain sources
> -
>
> Key: NETBEANS-247
> URL: https://issues.apache.org/jira/browse/NETBEANS-247
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Fix For: 9.0
>
>
> It seems some people are publishing invalid artifacts to Maven Central and 
> ignoring bug reports asking them to fix it ;)
> When Netbeans encounters this (example below) it blows up. Let's see if we 
> can improve our error handling.
> Given:
>   
>   com.pusher
>   pusher-java-client
>   1.6.0
>   
> If you download Sources and Javadoc from Maven central you will discover that 
> the sources jar contains the javadoc and javadoc jar contains the sources. If 
> you open the dependency in the Projects tab, expand the artifact, and click 
> on any of the class files you will get the following exception:
> {code}
> java.lang.IllegalArgumentException: Compilation unit is not of SOURCE kind: 
> "Authorizer.class"
>   at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:161)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:873)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:727)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
>   at 
> org.netbeans.modules.java.source.parsing.ClassParser.getResult(ClassParser.java:160)
>   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:514)
>   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)
> {code}
> Expected behavior: Treat the file as if no sources are available (open the 
> decompiled representation). Don't throw an exception.
> Bonus points: Consider ignoring the artifact type and using the 
> sources/javadoc regardless of where you find them. If, however, multiple JARs 
> contain the sources or javadoc then favor the ones coming out of the 
> "correct" type 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] [Resolved] (NETBEANS-253) Exception for a complex watch when AP is enabled

2018-02-17 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-253.
---
   Resolution: Fixed
Fix Version/s: 9.0

Tested with the provided project on Oracle JDK 9.0.4 and OpenJDK 8u151 on 
Ubuntu Linux. Both worked correctly.

> Exception for a complex watch when AP is enabled
> 
>
> Key: NETBEANS-253
> URL: https://issues.apache.org/jira/browse/NETBEANS-253
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Jan Lahoda
>Assignee: Jan Lahoda
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: testWatch.zip
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Based on:
> https://netbeans.org/bugzilla/show_bug.cgi?id=270272
> reported by [~cowwoc].
> Unpack the attached project, open, place the breakpoint at the marked place 
> in testwatch.TestWatch, debug the project, and add this watch:
> ---
> java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(java.util.stream.Collectors.toList());
> ---
> This (with nb-javac on JDK 8) leads to:
> ---
> Annotation: During evaluation of 'java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(Collectors.toList());'
> Annotation: During evaluation of 'java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(Collectors.toList());'
> Annotation: During evaluation of 'java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(Collectors.toList());'
> During evaluation of 'java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(Collectors.toList());'
> During evaluation of 'java.util.Arrays.stream(args).map(s -> 
> s.length()).collect(Collectors.toList());'
> Caused: java.net.MalformedURLException: no protocol: testwatch/TestWatch
>   at java.net.URL.(URL.java:593)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.asURL(ProxyFileManager.java:555)
> Caused: java.lang.IllegalArgumentException: Invalid path argument: 
> testwatch/TestWatch
>   at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.asURL(ProxyFileManager.java:557)
>   at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.handleOption(ProxyFileManager.java:245)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1332)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1224)
>   at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>   at 
> org.netbeans.modules.java.source.JavaSourceUtilImpl.generate(JavaSourceUtilImpl.java:230)
>   at 
> org.netbeans.modules.java.preprocessorbridge.spi.JavaSourceUtilImpl$MyAccessor.generate(JavaSourceUtilImpl.java:110)
>   at 
> org.netbeans.modules.java.preprocessorbridge.api.JavaSourceUtil.generate(JavaSourceUtil.java:149)
>   at 
> org.netbeans.modules.debugger.jpda.projects.CodeCompiler.compile(CodeCompiler.java:48)
>   at 
> org.netbeans.modules.debugger.jpda.projects.CodeSnippetCompiler.compileToClass(CodeSnippetCompiler.java:63)
>   at 
> org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.interpretOrCompileCode(PreferredCCParser.java:459)
>   at 
> org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.interpretOrCompileCode(EditorContextSupport.java:1436)
>   at 
> org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(EditorContextImpl.java:825)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.netbeans.modules.debugger.jpda.EditorContextBridge.interpretOrCompileCode(EditorContextBridge.java:111)
>   at 
> org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:182)
>   at 
> org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:147)
>   at 
> org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:95)
>   at 
> org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression.evaluate(EvaluatorExpression.java:53)
>   at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateGener

[jira] [Resolved] (NETBEANS-283) private_key in libs.git module should be renamed

2018-02-20 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-283.
---
   Resolution: Fixed
Fix Version/s: 9.0

> private_key in libs.git module should be renamed
> 
>
> Key: NETBEANS-283
> URL: https://issues.apache.org/jira/browse/NETBEANS-283
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In  /libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java, a 
> private_key is referenced. That reference and the name of the private_key 
> should be changed to private_key_for_testing_only, so that it is clear what 
> it is for, i.e., it is not actually a private_key, which would be a problem 
> to include in a release, but a file used for test purposes only and, to avoid 
> confusion, should be named and referenced as such. 



--
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-331) Unexpected errors with Java

2018-02-22 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-331:
---
Priority: Major  (was: Critical)

> Unexpected errors with Java
> ---
>
> Key: NETBEANS-331
> URL: https://issues.apache.org/jira/browse/NETBEANS-331
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Windows 10, JDK 9
>Reporter: Hyeonwoo O
>Assignee: Hyeonwoo O
>Priority: Major
>  Labels: errors
>
> When I'm configuring some options, following error messages came out.
> {noformat}
> java.lang.NullPointerException
> {noformat}
> or
> {noformat}
> javax.swing.text.BadLocationException
> {noformat}
> These messages came out suddenly so I couldn't reproduce it.
> It is occurred in Development Version and I wrote only simple test code like 
> this:
> {code:java}
> package javatest;
> public class MainClass {
> public static void main(String[] args) {
> System.out.println("Hello World!");
> }
> }
> {code}
> Build number is NetBeans IDE 201801230002.



--
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-331) Unexpected errors with Java

2018-02-22 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-331:
---
Priority: Critical  (was: Major)

> Unexpected errors with Java
> ---
>
> Key: NETBEANS-331
> URL: https://issues.apache.org/jira/browse/NETBEANS-331
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Windows 10, JDK 9
>Reporter: Hyeonwoo O
>Assignee: Hyeonwoo O
>Priority: Critical
>  Labels: errors
>
> When I'm configuring some options, following error messages came out.
> {noformat}
> java.lang.NullPointerException
> {noformat}
> or
> {noformat}
> javax.swing.text.BadLocationException
> {noformat}
> These messages came out suddenly so I couldn't reproduce it.
> It is occurred in Development Version and I wrote only simple test code like 
> this:
> {code:java}
> package javatest;
> public class MainClass {
> public static void main(String[] args) {
> System.out.println("Hello World!");
> }
> }
> {code}
> Build number is NetBeans IDE 201801230002.



--
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-414) Cannot install any plugins

2018-02-26 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377452#comment-16377452
 ] 

Matthias Bläsing commented on NETBEANS-414:
---

I just checked with build #222:

https://builds.apache.org/job/incubator-netbeans-release/lastSuccessfulBuild/artifact/dist/incubating-netbeans-java–bin.zip

I tested on Ubuntu 17.10 with both Open JDK 1.8.0_151 (from package repository) 
and Oracle JDK 9.0.4. In both cases I could install nb-javac correctly. And 
after a restart "nbjavac Library" is listed as an installed plugin after 
restart.

> Cannot install any plugins
> --
>
> Key: NETBEANS-414
> URL: https://issues.apache.org/jira/browse/NETBEANS-414
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-219-on-20180221)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Blocker
> Attachments: messages.log
>
>
> I cannot install any plugins in the latest nightly build. Repro steps:
>  # Run Netbeans with a fresh userdir.
>  # IDE will prompt you to install nbjavac, do so.
>  # IDE will prompt you to restart, do so.
>  # Notice that the plugin is not installed once Netbeans is restarted.
>  # I get the same behavior when installing updates to existing plugins.



--
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] [Resolved] (NETBEANS-414) Cannot install any plugins

2018-02-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-414.
---
Resolution: Fixed

> Cannot install any plugins
> --
>
> Key: NETBEANS-414
> URL: https://issues.apache.org/jira/browse/NETBEANS-414
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-219-on-20180221)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Blocker
> Attachments: messages.log
>
>
> I cannot install any plugins in the latest nightly build. Repro steps:
>  # Run Netbeans with a fresh userdir.
>  # IDE will prompt you to install nbjavac, do so.
>  # IDE will prompt you to restart, do so.
>  # Notice that the plugin is not installed once Netbeans is restarted.
>  # I get the same behavior when installing updates to existing plugins.



--
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-433) Improve merge discipline

2018-03-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384861#comment-16384861
 ] 

Matthias Bläsing commented on NETBEANS-433:
---

Please close this here - it is a discussion topic and so should be on the 
mailing list. I just stumbled over this by chance.

> Improve merge discipline
> 
>
> Key: NETBEANS-433
> URL: https://issues.apache.org/jira/browse/NETBEANS-433
> Project: NetBeans
>  Issue Type: Task
>Reporter: Karl Richter
>Priority: Major
>
> The git repository https://github.com/apache/incubator-netbeans.git contains 
> a lot of duplicate commits (e.g.
> {noformat}
> commit 90366d092beb49d563922c8023093d91d6b59db1 (HEAD -> master, 
> origin/master, origin/HEAD)
> Merge: ccc9b5f92 4c4bdd60a
> Author: Jaroslav Tulach 
> Date:   Mon Feb 26 07:59:53 2018 +0100
> Merge pull request #434 from blackleg/ci_badges
> 
> Add build badges to README.md
> commit 4c4bdd60adc2a26800621a76220dab7b146d80f4
> Author: Hector Espert 
> Date:   Sun Jan 21 12:47:26 2018 +0100
> Added build badges to README.md
> {noformat}
> as well as merge commits (the duplicate example even introduces an empty 
> separate merge commit for a fast-forward merge).
> The duplicate commits should simply be avoided since they increase the number 
> commits which have to be investigated in bisection search of regressions. 
> Furthermore they make it harder to go through git log and make the code base 
> appear in bad shape.
> The merge commits should be avoided because they disturb the history log and 
> hide information what really happened on the merge branch. It's fine to force 
> all contributors to rebase their pull request branches on `master`. In this 
> way all merges are fast-forward merges and all commit messages contain 
> exclusively useful information. You can take 
> https://github.com/zfsonlinux/zfs as an example for an excellent code base.



--
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-437) Code-complete fails override methods in anonymous classes

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-437:
---
Component/s: java - Source

> Code-complete fails override methods in anonymous classes
> -
>
> Key: NETBEANS-437
> URL: https://issues.apache.org/jira/browse/NETBEANS-437
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-222-on-20180226)
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> It looks like we need a similar fix as NETBEANS-252 for anonymous classes.
> Repro steps:
> # Given:
> {code:java}
> Phaser test = new Phaser()
> {
>   // Place caret here
> };
> {code}
> # Place caret inside the anonymous class body
> # Invoke code-complete
> # Select "onAdvance" method and hit ENTER
> # No method is generated



--
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-417) Adjust Native windows ide lauchner for jdk 9

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-417:
---
Component/s: platform - Launchers&CLI

> Adjust Native windows ide lauchner for jdk 9 
> -
>
> Key: NETBEANS-417
> URL: https://issues.apache.org/jira/browse/NETBEANS-417
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Launchers&CLI
>Reporter: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
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-417) Adjust native Windows IDE launcher for JDK 9

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-417:
---
Summary: Adjust native Windows IDE launcher for JDK 9   (was: Adjust Native 
windows ide lauchner for jdk 9 )

> Adjust native Windows IDE launcher for JDK 9 
> -
>
> Key: NETBEANS-417
> URL: https://issues.apache.org/jira/browse/NETBEANS-417
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Launchers&CLI
>Reporter: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
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-416) Excessive CPU usage

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-416:
---
Component/s: ide - Performance

> Excessive CPU usage
> ---
>
> Key: NETBEANS-416
> URL: https://issues.apache.org/jira/browse/NETBEANS-416
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance
>Affects Versions: 8.2, 9.0
> Environment: Windows 10 Pro 64bit
>Reporter: Acs
>Priority: Major
> Attachments: 2018-02-22 14_34_52-Task Manager.png, 
> netbeans_30_cpu_usage.png, netbeans_9.0_plugins.png, profile_9.0.npss, 
> profiler_window.png, selfsampler.npss
>
>
> Hey,
> Something I have noticed in Netbeans is that from time to time Netbeans CPU 
> usage will go up to around 20% and most of the times I have Netbeans in the 
> background so I am not doing anything in Netbeans.
> Please fix this as this is a huge annoyance.
> Edit: To further explain why this is a huge annoyance: Netbeans will trigger 
> my laptop fans with the usage of CPU when it's not doing anything.
> Please someone analyze the profiler and tell me if I have a plugin that is 
> doing this or this is netbeans.
> I am really considering changing IDEs because of t his.
>  
>  



--
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-411) Licensing of wav file in JavaFX sample

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-411:
---
Component/s: javafx - Project

> Licensing of wav file in JavaFX sample
> --
>
> Key: NETBEANS-411
> URL: https://issues.apache.org/jira/browse/NETBEANS-411
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> /javafx2.samples/Xylophone/src/xylophone/Note?.wav
> Need to evaluate how the above is licensed.
> Simplest might be to simply remove that specific sample – there are many 
> samples for JavaFX already and one or two less won't hurt.
> See the related comments by IPMC member Justin Mclean, as part of his rc3 
> evaluation:
> [https://lists.apache.org/thread.html/73ce8a13d5c13b56c300e4aad1e9e9bc8351ea6e836f5dc60a55cfaa@%3Cgeneral.incubator.apache.org%3E]



--
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-410) Remove compiled source code

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-410:
---
Component/s: ide - Code

> Remove compiled source code
> ---
>
> Key: NETBEANS-410
> URL: https://issues.apache.org/jira/browse/NETBEANS-410
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Reporter: Geertjan Wielenga
>Priority: Major
>
> The following need to be removed since they are compiled code and Apache 
> projects should consist of source code only:
> 1 
> ./autoupdate.services/test/unit/src/org/netbeans/api/autoupdate/data/dummy-signed-twice.jar
> 2 
> ./autoupdate.services/test/unit/src/org/netbeans/api/autoupdate/data/dummy-signed.jar
> 3 
> ./classfile/test/unit/src/org/netbeans/modules/classfile/datafiles/WithLambda.classx
> 4 ./classfile/test/unit/src/regression/datafiles/left-square.class
> 5 ./classfile/test/unit/src/regression/datafiles/SwitchData.class
> 6 ./classfile/test/unit/src/regression/datafiles/test91098.class
> 7 ./nbi/engine/src/org/netbeans/installer/utils/applications/TestJDK.class
> See the related comments by IPMC member Justin Mclean, as part of his rc3 
> evaluation:
> https://lists.apache.org/thread.html/73ce8a13d5c13b56c300e4aad1e9e9bc8351ea6e836f5dc60a55cfaa@%3Cgeneral.incubator.apache.org%3E



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-378:
---
Component/s: ide - UI

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
> Attachments: Installer.PNG, keymap.PNG, plugins.PNG, tab.PNG
>
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-374) font is too small on high res notebook monitor

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-374:
---
Component/s: ide - UI

> font is too small on high res notebook monitor
> --
>
> Key: NETBEANS-374
> URL: https://issues.apache.org/jira/browse/NETBEANS-374
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Peter
>Priority: Major
>
> font is too small on high res notebook monitor (e.g. macbook pro 15, 
> 2880x1800). Even i tuned to enlarge the font, all other things : menu, button 
> are just too small



--
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-355) OpenJDK 9 sources on Ubuntu /usr/lib/jvm/java-9-openjdk-amd64/src.zip are ignored

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-355:
---
Component/s: platform - JDK Problems

> OpenJDK 9 sources on Ubuntu /usr/lib/jvm/java-9-openjdk-amd64/src.zip are 
> ignored
> -
>
> Key: NETBEANS-355
> URL: https://issues.apache.org/jira/browse/NETBEANS-355
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 9.0
>Reporter: Karl Richter
>Priority: Major
>
> Ubuntu 17.10 and other versions provide a source package for OpenJDK 9 at 
> `/usr/lib/jvm/java-9-openjdk-amd64/src.zip. When I want to add it as sources 
> to the Java Platform which is created for the value passed as `--jdkhome` at 
> start of NetBeans on the command line, nothing happens after selecting the 
> zip in the file browser and clicking the "Add JAR/Folder" button. The source 
> zip should be added or a comprehensive error message including the reason for 
> the failure should be displayed in a dialog.
> experienced with 9.0-beta-rc3-26-gff7b9eb36



--
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-350) Commit validation fails on master build

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-350:
---
Component/s: ide - Code

> Commit validation fails on master build
> ---
>
> Key: NETBEANS-350
> URL: https://issues.apache.org/jira/browse/NETBEANS-350
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0, Next
>Reporter: Austin Stephens
>Priority: Major
>  Labels: build, build-tools
>
> Someone needs to be shot... Will not pass on a clean build.



--
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-350) Commit validation fails on master build

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-350:
---
Labels:   (was: build build-tools)

> Commit validation fails on master build
> ---
>
> Key: NETBEANS-350
> URL: https://issues.apache.org/jira/browse/NETBEANS-350
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0, Next
>Reporter: Austin Stephens
>Priority: Major
>
> Someone needs to be shot... Will not pass on a clean build.



--
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-339) AssertionError at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-339:
---
Component/s: ide - Performance

> AssertionError at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
> ---
>
> Key: NETBEANS-339
> URL: https://issues.apache.org/jira/browse/NETBEANS-339
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance
>Affects Versions: 9.0
>Reporter: Karl Richter
>Priority: Major
>
> NetBeans crashes suddenly due to
> {code:java}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateLater$0(Annotate.java:245)
>   at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:184)
>   at 
> com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:137)
>   at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:150)
>   at 
> com.sun.tools.javac.main.JavaCompiler.enterDone(JavaCompiler.java:1842)
>   at 
> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1130)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.enterTrees(JavacProcessingEnvironment.java:1220)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.(JavacProcessingEnvironment.java:1108)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:1128)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1330)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1336)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1224)
>   at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:444)
> [catch] at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
>   at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:273)
>   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$Work$3.call(RepositoryUpdater.java:3300)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
>   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$Work.scanFiles(RepositoryUpdater.java:3255)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java

[jira] [Updated] (NETBEANS-337) Syntax highlighting shows "Cannot find symbol" error for correct use of JPA metamodel fields

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-337:
---
Component/s: java - Editor

> Syntax highlighting shows "Cannot find symbol" error for correct use of JPA 
> metamodel fields
> 
>
> Key: NETBEANS-337
> URL: https://issues.apache.org/jira/browse/NETBEANS-337
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
>Reporter: Karl Richter
>Priority: Major
>
> The `public static volatile` fields of generated sources for JPA metamodels 
> are not recognized/cause "Cannot find symbol" displayed in syntax 
> highlighting if the field is declared in a superclass.
> Unfortunately, the issue occurs randomly and I didn't figure out how to 
> trigger it's resolution, however the syntax of the code is always correct and 
> never causes compilation errors. The SSCCE at 
> https://gitlab.com/krichter/netbeans-jpa-metamodel-syntax-error/tree/netbeans-issue
>  (branch `netbeans-issue`) seems to demonstrate it reliably.
> experienced with 9.0-beta-rc2-43-g346c2aba4



--
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-336) "NPE in jpql validation: null" without impact on functioning

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-336:
---
Component/s: javaee - Persistence

> "NPE in jpql validation: null" without impact on functioning
> 
>
> Key: NETBEANS-336
> URL: https://issues.apache.org/jira/browse/NETBEANS-336
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Persistence
>Affects Versions: 9.0
>Reporter: Karl Richter
>Priority: Major
>
> I'm seeing the following exception repeatedly without any obvious impact on 
> the functioning of the IDE:
> {code:java}
> INFO [org.netbeans.modules.j2ee.jpa.verification.JPAProblemFinder]: NPE in 
> jpql validation: null
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.j2ee.persistence.spi.jpql.TypeRepository.getType(TypeRepository.java:120)
>   at 
> org.netbeans.modules.j2ee.persistence.spi.jpql.Mapping.getType(Mapping.java:65)
>   at 
> org.eclipse.persistence.jpa.jpql.tools.GenericSemanticValidatorHelper.getMappingType(GenericSemanticValidatorHelper.java:266)
>   at 
> org.eclipse.persistence.jpa.jpql.tools.GenericSemanticValidatorHelper.getMappingType(GenericSemanticValidatorHelper.java:1)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.validateCollectionValuedPathExpression(AbstractSemanticValidator.java:897)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.validateCollectionMemberExpression(AbstractSemanticValidator.java:869)
>   at 
> org.eclipse.persistence.jpa.jpql.tools.DefaultSemanticValidator.validateCollectionMemberExpression(DefaultSemanticValidator.java:526)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.visit(AbstractSemanticValidator.java:2693)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.CollectionMemberExpression.accept(CollectionMemberExpression.java:91)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.NotExpression.acceptChildren(NotExpression.java:65)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractValidator.visit(AbstractValidator.java:743)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor.visit(AnonymousExpressionVisitor.java:379)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.validateNotExpression(AbstractSemanticValidator.java:1897)
>   at 
> org.eclipse.persistence.jpa.jpql.tools.DefaultSemanticValidator.validateNotExpression(DefaultSemanticValidator.java:883)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.visit(AbstractSemanticValidator.java:2976)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.NotExpression.accept(NotExpression.java:58)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.AbstractConditionalClause.acceptChildren(AbstractConditionalClause.java:72)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractValidator.visit(AbstractValidator.java:743)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor.visit(AnonymousExpressionVisitor.java:624)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.validateWhereClause(AbstractSemanticValidator.java:2540)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.visit(AbstractSemanticValidator.java:3264)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.WhereClause.accept(WhereClause.java:59)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.AbstractSelectStatement.acceptChildren(AbstractSelectStatement.java:94)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.SelectStatement.acceptChildren(SelectStatement.java:110)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractValidator.visit(AbstractValidator.java:743)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor.visit(AnonymousExpressionVisitor.java:470)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.validateSelectStatement(AbstractSemanticValidator.java:2038)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.visit(AbstractSemanticValidator.java:3087)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.SelectStatement.accept(SelectStatement.java:102)
>   at 
> org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.visit(AbstractSemanticValidator.java:2886)
>   at 
> org.eclipse.persistence.jpa.jpql.parser.JPQLExpression.accept(JPQLExpression.java:136)
>   at 
> org.eclipse.persistence.jpa.jpql.tools.AbstractJPQLQueryHelper.validateSemantic(AbstractJPQ

[jira] [Updated] (NETBEANS-335) Fix All Imports adds unnecessary entries (fields from top-level class)

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-335:
---
Component/s: editor - Hints & Annotations

> Fix All Imports adds unnecessary entries (fields from top-level class)
> --
>
> Key: NETBEANS-335
> URL: https://issues.apache.org/jira/browse/NETBEANS-335
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180117-unknown-revn)
> Updates: Updates available
> Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
> Runtime: Java(TM) SE Runtime Environment 9.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Minor
> Attachments: PriceType.java
>
>
> # Open the attached file.
>  # Invoke Fix All Imports
>  # Notice that the IDE attempts to import MARKET and LIMIT (defined by the 
> current file).
>  # Invoke code-format. Notice that the IDE removed unused imports for MARKET 
> and LIMIT.



--
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-317) Too much info in binary LICENSE and NOTICE

2018-03-04 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-317:
---
Component/s: ide - Code

> Too much info in binary LICENSE and NOTICE
> --
>
> Key: NETBEANS-317
> URL: https://issues.apache.org/jira/browse/NETBEANS-317
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> - There is no need to repeat the Apache license text several times
> - Only 3rd party software that is bundled in the source release needs to be 
> mention in LICENSE and NOTICE. Is everything mentioned really bundled?
> - NOTICE seems to contain too much information
> - For long licenses it best to use a pointer the the full text of the license 
> rather than include the full text



--
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-254) Chrome Connector: This extension may have been corrupted.

2018-03-05 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-254:
---
Priority: Critical  (was: Blocker)

> Chrome Connector: This extension may have been corrupted.
> -
>
> Key: NETBEANS-254
> URL: https://issues.apache.org/jira/browse/NETBEANS-254
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - Inspection
>Affects Versions: Next
> Environment: Google Chrome63.0.3239.132 (Official Build) unknown 
> (64-bit)
> Revision  
> 2e6edcfee630baa3775f37cb11796b1603a64360-refs/branch-heads/3239@{#709}
> OSLinux
> JavaScriptV8 6.3.292.49
>Reporter: Allan Laal
>Priority: Critical
>  Labels: WAIVER
>
> *Steps to reproduce:*
>  * launch Google Chrome 63 and open chrome://extensions
>  * uninstall current NB Connector
>  * locate netbeans-chrome-connector.crx in your current NB build
>  * drag file to chrome://extensions to install it
> *Expected behaviour:*
>  
>  plugin installs without issues
> *Actual behaviour:*
>   
>  plugin installs, but shows error "This extension may have been corrupted."
> *Workaround*
>  
>  * rename netbeans-chrome-connector.crx into netbeans-chrome-connector.crx.zip
>  * unpack it
>  * use Load unpacked extension in chrome
> *Theories*
>  
>  might be related to why the NB connector page in Chrome web store is corrupt 
> in Chrome 63:
> https://chrome.google.com/webstore/detail/netbeans-connector/hafdlehgocfcodbgjnpecfajgkeejnaa?hl=en



--
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-254) Chrome Connector: This extension may have been corrupted.

2018-03-05 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-254:
---
Labels: WAIVER  (was: )

> Chrome Connector: This extension may have been corrupted.
> -
>
> Key: NETBEANS-254
> URL: https://issues.apache.org/jira/browse/NETBEANS-254
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - Inspection
>Affects Versions: Next
> Environment: Google Chrome63.0.3239.132 (Official Build) unknown 
> (64-bit)
> Revision  
> 2e6edcfee630baa3775f37cb11796b1603a64360-refs/branch-heads/3239@{#709}
> OSLinux
> JavaScriptV8 6.3.292.49
>Reporter: Allan Laal
>Priority: Critical
>  Labels: WAIVER
>
> *Steps to reproduce:*
>  * launch Google Chrome 63 and open chrome://extensions
>  * uninstall current NB Connector
>  * locate netbeans-chrome-connector.crx in your current NB build
>  * drag file to chrome://extensions to install it
> *Expected behaviour:*
>  
>  plugin installs without issues
> *Actual behaviour:*
>   
>  plugin installs, but shows error "This extension may have been corrupted."
> *Workaround*
>  
>  * rename netbeans-chrome-connector.crx into netbeans-chrome-connector.crx.zip
>  * unpack it
>  * use Load unpacked extension in chrome
> *Theories*
>  
>  might be related to why the NB connector page in Chrome web store is corrupt 
> in Chrome 63:
> https://chrome.google.com/webstore/detail/netbeans-connector/hafdlehgocfcodbgjnpecfajgkeejnaa?hl=en



--
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-254) Chrome Connector: This extension may have been corrupted.

2018-03-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385996#comment-16385996
 ] 

Jiří Kovalský commented on NETBEANS-254:


This issue is not a blocker for NetBeans 9.0 release which is pure Java centric 
only. Added WAIVER label to defer the fix to the next release.

> Chrome Connector: This extension may have been corrupted.
> -
>
> Key: NETBEANS-254
> URL: https://issues.apache.org/jira/browse/NETBEANS-254
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - Inspection
>Affects Versions: Next
> Environment: Google Chrome63.0.3239.132 (Official Build) unknown 
> (64-bit)
> Revision  
> 2e6edcfee630baa3775f37cb11796b1603a64360-refs/branch-heads/3239@{#709}
> OSLinux
> JavaScriptV8 6.3.292.49
>Reporter: Allan Laal
>Priority: Critical
>  Labels: WAIVER
>
> *Steps to reproduce:*
>  * launch Google Chrome 63 and open chrome://extensions
>  * uninstall current NB Connector
>  * locate netbeans-chrome-connector.crx in your current NB build
>  * drag file to chrome://extensions to install it
> *Expected behaviour:*
>  
>  plugin installs without issues
> *Actual behaviour:*
>   
>  plugin installs, but shows error "This extension may have been corrupted."
> *Workaround*
>  
>  * rename netbeans-chrome-connector.crx into netbeans-chrome-connector.crx.zip
>  * unpack it
>  * use Load unpacked extension in chrome
> *Theories*
>  
>  might be related to why the NB connector page in Chrome web store is corrupt 
> in Chrome 63:
> https://chrome.google.com/webstore/detail/netbeans-connector/hafdlehgocfcodbgjnpecfajgkeejnaa?hl=en



--
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-330) NetBeans 9.0 UC hosted on Apache infra

2018-03-05 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-330:
---
Issue Type: Bug  (was: Task)

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz|http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]



--
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-330) NetBeans 9.0 UC hosted on Apache infra

2018-03-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386124#comment-16386124
 ] 

Jiří Kovalský commented on NETBEANS-330:


Any progress here? Changing from TASK to BUG as without fixing this the 
measuring of active users will stop for the first time since 2004.

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz|http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]



--
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-330) NetBeans 9.0 UC hosted on Apache infra

2018-03-06 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16387643#comment-16387643
 ] 

Jiří Kovalský commented on NETBEANS-330:


It will stop measuring the active users once we publish the first Apache 
NetBeans 9.0 branded build which should happen around the end of April if 
things go smoothly.

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz|http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]



--
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-105) Build failure: Could not download osgi.cmpn-4.2.jar

2018-03-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Hofschröer updated NETBEANS-105:
-
Description: 
hgidI just cloned the [incubator-netbeans git 
repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} to 
build NetBeans. The result is an IOException because {{osgi.cmpn-4.2.jar}} 
could not be downloaded:

{noformat}
$ ant
Picked up _JAVA_OPTIONS: -Xmx2G
Buildfile: /Users/dtrebbien/Documents/Projects/netbeans/build.xml

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

bootstrap:
 [echo] Bootstrapping NetBeans-specific Ant extensions...

init-tasks:

init-module-list:

-do-set-buildnumber:
 [hgid] No dirstate found starting from 
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild

set-buildnumber:

init:
Loading module list from 
/var/folders/1v/2nkqhkgx0qnfwd75h0p3fcscgn/T/nb-scan-cache-cf8c6bb5-full.ser

download-selected-extbins:
 [echo] Downloading external binaries (*/external/ directories) for 
cluster.config=basic...
[downloadbinaries] Creating 
/Users/dtrebbien/Documents/Projects/netbeans/libs.osgi/external/osgi.cmpn-4.2.jar
[downloadbinaries] Downloading: 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
[downloadbinaries] Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404

BUILD FAILED
/Users/dtrebbien/Documents/Projects/netbeans/nbbuild/build.xml:122: Could not 
download 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar from 
http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 
972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar to 
/Users/dtrebbien/.hgexternalcache/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar:
 java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:252)
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:193)
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:155)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:857)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Caused by: java.io.IOException: Skipping download from 
http://central.maven.org/maven2/org/netbeans/external/osgi.cmpn/4.2/osgi.cmpn-4.2.jar
 due to response code 404
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:278)
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.mavenFile(DownloadBinaries.java:180)
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$0(DownloadBinaries.java:155)
at 
org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:229)
... 18 more

Total time: 2 seconds
{noformat}

  was:
I just cloned the [incubator-netbeans git 
repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} to 
build NetBeans. The result is an IOException because {{osgi.cmpn-4.2.jar}} 
could not be downloaded:

{noformat}
$ ant
Picked up _JAVA_OPTIONS: -Xmx2G
Buildfile: /Users/dtrebbien/Documents/Projects/netbeans/build.xml

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

bootstrap:
 [echo] Bootstrapping NetBeans-specific Ant extensions...

init-tasks:

init-module-list:

-do-set-buildnumber

[jira] [Created] (NETBEANS-451) Let build scripts generate a git-ID instead of a hg-ID

2018-03-07 Thread JIRA
Jens Hofschröer created NETBEANS-451:


 Summary: Let build scripts generate a git-ID instead of a hg-ID
 Key: NETBEANS-451
 URL: https://issues.apache.org/jira/browse/NETBEANS-451
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Other
Affects Versions: 9.0
Reporter: Jens Hofschröer


Since we use git in apache instead of mercurial the ant-task "hgid" will never 
find a valid id for the modules. This should be changed to search for an ID 
from git.



--
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-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl

2018-03-13 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397307#comment-16397307
 ] 

Jiří Kovalský commented on NETBEANS-461:


For the record, I can open web browser (embedded or Firefox) without problem on 
this configuration:

Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-205-on-20180202)
Updates: Updates available
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Linux version 4.4.0-53-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

> Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
> ---
>
> Key: NETBEANS-461
> URL: https://issues.apache.org/jira/browse/NETBEANS-461
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: efrem mccrimon
>Priority: Major
> Attachments: messages.log
>
>
> Class not initializing 
> When navigating to Window->Web->Web Browser
> throws the error even when a default Browser is configured in Options 
> settings.
> I was testing XSL Transformations, "Process Output" settings - Open in 
> Browser fails
>  
>  
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>  at 
> org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
>  at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>  at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>  at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>  at 
> org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49)
>  at 
> org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>  at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.Protect

[jira] [Resolved] (NETBEANS-282) UnsatisfiedLinkError trying to open browser

2018-03-13 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-282.
---
Resolution: Duplicate

The issue is the same as in NETBEANS-262 as suggested. I add my analysis there.

> UnsatisfiedLinkError trying to open browser
> ---
>
> Key: NETBEANS-282
> URL: https://issues.apache.org/jira/browse/NETBEANS-282
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>  Labels: regression, windows
>
> 1. CTRL+LMB on a link inside a Java file.
> 2. Exception thrown:
> {code}
> java.lang.UnsatisfiedLinkError: no extbrowser64 in java.library.path
>   at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2541)
>   at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:873)
>   at java.base/java.lang.System.loadLibrary(System.java:1857)
>   at 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl.(NbDdeBrowserImpl.java:82)
>   at 
> org.netbeans.modules.extbrowser.SystemDefaultBrowser.createHtmlBrowserImpl(SystemDefaultBrowser.java:94)
>   at 
> org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>   at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>   at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>   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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>   at 
> org.netbeans.modules.editor.url.HyperlinkImpl.performClickAction(HyperlinkImpl.java:105)
>   at 
> org.netbeans.lib.editor.hyperlink.HyperlinkOperation.performAction(HyperlinkOperation.java:249)
>   at 
> org.netbeans.lib.editor.hyperlink.HyperlinkOperation.mouseClicked(HyperlinkOperation.java:422)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6581)
>   at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3343)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6343)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2259)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4961)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
>   at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
>   at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4548)
>   at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4480)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2303)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2758)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
>   at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
>   at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
>   at 
> java.base/java.

[jira] [Commented] (NETBEANS-262) JavaDoc can't be displayed in the browser

2018-03-13 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397642#comment-16397642
 ] 

Matthias Bläsing commented on NETBEANS-262:
---

The error comes from the external HTML browser implementation, that uses DDE to 
control a webbrowser. DDE is a windows only RMI solution, allowing you to send 
messages between windows on the windows desktop.

The implementation is done in native code (see 
_extbrowser/native/NbDDEBrowserImpl.cpp_) and it looks like Oracle removed the 
pre-build binaries at the time of the donation.

This error comes from org.netbeans.modules.extbrowser.NbDdeBrowserImpl which 
loads the native library and tries to handle a load error by catching 
Exception, but _java.lang.UnsatisfiedLinkError_ is raised. This not being an 
Error and not an Exception lets it fall through the catch.

So there is one fast help: catch _UnsatisfiedLinkError_ in 
_NbDdeBrowserImpl.java_ line 96. This at least gives a sensible message.

For the long term: Either find a way to compile the native code on the fly. Or 
use the DDE implementation contained in JNA Platform to replace the native code.

> JavaDoc can't be displayed in the browser
> -
>
> Key: NETBEANS-262
> URL: https://issues.apache.org/jira/browse/NETBEANS-262
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-168-on-20180110)
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en (nb)
>Reporter: Thomas Kellerer
>Priority: Major
>
> When trying to display the JavaDocs for the class at the cursor location 
> ("Alt-F1") an exception is thrown:
> {noformat}java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>   at 
> org.netbeans.modules.extbrowser.FirefoxBrowser.createHtmlBrowserImpl(FirefoxBrowser.java:81)
>   at 
> org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>   at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>   at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>   at 
> org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:212)
>   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.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:189)
>   at 
> org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:116)
>   at 
> org.netbeans.modules.editor.java.GoToSupport$2.run(GoToSupport.java:170)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   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)
> {noformat}
> This is when using "Firefox" as the browser in the options dial

[jira] [Comment Edited] (NETBEANS-262) JavaDoc can't be displayed in the browser

2018-03-13 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397642#comment-16397642
 ] 

Matthias Bläsing edited comment on NETBEANS-262 at 3/13/18 9:04 PM:


The error comes from the external HTML browser implementation, that uses DDE to 
control a webbrowser. DDE is a windows only RMI solution, allowing you to send 
messages between windows on the windows desktop.

The implementation is done in native code (see 
_extbrowser/native/NbDDEBrowserImpl.cpp_) and it looks like Oracle removed the 
pre-build binaries at the time of the donation.

This error comes from org.netbeans.modules.extbrowser.NbDdeBrowserImpl which 
loads the native library and tries to handle a load error by catching 
Exception, but _java.lang.UnsatisfiedLinkError_ is raised. This not being an 
Error and not an Exception lets it fall through the catch.

So there is one fast help: catch _UnsatisfiedLinkError_ in 
_NbDdeBrowserImpl.java_ line 96. This at least gives a sensible message.

For the long term: Either find a way to compile the native code on the fly. Or 
use the DDE implementation contained in JNA Platform to replace the native code.

Update:

This is the DdemlUtilTest code:

[https://github.com/java-native-access/jna/blob/master/contrib/platform/test/com/sun/jna/platform/win32/DdemlUtilTest.java]

it demonstrates the use of DDE and the supplied StandaloneDdeClient.


was (Author: mblaesing):
The error comes from the external HTML browser implementation, that uses DDE to 
control a webbrowser. DDE is a windows only RMI solution, allowing you to send 
messages between windows on the windows desktop.

The implementation is done in native code (see 
_extbrowser/native/NbDDEBrowserImpl.cpp_) and it looks like Oracle removed the 
pre-build binaries at the time of the donation.

This error comes from org.netbeans.modules.extbrowser.NbDdeBrowserImpl which 
loads the native library and tries to handle a load error by catching 
Exception, but _java.lang.UnsatisfiedLinkError_ is raised. This not being an 
Error and not an Exception lets it fall through the catch.

So there is one fast help: catch _UnsatisfiedLinkError_ in 
_NbDdeBrowserImpl.java_ line 96. This at least gives a sensible message.

For the long term: Either find a way to compile the native code on the fly. Or 
use the DDE implementation contained in JNA Platform to replace the native code.

> JavaDoc can't be displayed in the browser
> -
>
> Key: NETBEANS-262
> URL: https://issues.apache.org/jira/browse/NETBEANS-262
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-168-on-20180110)
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en (nb)
>Reporter: Thomas Kellerer
>Priority: Major
>
> When trying to display the JavaDocs for the class at the cursor location 
> ("Alt-F1") an exception is thrown:
> {noformat}java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>   at 
> org.netbeans.modules.extbrowser.FirefoxBrowser.createHtmlBrowserImpl(FirefoxBrowser.java:81)
>   at 
> org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>   at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>   at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>   at 
> org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:212)
>   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.prior

[jira] [Commented] (NETBEANS-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl

2018-03-20 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406485#comment-16406485
 ] 

Jiří Kovalský commented on NETBEANS-461:


Why is this issue still open unresolved then?

> Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
> ---
>
> Key: NETBEANS-461
> URL: https://issues.apache.org/jira/browse/NETBEANS-461
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: efrem mccrimon
>Priority: Major
>  Labels: pull-request-available
> Attachments: messages.log
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Class not initializing 
> When navigating to Window->Web->Web Browser
> throws the error even when a default Browser is configured in Options 
> settings.
> I was testing XSL Transformations, "Process Output" settings - Open in 
> Browser fails
>  
>  
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>  at 
> org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
>  at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>  at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>  at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>  at 
> org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49)
>  at 
> org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>  at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security

[jira] [Reopened] (NETBEANS-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl

2018-03-20 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský reopened NETBEANS-461:


> Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
> ---
>
> Key: NETBEANS-461
> URL: https://issues.apache.org/jira/browse/NETBEANS-461
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: efrem mccrimon
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: messages.log
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Class not initializing 
> When navigating to Window->Web->Web Browser
> throws the error even when a default Browser is configured in Options 
> settings.
> I was testing XSL Transformations, "Process Output" settings - Open in 
> Browser fails
>  
>  
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>  at 
> org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
>  at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>  at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>  at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>  at 
> org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49)
>  at 
> org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>  at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security.AccessController.doPrivileged(N

[jira] [Resolved] (NETBEANS-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl

2018-03-20 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský resolved NETBEANS-461.

   Resolution: Fixed
Fix Version/s: 9.0

> Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
> ---
>
> Key: NETBEANS-461
> URL: https://issues.apache.org/jira/browse/NETBEANS-461
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: efrem mccrimon
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: messages.log
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Class not initializing 
> When navigating to Window->Web->Web Browser
> throws the error even when a default Browser is configured in Options 
> settings.
> I was testing XSL Transformations, "Process Output" settings - Open in 
> Browser fails
>  
>  
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>  at 
> org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
>  at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>  at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>  at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>  at 
> org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49)
>  at 
> org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>  at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security.AccessController.doPrivileged(N

[jira] [Closed] (NETBEANS-461) Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl

2018-03-20 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský closed NETBEANS-461.
--

Closing as fixed in 9.0. Efrem, please reopen if you can still reproduce. 
Thanks.

> Could not initialize class org.netbeans.modules.extbrowser.NbDdeBrowserImpl
> ---
>
> Key: NETBEANS-461
> URL: https://issues.apache.org/jira/browse/NETBEANS-461
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: efrem mccrimon
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: messages.log
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Class not initializing 
> When navigating to Window->Web->Web Browser
> throws the error even when a default Browser is configured in Options 
> settings.
> I was testing XSL Transformations, "Process Output" settings - Open in 
> Browser fails
>  
>  
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>  at 
> org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
>  at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>  at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>  at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>  at 
> org.netbeans.core.actions.HTMLViewAction.performAction(HTMLViewAction.java:49)
>  at 
> org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>  at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.securi

[jira] [Created] (NETBEANS-491) Turn off exception reporter

2018-03-21 Thread JIRA
Jiří Kovalský created NETBEANS-491:
--

 Summary: Turn off exception reporter
 Key: NETBEANS-491
 URL: https://issues.apache.org/jira/browse/NETBEANS-491
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Code
Affects Versions: 9.0
Reporter: Jiří Kovalský


Apache NetBeans 9.0 tries to send exception reports even though the backend 
infrastructure is no longer available. In case of an exception NetBeans IDE 
should no longer display the *Review and Report Problem* button and report URL 
in the error message should instead read: 
[https://issues.apache.org/jira/secure/CreateIssue!default.jspa]

*Steps to reproduce:*
 # Launch development build #20180320 of Apache NetBeans 9.0.
 # Type e.g. _properties_ into the *Search* field in the upper right corner of 
the IDE.
 # Press Enter.

*Expected:*

Due to another bug NetBeans opens an exception dialog which contains old link 
to _issues.html_ page and *Review and Report Problem* button.

*Actual:*

NetBeans opens an exception dialog only instructing user to report the 
exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-21 Thread JIRA
Jiří Kovalský created NETBEANS-492:
--

 Summary: Quick Search for help throws 
java.lang.ClassNotFoundException
 Key: NETBEANS-492
 URL: https://issues.apache.org/jira/browse/NETBEANS-492
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Help System
Affects Versions: 9.0
Reporter: Jiří Kovalský
 Attachments: exception.txt

It is not possible to search for any help in the latest development builds of 
Apache NetBeans. IDE just throws exception [1] instead of opening a window with 
relevant help information.

*Steps to reproduce:*
 # Launch development build #20180320 of Apache NetBeans 9.0.
 # Type e.g. _properties_ into the *Search* field in the upper right corner of 
the IDE.
 # Press Enter.

*Expected:*

Standard help window is opened with relevant information.

*Actual:*

NetBeans opens an exception dialog.

[1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...

Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
defining loaders null and declared parents 
[org.netbeans.MainImpl$BootClassLoader@87aac27, 
ModuleCL@73eccb6d[org.openide.nodes] ...

[snip]



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-492:
---
Priority: Critical  (was: Major)

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
> Attachments: exception.txt
>
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-491) Turn off exception reporter

2018-03-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-491:
---
Priority: Critical  (was: Major)

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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] [Resolved] (NETBEANS-451) Let build scripts generate a git-ID instead of a hg-ID

2018-03-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Hofschröer resolved NETBEANS-451.
--
   Resolution: Fixed
 Assignee: Jens Hofschröer
Fix Version/s: 9.0

> Let build scripts generate a git-ID instead of a hg-ID
> --
>
> Key: NETBEANS-451
> URL: https://issues.apache.org/jira/browse/NETBEANS-451
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 9.0
>Reporter: Jens Hofschröer
>Assignee: Jens Hofschröer
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 9.0
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Since we use git in apache instead of mercurial the ant-task "hgid" will 
> never find a valid id for the modules. This should be changed to search for 
> an ID from git.



--
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] [Assigned] (NETBEANS-491) Turn off exception reporter

2018-03-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: (was: Reema Sardana)

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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] [Assigned] (NETBEANS-491) Turn off exception reporter

2018-03-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: Reema Sardana

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Sardana
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-03-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-373:
---
Fix Version/s: (was: 9.0)

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



--
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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-03-27 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415443#comment-16415443
 ] 

Jiří Kovalský commented on NETBEANS-373:


This is not fixed yet. Removing 9.0 version.

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



--
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-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame

2018-03-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský updated NETBEANS-348:
---
Fix Version/s: (was: 9.0)

> Change DialogDisplayer.createDialog to be able to take a Window instead of a 
> Frame
> --
>
> Key: NETBEANS-348
> URL: https://issues.apache.org/jira/browse/NETBEANS-348
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Blocker
>
> Blocking since this would be an API change. Depends on NETBEANS-320.



--
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] [Assigned] (NETBEANS-491) Turn off exception reporter

2018-03-27 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: Reema Taneja

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Taneja
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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



  1   2   3   4   5   6   7   8   9   10   >