[jira] [Updated] (NETBEANS-2379) Unable to create Maven Java EE Web Application project

2019-04-09 Thread Gaurav Gupta (JIRA)


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

Gaurav Gupta updated NETBEANS-2379:
---
Description: 
* Cleaned AppData\Roaming\NetBeans & AppData\Local\NetBeans.
 * Started fresh IDE 11.0 instance
 * Installed nb-javac plugin
On Creating project from Java with Maven > Web Application (disabled) > Finding 
feature, following error is shown :

Error encountered obtaining update information:
 
[https://netbeans.org/projects/legacy/projects/legacy/nb/updates/11.0/updates.xml.gz]?unique=080842...xxx...

 

!nb_error.png|width=600,height=350!

 

 

  was:
On Creating project from Java with Maven > Web Application (disabled) > Finding 
feature, following error is shown :

Error encountered obtaining update information:
 
[https://netbeans.org/projects/legacy/projects/legacy/nb/updates/11.0/updates.xml.gz]?unique=080842...xxx...

 

!nb_error.png|height=350,width=600!

 

 


> Unable to create Maven Java EE Web Application project
> --
>
> Key: NETBEANS-2379
> URL: https://issues.apache.org/jira/browse/NETBEANS-2379
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.0
>Reporter: Gaurav Gupta
>Priority: Major
> Attachments: nb_error.png
>
>
> * Cleaned AppData\Roaming\NetBeans & AppData\Local\NetBeans.
>  * Started fresh IDE 11.0 instance
>  * Installed nb-javac plugin
> On Creating project from Java with Maven > Web Application (disabled) > 
> Finding feature, following error is shown :
> Error encountered obtaining update information:
>  
> [https://netbeans.org/projects/legacy/projects/legacy/nb/updates/11.0/updates.xml.gz]?unique=080842...xxx...
>  
> !nb_error.png|width=600,height=350!
>  
>  



--
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-2379) Unable to create Maven Java EE Web Application project

2019-04-09 Thread Rami Swailem (JIRA)


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

Rami Swailem commented on NETBEANS-2379:


at the moment there is a problem with the redirection
  

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

 

> Unable to create Maven Java EE Web Application project
> --
>
> Key: NETBEANS-2379
> URL: https://issues.apache.org/jira/browse/NETBEANS-2379
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.0
>Reporter: Gaurav Gupta
>Priority: Major
> Attachments: nb_error.png
>
>
> * Cleaned AppData\Roaming\NetBeans & AppData\Local\NetBeans.
>  * Started fresh IDE 11.0 instance
>  * Installed nb-javac plugin
> On Creating project from Java with Maven > Web Application (disabled) > 
> Finding feature, following error is shown :
> Error encountered obtaining update information:
>  
> [https://netbeans.org/projects/legacy/projects/legacy/nb/updates/11.0/updates.xml.gz]?unique=080842...xxx...
>  
> !nb_error.png|width=600,height=350!
>  
>  



--
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-2340) .json reader is erroring up every time we open the composer.json for each new opend project

2019-04-09 Thread Rajab Natshah (JIRA)


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

Rajab Natshah commented on NETBEANS-2340:
-

Warning - could not install some modules: Nashorn Integration - No module 
providing the capability com.oracle.js.parser.implementation could be found. 19 
further modules could not be installed due to the above problems.

> .json reader is erroring up every time we open the composer.json for each new 
> opend project
> ---
>
> Key: NETBEANS-2340
> URL: https://issues.apache.org/jira/browse/NETBEANS-2340
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - JSON
>Affects Versions: 9.0
>Reporter: Rajab Natshah
>Priority: Major
>  Labels: ParserExtension, json, parser
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> h3. *Problem/Motivation*
> {{(Why the issue was filed, steps to reproduce the problem, etc.)}}
>  
>  
> {code:java}
> Given that we have created new projects with any .json file
> When we close Apache NetBeans IDE
> And We open it again
> And we try to open the project again
> And we try to open the .json file ( composer.json or package.json )
> Then we will run into an interface to re-install the .json parser
> {code}
> h3. {{*Proposed resolution*}}
> Description of the proposed solution, the rationale behind it, and 
> workarounds for people who cannot use the patch.) 
> {{Use another .json parser or not the oracle one as a default as it keeps 
> crashing and been removed from the IDE}}
> h3. *{{Remaining tasks}}*
> {{(reviews needed, tests to be written or run, documentation to be written, 
> etc.)}}
>  
> {{A way to replace the .json parser}}
> h3. *{{User interface changes}}*
> {{(New or changed features/functionality in the user interface, modules added 
> or removed, changes to URL paths, changes to user interface text.)}}
> {{Better JSON layout and parser}}
>  
> h4. API changes
> API changes/additions that would affect module, install profile, and theme 
> developers, including examples of before/after code if appropriate.) 
> {{Not to let developers use or install the oracle .json parser by default}}
> h3. {{*Data model changes*}}
> (Database or configuration data changes that would make stored data on an 
> existing site incompatible with the site's updated codebase, including 
> changes , configuration schema or keys, or the expected format of stored 
> data, etc.) 
>  



--
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-2340) .json reader is erroring up every time we open the composer.json for each new opend project

2019-04-09 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2340:
-

Go to Plugin Manager and install Oracle JS Parser.

> .json reader is erroring up every time we open the composer.json for each new 
> opend project
> ---
>
> Key: NETBEANS-2340
> URL: https://issues.apache.org/jira/browse/NETBEANS-2340
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - JSON
>Affects Versions: 9.0
>Reporter: Rajab Natshah
>Priority: Major
>  Labels: ParserExtension, json, parser
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> h3. *Problem/Motivation*
> {{(Why the issue was filed, steps to reproduce the problem, etc.)}}
>  
>  
> {code:java}
> Given that we have created new projects with any .json file
> When we close Apache NetBeans IDE
> And We open it again
> And we try to open the project again
> And we try to open the .json file ( composer.json or package.json )
> Then we will run into an interface to re-install the .json parser
> {code}
> h3. {{*Proposed resolution*}}
> Description of the proposed solution, the rationale behind it, and 
> workarounds for people who cannot use the patch.) 
> {{Use another .json parser or not the oracle one as a default as it keeps 
> crashing and been removed from the IDE}}
> h3. *{{Remaining tasks}}*
> {{(reviews needed, tests to be written or run, documentation to be written, 
> etc.)}}
>  
> {{A way to replace the .json parser}}
> h3. *{{User interface changes}}*
> {{(New or changed features/functionality in the user interface, modules added 
> or removed, changes to URL paths, changes to user interface text.)}}
> {{Better JSON layout and parser}}
>  
> h4. API changes
> API changes/additions that would affect module, install profile, and theme 
> developers, including examples of before/after code if appropriate.) 
> {{Not to let developers use or install the oracle .json parser by default}}
> h3. {{*Data model changes*}}
> (Database or configuration data changes that would make stored data on an 
> existing site incompatible with the site's updated codebase, including 
> changes , configuration schema or keys, or the expected format of stored 
> data, etc.) 
>  



--
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-2380) Netbeans update fails

2019-04-09 Thread JIRA
Fleischer Zoltán created NETBEANS-2380:
--

 Summary: Netbeans update fails
 Key: NETBEANS-2380
 URL: https://issues.apache.org/jira/browse/NETBEANS-2380
 Project: NetBeans
  Issue Type: Bug
  Components: updatecenters - Pluginportal
Affects Versions: 11.0
 Environment: This is a fresh new installation of Nebeans 11 x64.
on Windows Microsoft Windows [Version 10.0.16299.1029] x64.
java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
No proxy environment: Use System Proxy Settings
Reporter: Fleischer Zoltán


NetBeans Distribution URL: 
https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz does not work. In 
Plugins -> Updates -> Check for Updates I get the following Warning message:

*"Unable to connect to the NetBeans Distribution because of 
[https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f]*

*Check your proxy settings or try again later. The server may be unavailable at 
the moment. You may also want to make sure that your firewall is not blocking 
network traffic."*

But my proxy setting is correct. For example the Plugin Portal is working: 
[http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz].

The relevant part of the IDE Log:

INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading 
URL 
https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
 failed (java.io.FileNotFoundException: 
https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f)
INFO [org.netbeans.modules.autoupdate.ui.Utilities]: 
https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
java.io.FileNotFoundException: 
https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
 at 
sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
 at 
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
 at 
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
 at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
 at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
 at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:241)
 at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57)
 at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160)
Caused: java.io.FileNotFoundException: 
https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 at 
sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
 at 
sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
 at 
sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
 at 
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
 at 
sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
 at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
 at 
org.netbeans.modules.autoupda

[jira] [Created] (NETBEANS-2381) nbi installer launcher nlw.exe doesn't work for JDK 12 release version

2019-04-09 Thread Reema Taneja (JIRA)
Reema Taneja created NETBEANS-2381:
--

 Summary: nbi installer launcher nlw.exe doesn't work for JDK 12 
release version
 Key: NETBEANS-2381
 URL: https://issues.apache.org/jira/browse/NETBEANS-2381
 Project: NetBeans
  Issue Type: Bug
Reporter: Reema Taneja
Assignee: Reema Taneja


https://github.com/apache/incubator-netbeans/blob/master/nbi/engine/native/launcher/windows/src/JavaUtils.c
 

getJavaVersionFromString doesn't handle JDK 12 release version string like 12+33




--
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] [Closed] (NETBEANS-1697) Nb-javac plugin update issue

2019-04-09 Thread Reema Taneja (JIRA)


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

Reema Taneja closed NETBEANS-1697.
--
Resolution: Cannot Reproduce

This issue doesn't reproduce in Apache NetBeans 11.0, hence closing.

> Nb-javac plugin update issue
> 
>
> Key: NETBEANS-1697
> URL: https://issues.apache.org/jira/browse/NETBEANS-1697
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Minor
>
> In Linux env:
> After uninstalling nb-javac plugin, and IDE restart, when we install nb-javac 
> plugin via Notification or Tools/Plugins dialog below exception is seen: 
> java.lang.IllegalStateException: Host module 
> StandardModule:org.netbeans.libs.javacapi jarFile: 
> /scratch/rtaneja/mywork/nb10vc3/netbeans/java/modules/org-netbeans-libs-javacapi.jar
>  was enabled before, will not accept fragment 
> StandardModule:org.netbeans.modules.nbjavac.api jarFile: 
> /home/rtaneja/.netbeans/10.0/modules/org-netbeans-modules-nbjavac-api.jar
>   at 
> org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
>   at 
> org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1694)
>   at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
>   at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
>   at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
>   at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
>   at 
> org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
>   at 
> org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
>   at 
> org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
>   at 
> org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
>   at 
> org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
>   at 
> org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
>   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)



--
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-2383) java.lang.NullPointerException: The content parameter cannot be null

2019-04-09 Thread Alexandar Popov (JIRA)
Alexandar Popov created NETBEANS-2383:
-

 Summary: java.lang.NullPointerException: The content parameter 
cannot be null
 Key: NETBEANS-2383
 URL: https://issues.apache.org/jira/browse/NETBEANS-2383
 Project: NetBeans
  Issue Type: Bug
 Environment: Ubuntu 16.04, Netbeans was built yesterday.
Reporter: Alexandar Popov


Steps to reproduce:
1. Create a new project. Choose 'PHP Application'.
2. Create a new php file or open index.php and replace the content with the 
following:

test = JSON.parse('');

3. Close Netbeans and open it again.
4. The exception appears when the file is opened.

java.lang.NullPointerException: The content parameter cannot be null
at org.openide.util.Parameters.notNull(Parameters.java:64)
at 
org.netbeans.modules.csl.api.Documentation.create(Documentation.java:52)
at 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider.createProperty(NodeJsDataProvider.java:473)
at 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider.addProperties(NodeJsDataProvider.java:485)
at 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider.getGlobalObjects(NodeJsDataProvider.java:402)
at 
org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsModelInterceptor.getGlobalObjects(NodeJsModelInterceptor.java:47)
at 
org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsModelInterceptor.interceptGlobal(NodeJsModelInterceptor.java:41)
at 
org.netbeans.modules.javascript2.model.ModelExtender.getExtendingGlobalObjects(ModelExtender.java:114)
at 
org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromExpression(ModelUtils.java:856)
at 
org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1353)
at 
org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem.(JsStructureScanner.java:740)
at 
org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem.(JsStructureScanner.java:732)
at 
org.netbeans.modules.javascript2.editor.JsStructureScanner.getEmbededItems(JsStructureScanner.java:164)
at 
org.netbeans.modules.javascript2.editor.JsStructureScanner.scan(JsStructureScanner.java:92)
at 
org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(ElementScanningTask.java:149)
at 
org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(ElementScanningTask.java:171)
at 
org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(ElementScanningTask.java:171)
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)
Caused: org.netbeans.modules.parsing.spi.ParseException
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
[catch] at 
org.netbeans.modules.csl.navigation.ElementScanningTask.computeStructureRoot(ElementScanningTask.java:137)
at 
org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1$1.run(ClassMemberPanelUI.java:203)
at 
org.netbeans.modules.csl.navigation.ElementScanningTask.runWithCancelService(ElementScanningTask.java:254)
at 
org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1.run(ClassMemberPanelUI.java:199)
at 
org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1.run(ClassMemberPanelUI.java:191)
at 
org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:120)
at 
org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:88)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run

[jira] [Commented] (NETBEANS-2378) .gradle files uneditable until groovy is "activated"

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2378:
---

Just a question? Have you used NetBeans 11.0 vc1-3 before? There was a last 
minute change in vc4 in order to let Attilla's Gradle plugin to be installed as 
well, so Groovy and Gradle support got loosly coupled. Maybe it is too loose. 
As tested it does not happen with new user dir.

> .gradle files uneditable until groovy is "activated"
> 
>
> Key: NETBEANS-2378
> URL: https://issues.apache.org/jira/browse/NETBEANS-2378
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10 x64, Java 12
>Reporter: Mark Claassen
>Priority: Critical
>
> I was trying out Netbeans 11 and it recognized by Gradle project immediately. 
>  However, when I tried to edit any .gradle files, it opened up an editor tab 
> with no name on it.  The tab was in the 'local history' view, which didn't 
> work, and it was not possible to view the source file.  I was unable to find 
> any way I could edit the .gradle file in Netbeans.
> I was able to fix the problem by randomly checking my settings.  I went to 
> the Tools -> Misc  ===> "Groovy".  When I did that, a groovy "activating" 
> message appeared quickly.  Now, I can now edit .gradle files.
> I can appreciate the desire for lazy optimization, but this one can hurt a 
> bit.  Everything else worked, and I had no idea why I couldn't edit the 
> .gradle files in Netbeans.  I almost gave Netbeans 11 a pass because of this, 
> which is why I put the initial priority as "Critical".
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans] branch master updated: [NETBEANS-2185] Preventing NPE on close.

2019-04-09 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 37663fd  [NETBEANS-2185] Preventing NPE on close.
37663fd is described below

commit 37663fd3479a7e9afa41b8abd2ced67db37f32c2
Author: Jan Lahoda 
AuthorDate: Sat Apr 6 16:07:00 2019 +0200

[NETBEANS-2185] Preventing NPE on close.
---
 ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
index 110eefb..5889b9b 100644
--- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
+++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
@@ -239,7 +239,7 @@ public class LSPBindings {
 public void run() {
 for (Map mime2Bindings : 
project2MimeType2Server.values()) {
 for (LSPBindings b : mime2Bindings.values()) {
-if (b != null) {
+if (b != null && b.process != null) {
 b.process.destroy();
 }
 }


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans] branch master updated: [NETBEANS-2346] Fixed index out of bound exception in GAV parsing.

2019-04-09 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 394076b  [NETBEANS-2346] Fixed index out of bound exception in GAV 
parsing.
394076b is described below

commit 394076b462c34906479729199ee377a485c35e22
Author: Laszlo Kishalmi 
AuthorDate: Sat Apr 6 05:35:25 2019 -0700

[NETBEANS-2346] Fixed index out of bound exception in GAV parsing.
---
 .../modules/gradle/api/GradleBaseProject.java  |  2 +-
 .../modules/gradle/api/GradleConfiguration.java|  2 +-
 .../modules/gradle/api/GradleDependency.java   | 15 -
 .../modules/gradle/nodes/ConfigurationsNode.java   |  4 +-
 .../actions/ActionMappingPropertyReaderTest.java   | 22 +++---
 .../modules/gradle/api/GradleDepandencyTest.java   | 78 ++
 6 files changed, 105 insertions(+), 18 deletions(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
index 8c16759..49a4f14 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
@@ -256,7 +256,7 @@ public final class GradleBaseProject implements 
Serializable, ModuleSearchSuppor
 
 @Override
 public Set findModules(String gav) {
-String parts[] = gav.split(":");
+String parts[] = GradleDependency.gavSplit(gav);
 if (parts.length != 3) {
 throw new IllegalArgumentException("Invalid gav filter: "  + gav);
 }
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
index f269b5e..fe6b233 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
@@ -86,7 +86,7 @@ public final class GradleConfiguration implements 
Serializable, ModuleSearchSupp
 
 @Override
 public Set findModules(String gav) {
-String parts[] = gav.split(":");
+String parts[] = GradleDependency.gavSplit(gav);
 if (parts.length != 3) {
 throw new IllegalArgumentException("Invalid gav filter: "  + gav);
 }
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
index 7d1decb..ab2b588 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
@@ -63,6 +63,19 @@ public abstract class GradleDependency implements 
Serializable, Comparable artifacts) {
 super(id);
 this.artifacts = artifacts;
-String[] parts = id.split(":");
+String[] parts = gavSplit(id);
 group = parts[0];
 name = parts[1];
 version = parts[2];
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
index e57077e..4300195 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
@@ -290,7 +290,7 @@ public class ConfigurationsNode extends AbstractNode {
 GradleProject gp = project.getGradleProject();
 ArrayList ret = new ArrayList<>();
 GradleConfiguration conf = 
gp.getBaseProject().getConfigurations().get(configuration);
-// We can get null here ins ome extreme cases, e.g. when the 
project is being deleted
+// We can get null here in some extreme cases, e.g. when the 
project is being deleted
 if (conf != null) {
 ret.addAll(conf.getUnresolved());
 ret.addAll(conf.getProjects());
@@ -370,7 +370,7 @@ public class ConfigurationsNode extends AbstractNode {
 
 @Override
 public String getDisplayName() {
-return module.getName() + ":" + module.getVersion();
+return module.getVersion().isEmpty() ? module.getName() : 
module.getName() + ":" + module.getVersion();
 }
 
 @Override
diff --git 
a/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
 
b/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
index 99a7dfd..d6ad668 100644
--- 
a/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
+++ 
b/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
@@ -22,10 +

[jira] [Created] (NETBEANS-2384) multi module maven build stops with exception

2019-04-09 Thread Tobias Warneke (JIRA)
Tobias Warneke created NETBEANS-2384:


 Summary: multi module maven build stops with exception
 Key: NETBEANS-2384
 URL: https://issues.apache.org/jira/browse/NETBEANS-2384
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.0
Reporter: Tobias Warneke


Using Netbeans 10, it works.

 

 

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
java.lang.NullPointerException
 at 
org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511)
 at 
org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127)
 at 
org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293)
 at 
org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving 
dependencies took: 56 ms



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2378) .gradle files uneditable until groovy is "activated"

2019-04-09 Thread Mark Claassen (JIRA)


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

Mark Claassen commented on NETBEANS-2378:
-

I don't think I tried any of the pre-releases for NB 11.  I did install it, and 
imported my settings from NB 10.  I believe this bug happened then and to fix 
it and deleted all the temporary / cache directories that Netbeans makes and 
then started Netbeans 11 again and this time not doing the import.

It is possible that I forgot to remove something in that process.  If it is not 
reproducible, then maybe it is something related to that.

All that being said, there is a new thread on user list this morning that seems 
similar; having to do with the 'activation' of a feature.  Email subject: 'NB11 
PHP & Gradle clashing'

 

> .gradle files uneditable until groovy is "activated"
> 
>
> Key: NETBEANS-2378
> URL: https://issues.apache.org/jira/browse/NETBEANS-2378
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10 x64, Java 12
>Reporter: Mark Claassen
>Priority: Critical
>
> I was trying out Netbeans 11 and it recognized by Gradle project immediately. 
>  However, when I tried to edit any .gradle files, it opened up an editor tab 
> with no name on it.  The tab was in the 'local history' view, which didn't 
> work, and it was not possible to view the source file.  I was unable to find 
> any way I could edit the .gradle file in Netbeans.
> I was able to fix the problem by randomly checking my settings.  I went to 
> the Tools -> Misc  ===> "Groovy".  When I did that, a groovy "activating" 
> message appeared quickly.  Now, I can now edit .gradle files.
> I can appreciate the desire for lazy optimization, but this one can hurt a 
> bit.  Everything else worked, and I had no idea why I couldn't edit the 
> .gradle files in Netbeans.  I almost gave Netbeans 11 a pass because of this, 
> which is why I put the initial priority as "Critical".
>  



--
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-2378) .gradle files uneditable until groovy is "activated"

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2378:
---

Thanks for the quick response. I'm trying something out that binds the Gradle 
module a bit more tightly to the Groovy.

> .gradle files uneditable until groovy is "activated"
> 
>
> Key: NETBEANS-2378
> URL: https://issues.apache.org/jira/browse/NETBEANS-2378
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10 x64, Java 12
>Reporter: Mark Claassen
>Priority: Critical
>
> I was trying out Netbeans 11 and it recognized by Gradle project immediately. 
>  However, when I tried to edit any .gradle files, it opened up an editor tab 
> with no name on it.  The tab was in the 'local history' view, which didn't 
> work, and it was not possible to view the source file.  I was unable to find 
> any way I could edit the .gradle file in Netbeans.
> I was able to fix the problem by randomly checking my settings.  I went to 
> the Tools -> Misc  ===> "Groovy".  When I did that, a groovy "activating" 
> message appeared quickly.  Now, I can now edit .gradle files.
> I can appreciate the desire for lazy optimization, but this one can hurt a 
> bit.  Everything else worked, and I had no idea why I couldn't edit the 
> .gradle files in Netbeans.  I almost gave Netbeans 11 a pass because of this, 
> which is why I put the initial priority as "Critical".
>  



--
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-2378) .gradle files uneditable until groovy is "activated"

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi reassigned NETBEANS-2378:
-

Assignee: Laszlo Kishalmi

> .gradle files uneditable until groovy is "activated"
> 
>
> Key: NETBEANS-2378
> URL: https://issues.apache.org/jira/browse/NETBEANS-2378
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10 x64, Java 12
>Reporter: Mark Claassen
>Assignee: Laszlo Kishalmi
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was trying out Netbeans 11 and it recognized by Gradle project immediately. 
>  However, when I tried to edit any .gradle files, it opened up an editor tab 
> with no name on it.  The tab was in the 'local history' view, which didn't 
> work, and it was not possible to view the source file.  I was unable to find 
> any way I could edit the .gradle file in Netbeans.
> I was able to fix the problem by randomly checking my settings.  I went to 
> the Tools -> Misc  ===> "Groovy".  When I did that, a groovy "activating" 
> message appeared quickly.  Now, I can now edit .gradle files.
> I can appreciate the desire for lazy optimization, but this one can hurt a 
> bit.  Everything else worked, and I had no idea why I couldn't edit the 
> .gradle files in Netbeans.  I almost gave Netbeans 11 a pass because of this, 
> which is why I put the initial priority as "Critical".
>  



--
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-2378) .gradle files uneditable until groovy is "activated"

2019-04-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-2378:
-
Labels: pull-request-available  (was: )

> .gradle files uneditable until groovy is "activated"
> 
>
> Key: NETBEANS-2378
> URL: https://issues.apache.org/jira/browse/NETBEANS-2378
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10 x64, Java 12
>Reporter: Mark Claassen
>Priority: Critical
>  Labels: pull-request-available
>
> I was trying out Netbeans 11 and it recognized by Gradle project immediately. 
>  However, when I tried to edit any .gradle files, it opened up an editor tab 
> with no name on it.  The tab was in the 'local history' view, which didn't 
> work, and it was not possible to view the source file.  I was unable to find 
> any way I could edit the .gradle file in Netbeans.
> I was able to fix the problem by randomly checking my settings.  I went to 
> the Tools -> Misc  ===> "Groovy".  When I did that, a groovy "activating" 
> message appeared quickly.  Now, I can now edit .gradle files.
> I can appreciate the desire for lazy optimization, but this one can hurt a 
> bit.  Everything else worked, and I had no idea why I couldn't edit the 
> .gradle files in Netbeans.  I almost gave Netbeans 11 a pass because of this, 
> which is why I put the initial priority as "Critical".
>  



--
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-2369) Gradle support for displaying non-standard gradle files

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2369:
---

That's valid. Thank you for your insight!

> Gradle support for displaying non-standard gradle files
> ---
>
> Key: NETBEANS-2369
> URL: https://issues.apache.org/jira/browse/NETBEANS-2369
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Charles George
>Priority: Critical
>
> Multi-project builds in Gradle may contain a common gradle file shared among 
> subprojects. For example, I have a common.gradle file applied to each 
> subproject in the root projects build.gradle file.
> The "Projects" view in NetBeans only lists build.gradle, settings.gradle, and 
> gradle.properties under the "Build Scripts" section. The regex or code that 
> is determining which files to display should be relaxed to include something 
> like *.gradle. Otherwise I'm forced to go into the "Files" view to find the 
> common.gradle file in my root project.



--
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-2249) Web Pages folder not shown in Gradle projects with 'war' plugin

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2249:
---

Yes. That's true. I have a plugin that supports JavaEE with Gradle, but I've 
decided not to include that in 11.0 due to my own constraints. Supporting a new 
feature and being the Release Manager + Work and Family made that impossible. I 
hope it could happen for 11.1 June or 12.0 in September latest.

> Web Pages folder not shown in Gradle projects with 'war' plugin
> ---
>
> Key: NETBEANS-2249
> URL: https://issues.apache.org/jira/browse/NETBEANS-2249
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Web Project, projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-395-on-20190310)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Linux version 4.15.0-46-generic running on amd64; UTF-8; es_CL (nb)
>Reporter: Pablo Carmona A.
>Priority: Major
>
> After I add "apply plugin: 'war'" to file build.gradle of a new generated 
> Gradle project, the project's icon is shown with a globe symbol, like in web 
> projects, but I can not see the web files neither I can launch it with a 
> configured server. I would like to be able to run it as same as Maven web 
> projects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2249) Web Pages folder not shown in Gradle projects with 'war' plugin

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-2249.
---
Resolution: Duplicate

> Web Pages folder not shown in Gradle projects with 'war' plugin
> ---
>
> Key: NETBEANS-2249
> URL: https://issues.apache.org/jira/browse/NETBEANS-2249
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Web Project, projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-395-on-20190310)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Linux version 4.15.0-46-generic running on amd64; UTF-8; es_CL (nb)
>Reporter: Pablo Carmona A.
>Priority: Major
>
> After I add "apply plugin: 'war'" to file build.gradle of a new generated 
> Gradle project, the project's icon is shown with a globe symbol, like in web 
> projects, but I can not see the web files neither I can launch it with a 
> configured server. I would like to be able to run it as same as Maven web 
> projects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2373) Gradle project - recognize source sets

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2373:
---

Well, the webapp support will come with NETBEANS-1974, so let me reword this 
issue to be specific for distribution plugin support.

> Gradle project - recognize source sets
> --
>
> Key: NETBEANS-2373
> URL: https://issues.apache.org/jira/browse/NETBEANS-2373
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> It seems that Gradle in Netbeans do not recognize e.g. :
> - web based project (plugin war) so missing source /src/main/webapp
> - distributions (plugin: 'distribution' and 'application') so missing source 
> e.g. /src/main/dist



--
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-2373) Support for Gradle distribution plugin

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2373:
--
Summary: Support for Gradle distribution plugin  (was: Gradle project - 
recognize source sets)

> Support for Gradle distribution plugin
> --
>
> Key: NETBEANS-2373
> URL: https://issues.apache.org/jira/browse/NETBEANS-2373
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> It seems that Gradle in Netbeans do not recognize e.g. :
> - web based project (plugin war) so missing source /src/main/webapp
> - distributions (plugin: 'distribution' and 'application') so missing source 
> e.g. /src/main/dist



--
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-2373) Support for Gradle distribution plugin

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2373:
--
Description: Gradle plugin shall recognize the distribution plugin and add 
a Source root for 'src/main/dist' and it also need to support the created 
distribution packages in a way. Either in a separate node or just in the 
project customizer.  (was: It seems that Gradle in Netbeans do not recognize 
e.g. :

- web based project (plugin war) so missing source /src/main/webapp

- distributions (plugin: 'distribution' and 'application') so missing source 
e.g. /src/main/dist)

> Support for Gradle distribution plugin
> --
>
> Key: NETBEANS-2373
> URL: https://issues.apache.org/jira/browse/NETBEANS-2373
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> Gradle plugin shall recognize the distribution plugin and add a Source root 
> for 'src/main/dist' and it also need to support the created distribution 
> packages in a way. Either in a separate node or just in the project 
> customizer.



--
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-2372) Option for selection right Java Platform for Gradle build

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-2372.
---
Resolution: Information Provided

That setting is per-project setting. Use the project customizer to select the 
Java Platform to be used.

Note: The evaluation of the Gradle project will always use the JDK on which 
NetBeans is running, as Gradle only works that way.

> Option for selection right Java Platform for Gradle build
> -
>
> Key: NETBEANS-2372
> URL: https://issues.apache.org/jira/browse/NETBEANS-2372
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Minor
>
> - in configuration even missing option to select Java Platform to use for 
> Gradle building



--
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-2346) Netbeans throws ArrayIndexOutOfBoundsException when opening Gradle projects containing unversioned dependencies

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-2346.
---
   Resolution: Fixed
Fix Version/s: Next

Marked resolved as the corresponding PR has been merged.

> Netbeans throws ArrayIndexOutOfBoundsException when opening Gradle projects 
> containing unversioned dependencies
> ---
>
> Key: NETBEANS-2346
> URL: https://issues.apache.org/jira/browse/NETBEANS-2346
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Travis
>Assignee: Laszlo Kishalmi
>Priority: Minor
>  Labels: pull-request-available
> Fix For: Next
>
> Attachments: netbeans-2346-test-project.zip
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I am trying to load a project that uses local .jar file dependencies.  The 
> build.gradle contains something like:
>  
> repositories {
>   flatDir dirs: [ "$rootDir/lib" ]
>  }
> dependencies {
>   testImplementation name: 'hamcrest-core-1.3'
> }
>  
> And there is a file hamcrest-core-1.3.jar in the project's "lib" folder.
>  
> This all works fine with Netbeans versions prior to 11 (using the third-party 
> Gradle plugin, of course).
>  
> But when Netbeans 11 vc4 loads the same project, it throws the following 
> exception:
>  
> java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2 
> at 
> org.netbeans.modules.gradle.api.GradleDependency$ModuleDependency.(GradleDependency.java:85)
>  
> at 
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.processDependencies(GradleBaseProjectBuilder.java:149)
>  
> at 
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.build(GradleBaseProjectBuilder.java:75)
>  
> at 
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder$Extractor.extract(GradleBaseProjectBuilder.java:288)
>  
> at 
> org.netbeans.modules.gradle.GradleProjectCache.createGradleProject(GradleProjectCache.java:432)
>  
> at 
> org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:257)
>  
> at 
> org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:85)
>  
> [catch] at 
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:348)
>  
> at 
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:326)
>  
> at java.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)
>  
> I took a look in GradleDependency.java line 85 and found:
>  
> ModuleDependency(String id, Set artifacts) { 
> super(id); 
> this.artifacts = artifacts; 
> String[] parts = id.split(":"); 
> group = parts[0]; 
> name = parts[1]; 
> version = parts[2]; 
> } 
>  
> That code appears to be making the blind assumption that all dependencies 
> will have all three parts: group, name, version.  But it is possible and 
> legal to specify only name for local .jar dependencies like mine.
>  
>  
> After this exception, the "Source Packages" subtree is completely missing 
> from the "Projects" pane.  Although the project load gracefully recovers and 
> some operations still work on the project, the IDE is effectively unusuable 
> without the ability to browse packages and classes.
>  
> I found a simple workaround, which is to rewrite the same dependencies in 
> build.gradle to use the full group:name:version format, with fake group and 
> version values just to make Netbeans happy:
>   testImplementation 'dummy:hamcrest-core-1.3:dummy'
> With that workaround, Netbeans 11 works much better.
>  
> Although that workaround is acceptable, it results in otherwise unnecessary 
> clutter in the build.gradle files, so I'm hoping to revert it after a future 
> Netbeans update.
>  
> Please fix the Netbeans Gradle support to properly handle name-only 
> dependencies like the example above.  Thank you! 
>  
> By the way, I don't know if it makes any difference here, but I'm using:
>  
> Windows 10
> Netbeans 11 vc4
> Gradle 5.2
> Java 12
> Gradle Plugin 2.0.2
>  
> Yes, I'm trying to keep using the old plugin, but the new Gradle built-in 
> support still interferes in this manner, despite showing up as disabled in 
> the Plugins browser.  Apparently some of the built-in code still runs even in 
> that scena

[jira] [Updated] (NETBEANS-2221) ClassCastException when try to open class from not opened module

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2221:
--
Component/s: (was: projects - Gradle)

> ClassCastException when try to open class from not opened module
> 
>
> Key: NETBEANS-2221
> URL: https://issues.apache.org/jira/browse/NETBEANS-2221
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Tomas Huryn
>Priority: Major
>
> When I try to open a class from project which has not been opened before I 
> get the exception:
> WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
> the position attribute: 
> [org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], 
> but some are: [HyperlinkProviderImpl.instance, 
> org-netbeans-modules-editor-url-HyperlinkImpl.instance]
> WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: 
> ParserManager.parse called in AWT event thread by: 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
> Even though the source level of  is set to: 11, java.util.zip.CRC32C cannot 
> be found on the system module path: 
> Changing source level to 1.8
> SEVERE [global]
> java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType 
> cannot be cast to class com.sun.tools.javac.code.Type$ErrorType 
> (com.sun.tools.javac.code.Type$ClassType and 
> com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader 
> org.netbeans.StandardModule$OneModuleClassLoader @4f09236a)
>     at 
> org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863)
>     at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285)
>     at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473)
>     at 
> javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
>     at 
> org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44)
>     at 
> org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118)
>     at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99)
>     at 
> org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121)
>     at 
> org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToType

[jira] [Commented] (NETBEANS-2221) ClassCastException when try to open class from not opened module

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2221:
---

There was nothing in the description and the stack trace which would initiate 
that this would be a Gradle project issue, so I removed that component.

> ClassCastException when try to open class from not opened module
> 
>
> Key: NETBEANS-2221
> URL: https://issues.apache.org/jira/browse/NETBEANS-2221
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Tomas Huryn
>Priority: Major
>
> When I try to open a class from project which has not been opened before I 
> get the exception:
> WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
> the position attribute: 
> [org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], 
> but some are: [HyperlinkProviderImpl.instance, 
> org-netbeans-modules-editor-url-HyperlinkImpl.instance]
> WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: 
> ParserManager.parse called in AWT event thread by: 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
> Even though the source level of  is set to: 11, java.util.zip.CRC32C cannot 
> be found on the system module path: 
> Changing source level to 1.8
> SEVERE [global]
> java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType 
> cannot be cast to class com.sun.tools.javac.code.Type$ErrorType 
> (com.sun.tools.javac.code.Type$ClassType and 
> com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader 
> org.netbeans.StandardModule$OneModuleClassLoader @4f09236a)
>     at 
> org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863)
>     at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285)
>     at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473)
>     at 
> javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
>     at 
> org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44)
>     at 
> org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118)
>     at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99)
>     at 
> org.netbeans

[jira] [Commented] (NETBEANS-2221) ClassCastException when try to open class from not opened module

2019-04-09 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2221:
---

A reproducible testcase would be good though...

> ClassCastException when try to open class from not opened module
> 
>
> Key: NETBEANS-2221
> URL: https://issues.apache.org/jira/browse/NETBEANS-2221
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Tomas Huryn
>Priority: Major
>
> When I try to open a class from project which has not been opened before I 
> get the exception:
> WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
> the position attribute: 
> [org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], 
> but some are: [HyperlinkProviderImpl.instance, 
> org-netbeans-modules-editor-url-HyperlinkImpl.instance]
> WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: 
> ParserManager.parse called in AWT event thread by: 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
> Even though the source level of  is set to: 11, java.util.zip.CRC32C cannot 
> be found on the system module path: 
> Changing source level to 1.8
> SEVERE [global]
> java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType 
> cannot be cast to class com.sun.tools.javac.code.Type$ErrorType 
> (com.sun.tools.javac.code.Type$ClassType and 
> com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader 
> org.netbeans.StandardModule$OneModuleClassLoader @4f09236a)
>     at 
> org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863)
>     at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285)
>     at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473)
>     at 
> javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672)
>     at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683)
>     at 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
>     at 
> org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44)
>     at 
> org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118)
>     at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99)
>     at 
> org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121)
>     at 
> org.netbeans

[jira] [Created] (NETBEANS-2385) Snap package unable to run

2019-04-09 Thread Bartosz Tomasik (JIRA)
Bartosz Tomasik created NETBEANS-2385:
-

 Summary: Snap package unable to run
 Key: NETBEANS-2385
 URL: https://issues.apache.org/jira/browse/NETBEANS-2385
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Launchers&CLI
Affects Versions: 11.0, 10.0
 Environment: Ubuntu 14.04
Reporter: Bartosz Tomasik


I'm using Netbeans snap package. However it seems there's some clash on what 
netbeans detect as default java and what it tries to use, if I provide 
_jdkhome_ as an argument everything works. otherwise I get error:
{quote}{{$ netbeans }}
{{JVMJ9VM007E Command-line option unrecognised: 
--add-opens=java.base/java.net=ALL-UNNAMED}}
{{Error: Could not create the Java Virtual Machine.}}
{{Error: A fatal exception has occurred. Program will exit.}}
{quote}
in contradiction all of this works as expected:

netbeans --jdkhome /usr/lib/jvm/java-1.11.0-openjdk-amd64
netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64
netbeans --jdkhome /usr/lib/jvm/ibm-java80-jdk-x86_64

jdk11 is my default java
{quote}$ update-java-alternatives -l
ibm-java80-jdk-x86_64  80 /usr/lib/jvm/ibm-java80-jdk-x86_64
ibm-java80-jre-x86_64  80 /usr/lib/jvm/ibm-java80-jre-x86_64
java-1.11.0-openjdk-amd64     /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64   1081   /usr/lib/jvm/java-1.8.0-openjdk-amd64
java-1.9.0-openjdk-amd64   1091   /usr/lib/jvm/java-1.9.0-openjdk-amd64
{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2386) Unable to connect to the NetBeans Distribution

2019-04-09 Thread Ivan Borisov (JIRA)
Ivan Borisov created NETBEANS-2386:
--

 Summary: Unable to connect to the NetBeans Distribution
 Key: NETBEANS-2386
 URL: https://issues.apache.org/jira/browse/NETBEANS-2386
 Project: NetBeans
  Issue Type: Bug
  Components: updatecenters - Pluginportal
Affects Versions: 10.0
 Environment: Product Version: Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
Runtime: OpenJDK Runtime Environment 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
System: Linux version 4.18.0-17-generic running on amd64; UTF-8; bg_BG (nb)
User directory: /home/vankata/.netbeans/10.0
Cache directory: /home/vankata/.cache/netbeans/10.0
Reporter: Ivan Borisov


When check for update receive error
{quote}Unable to connect to the NetBeans Distribution because of 
[https://netbeans.org/projects/legacy/nb/updates/10.0/updates.xml.gz]
{quote}
When i uncheck Netbeans distribution in Update Centers all is ok. Just as you 
see link not work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans-website] branch master updated: Trying out the proxy flag in rewriterule

2019-04-09 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 7209869  Trying out the proxy flag in rewriterule
7209869 is described below

commit 72098691f412b86990bbb1300b6e792c94c12144
Author: Antonio Vieiro 
AuthorDate: Tue Apr 9 20:39:57 2019 +0200

Trying out the proxy flag in rewriterule
---
 netbeans.apache.org/src/content/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index c9edda9..5521f8a 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -16,4 +16,5 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
-RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]
+RequestHeader set Host netbeans.org
+RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 714

2019-04-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 9b0dbda  Automated site publishing by Jenkins build 714
9b0dbda is described below

commit 9b0dbdafc759af305808c3bc878fea8aa3ba8066
Author: jenkins 
AuthorDate: Tue Apr 9 18:42:17 2019 +

Automated site publishing by Jenkins build 714
---
 content/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index c9edda9..5521f8a 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -16,4 +16,5 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
-RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]
+RequestHeader set Host netbeans.org
+RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]


-
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-1775) NPE upon startup on Windows with VPN connection

2019-04-09 Thread JIRA


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

Matthias Bläsing resolved NETBEANS-1775.

Resolution: Fixed
  Assignee: lbruun  (was: Matthias Bläsing)

Fix was merged to master

> NPE upon startup on Windows with VPN connection
> ---
>
> Key: NETBEANS-1775
> URL: https://issues.apache.org/jira/browse/NETBEANS-1775
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 9.0, 10.0, 11.0
> Environment: Windows + VPN
>Reporter: Travis
>Assignee: lbruun
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Immediately upon starting Apache Netbeans 10 on Windows, I get the following 
> NullPointerException only when I am connected to the internet using VPN.  
> This seems benign, because I can continue using Netbeans with no problems, 
> but the red notification upon every startup is distracting.
>  
> java.lang.NullPointerException
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.isSoftwareVirtualAdapter(LocalAddressUtils.java:524)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.getLocalNetworkInterfaceAddr(LocalAddressUtils.java:463)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.access$000(LocalAddressUtils.java:79)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils$3.call(LocalAddressUtils.java:123)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils$3.call(LocalAddressUtils.java:120)
>  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)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.getPrioritizedLocalHostAddresses(LocalAddressUtils.java:281)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.getMostLikelyLocalInetAddresses(LocalAddressUtils.java:338)
>  at 
> org.netbeans.core.network.utils.LocalAddressUtils.getMostLikelyLocalInetAddress(LocalAddressUtils.java:391)
>  at 
> org.netbeans.core.network.proxy.pac.impl.NbPacHelperMethods.myIpAddress(NbPacHelperMethods.java:126)
>  at 
> jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$5$538$\^eval\_.myIpAddress(:26)
>  at 
> jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$4$\^eval\_.FindProxyForURL(:2)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:659)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:202)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:393)
>  at 
> jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:197)
>  at 
> org.netbeans.core.network.proxy.pac.impl.NbPacScriptEvaluator$PacScriptEngine.findProxyForURL(NbPacScriptEvaluator.java:527)
> [catch] at 
> org.netbeans.core.network.proxy.pac.impl.NbPacScriptEvaluator.findProxyForURL(NbPacScriptEvaluator.java:227)
>  at 
> org.netbeans.core.network.proxy.ProxyAutoConfig.findProxyForURL(ProxyAutoConfig.java:140)
>  at 
> org.netbeans.core.network.proxy.NetworkProxyReloader.reloadNetworkProxy(NetworkProxyReloader.java:90)
>  at 
> org.netbeans.core.network.proxy.NbProxySelector.(NbProxySelector.java:59)
>  at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
>  at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
>  at java.base/java.lang.Class.newInstance(Class.java:584)
>  at 
> org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:41)
>  at 
> org.openide.util.lookup.MetaInfServicesLookup$Item.getInstance(MetaInfServicesLookup.java:489)
>  at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:397)
>  at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:197)
>  at 
> org.netbeans.core.CoreBridgeImpl.doRegisterP

[jira] [Updated] (NETBEANS-2386) Unable to connect to the NetBeans Distribution

2019-04-09 Thread Ivan Borisov (JIRA)


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

Ivan Borisov updated NETBEANS-2386:
---
   Priority: Major  (was: Minor)
Description: 
When check for update receive error
{quote}Unable to connect to the NetBeans Distribution because of 
[https://netbeans.org/projects/legacy/nb/updates/10.0/updates.xml.gz]
{quote}
When i uncheck *Netbeans distribution* in Update Centers and stay only with 
*Plugin portal* source i receive
{quote}Unable to connect to the Plugin Portal because of Connection reset
{quote}
I search in internet and find solution is change https to hhtp in url

[http://plugins.netbeans.org/nbpluginportal/updates/10.0/catalog.xml.gz]
{code:java}
java.net.UnknownHostException: plugins.netbeans.org
    at 
java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:221)
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
    at java.base/java.net.Socket.connect(Socket.java:591)
    at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:657)
    at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
    at 
java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:265)
    at 
java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
    at 
java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1065)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1063)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at 
java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:793)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1062)
    at 
java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at 
java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:163)
    at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:240)
    at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57)
    at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160)
    at 
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:138)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
Caused: java.io.IOException: plugins.netbeans.org
    at 
org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:78)
    at 
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:221)
    at 
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:74)
    at 
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:129)
    at 
org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:155)
    at 
org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:171)
[catch] at 
org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:410)
    at 
org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:388)
    at 
org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:382)
    at org.netbeans.modules.autoupdate.ui.UnitTab$14.run(UnitTab.java:786)
    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)
INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading 
URL https://plugins.netbeans.org/nbpluginportal/updates/10.0/catalog.xml.gz 
failed (java.net.SocketException: Connection reset)
INFO [org.netbeans.modules.autoupdate.ui.Utilities]: Connection reset
java.net.SocketException: Connection reset
    at java.ba

[incubator-netbeans-website] branch master updated: Rewriterule to IP address instead

2019-04-09 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new a1ef7c4  Rewriterule to IP address instead
a1ef7c4 is described below

commit a1ef7c488498a1a585e0608e9df01c706076a23b
Author: Antonio Vieiro 
AuthorDate: Tue Apr 9 20:53:12 2019 +0200

Rewriterule to IP address instead
---
 netbeans.apache.org/src/content/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index 5521f8a..e0fab97 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -17,4 +17,5 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
 RequestHeader set Host netbeans.org
-RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
+# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
+RewriteRule (.*) "https://137.254.56.26/$1"; [P]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 716

2019-04-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 7abc242  Automated site publishing by Jenkins build 716
7abc242 is described below

commit 7abc2428c8f58ef3b82d7d37a2b8d78e61be38c0
Author: jenkins 
AuthorDate: Tue Apr 9 18:55:11 2019 +

Automated site publishing by Jenkins build 716
---
 content/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index 5521f8a..e0fab97 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -17,4 +17,5 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
 RequestHeader set Host netbeans.org
-RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
+# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
+RewriteRule (.*) "https://137.254.56.26/$1"; [P]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans-website] branch master updated: Restoring legacy.netbeans.org with 302 redirection

2019-04-09 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 8714224  Restoring legacy.netbeans.org with 302 redirection
8714224 is described below

commit 87142245c5b816fd2ff61362e1196caa2ea1fb4b
Author: Antonio Vieiro 
AuthorDate: Tue Apr 9 21:09:17 2019 +0200

Restoring legacy.netbeans.org with 302 redirection
---
 netbeans.apache.org/src/content/.htaccess | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index e0fab97..c9edda9 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -16,6 +16,4 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
-RequestHeader set Host netbeans.org
-# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
-RewriteRule (.*) "https://137.254.56.26/$1"; [P]
+RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 718

2019-04-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new f2c78a2  Automated site publishing by Jenkins build 718
f2c78a2 is described below

commit f2c78a2bd18d80d63577e673bb40063b6afa1b99
Author: jenkins 
AuthorDate: Tue Apr 9 19:11:13 2019 +

Automated site publishing by Jenkins build 718
---
 content/.htaccess | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index e0fab97..c9edda9 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -16,6 +16,4 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
-RequestHeader set Host netbeans.org
-# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [P]
-RewriteRule (.*) "https://137.254.56.26/$1"; [P]
+RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]


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

2019-04-09 Thread Kenneth Fogel (JIRA)


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

Kenneth Fogel commented on NETBEANS-378:


On the three Windows 10 systems I work on, all wiith different video hardware, 
at 1920x1080 the text on the splash screen is too small and unreadable. I 
recommend that this text be between 3x or 4x larger. 

> 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
>  Labels: HiDPI
> Attachments: Installer.PNG, Screenshot_Idea.png, 
> Screenshot_Netbeans.png, Screenshot_Netbeans_Fontsize24.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



[incubator-netbeans] branch master updated: Add link from dev javadoc to new released apidoc 11 (#1190)

2019-04-09 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 0c910e0  Add link from dev javadoc to new released apidoc 11 (#1190)
0c910e0 is described below

commit 0c910e046d96c84c0db3bf451a7f43afcaeacb10
Author: Eric Barboni 
AuthorDate: Tue Apr 9 21:23:35 2019 +0200

Add link from dev javadoc to new released apidoc 11 (#1190)
---
 nbbuild/javadoctools/export2apichanges.xsl | 3 ++-
 nbbuild/javadoctools/export2html.xsl   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/nbbuild/javadoctools/export2apichanges.xsl 
b/nbbuild/javadoctools/export2apichanges.xsl
index 9a80617..304ae3a 100644
--- a/nbbuild/javadoctools/export2apichanges.xsl
+++ b/nbbuild/javadoctools/export2apichanges.xsl
@@ -104,7 +104,8 @@
 http://bits.netbeans.org/8.1/javadoc/apichanges.html";>release 8.1,
 http://bits.netbeans.org/8.2/javadoc/apichanges.html";>release 8.2,
 http://bits.netbeans.org/9.0/javadoc/apichanges.html";>release 9.0,
-http://bits.netbeans.org/10.0/javadoc/apichanges.html";>release 10.0.
+http://bits.netbeans.org/10.0/javadoc/apichanges.html";>release 10.0,
+http://bits.netbeans.org/11.0/javadoc/apichanges.html";>release 11.0.
 
 
 
diff --git a/nbbuild/javadoctools/export2html.xsl 
b/nbbuild/javadoctools/export2html.xsl
index d6f423a..231f8269 100644
--- a/nbbuild/javadoctools/export2html.xsl
+++ b/nbbuild/javadoctools/export2html.xsl
@@ -84,6 +84,7 @@
 a list of APIs for a particular version, you may want to go to:
 
 
+http://bits.netbeans.org/11.0/javadoc/"; 
target="_top">11.0 - Javadoc as released for NetBeans IDE 11.0
 http://bits.netbeans.org/10.0/javadoc/"; 
target="_top">10.0 - Javadoc as released for NetBeans IDE 10.0
 http://bits.netbeans.org/9.0/javadoc/"; 
target="_top">9.0 - Javadoc as released for NetBeans IDE 9.0
 http://bits.netbeans.org/8.2/javadoc/"; 
target="_top">8.2 - Javadoc as released for NetBeans IDE 8.2


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans] branch master updated: Eliminating remaining usages of old javadoc API and implementation

2019-04-09 Thread jlahoda
This is an automated email from the ASF dual-hosted git repository.

jlahoda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 5f675e8  Eliminating remaining usages of old javadoc API and 
implementation
5f675e8 is described below

commit 5f675e88a3ae3fee652332f9faf2f1985508c272
Author: Jan Lahoda 
AuthorDate: Tue Apr 9 21:48:57 2019 +0200

Eliminating remaining usages of old javadoc API and implementation

Includes patch by arusinha to update nb-javac in 
libs.javacapi/libs.javacimpl to nb-javac without the old javadoc API.
---
 .../nbproject/project.properties   |   2 -
 enterprise/web.jsf/nbproject/project.properties|   1 -
 .../websvc/design/javamodel/JavadocModel.java  |  33 --
 .../modules/websvc/design/javamodel/Utils.java |  37 +-
 .../netbeans/api/java/source/ElementUtilities.java |  42 --
 .../netbeans/modules/java/source/JavadocEnv.java   | 438 -
 .../java/source/indexing/VanillaCompileWorker.java |  16 +-
 .../modules/java/source/parsing/JavacParser.java   |  21 +-
 .../nbjavac/parsing/ContextEnhancerImpl.java   |   5 +-
 .../netbeans/modules/javadoc/hints/Analyzer.java   |  92 +++--
 .../modules/javadoc/hints/JavadocUtilities.java|  23 +-
 .../modules/javadoc/hints/Analyzer2Test.java   |  19 +-
 .../lib/nbjavac/services/NBClassWriter.java|   2 -
 .../lib/nbjavac/services/NBJavadocClassFinder.java |  59 ---
 .../lib/nbjavac/services/NBJavadocEnter.java   |  94 -
 .../lib/nbjavac/services/NBJavadocMemberEnter.java | 102 -
 .../services/{NBMessager.java => NBLog.java}   |  36 +-
 .../lib/nbjavac/services/NBMemberEnter.java|  18 +-
 .../netbeans/lib/nbjavac/services/NBAttrTest.java  |   2 +-
 .../lib/nbjavac/services/NBClassWriterTest.java|   4 +-
 .../netbeans/lib/nbjavac/services/Utilities.java   |   5 +-
 java/libs.javacapi/external/binaries-list  |   2 +-
 java/libs.javacapi/nbproject/project.xml   |   1 -
 java/libs.javacimpl/external/binaries-list |   2 +-
 .../IntroduceLocalExtensionTransformer.java|  14 +-
 .../java/plugins/MoveMembersTransformer.java   |  36 +-
 .../refactoring/java/ui/ChangeParametersPanel.java |   6 +-
 .../java/ui/IntroduceParameterPanel.java   |   6 +-
 .../modules/java/hints/spiimpl/Utilities.java  |  21 +-
 .../netbeans/spi/java/hints/JavaFixUtilities.java  |  15 +-
 nbbuild/build.xml  |   5 +-
 nbbuild/templates/projectized.xml  |   3 +
 32 files changed, 205 insertions(+), 957 deletions(-)

diff --git a/enterprise/j2ee.ejbverification/nbproject/project.properties 
b/enterprise/j2ee.ejbverification/nbproject/project.properties
index 2804a56..4afe2d4 100644
--- a/enterprise/j2ee.ejbverification/nbproject/project.properties
+++ b/enterprise/j2ee.ejbverification/nbproject/project.properties
@@ -19,7 +19,5 @@ javac.source=1.7
 
 # requires nb.javac for compiling of tests on Mac
 requires.nb.javac=true
-# 183728: hack to make java.hints compilable even though javac impl is on the 
bootclasspath:
-bootclasspath.prepend=${nb_all}/libs.javacapi/external/nb-javac-api.jar${path.separator}${nb_all}/libs.javacimpl/external/nb-javac-impl.jar
 # JavaEE API classes
 test.unit.cp.extra=${nb_all}/enterprise/javaee7.api/external/javaee-api-7.0.jar
diff --git a/enterprise/web.jsf/nbproject/project.properties 
b/enterprise/web.jsf/nbproject/project.properties
index 74718b9..ce2b934 100644
--- a/enterprise/web.jsf/nbproject/project.properties
+++ b/enterprise/web.jsf/nbproject/project.properties
@@ -33,4 +33,3 @@ test.config.stableBTD.excludes=\
 **/SyncUpdateTest.class
 
 requires.nb.javac=true
-bootclasspath.prepend=${nb_all}/libs.javacapi/external/nb-javac-api.jar${path.separator}${nb_all}/libs.javacimpl/external/nb-javac-impl.jar
diff --git 
a/enterprise/websvc.design/src/org/netbeans/modules/websvc/design/javamodel/JavadocModel.java
 
b/enterprise/websvc.design/src/org/netbeans/modules/websvc/design/javamodel/JavadocModel.java
index 08c4183..cc6260b 100644
--- 
a/enterprise/websvc.design/src/org/netbeans/modules/websvc/design/javamodel/JavadocModel.java
+++ 
b/enterprise/websvc.design/src/org/netbeans/modules/websvc/design/javamodel/JavadocModel.java
@@ -50,39 +50,6 @@ public class JavadocModel {
 this.text=text;
 }
 
-public List getInlineJavadoc() {
-return inlineJavadoc;
-}
-
-void setInlineJavadoc(List inlineJavadoc) {
-this.inlineJavadoc = inlineJavadoc;
-}
-
-public List getParamJavadoc() {
-return paramJavadoc;
-}
-
-void setParamJavadoc(List paramJavadoc) {
-this.paramJavadoc = paramJavadoc;
-}
-
-public List getThrowsJavadoc() {
-return throwsJavadoc;
-}
-
-void setThrowsJavadoc(List throwsJavadoc) {
-this.throwsJavadoc = throw

[jira] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10

2019-04-09 Thread Gael FATOU (JIRA)


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

Gael FATOU commented on NETBEANS-1097:
--

Confirmed it's still there in NetBeans 10. 

Has someone any idea about this 
modules.supported.internal
condition? What does it mean?

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 
> or JDK 10
> -
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> <-- WHY THIS 
> CONDITION??
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?
> For now, a workaround seems to be manually deleting the weird
> {code:java}
> 
> 
> {code}
> part from build-impl.xml, but that needs to be re-done every time NetBeans 
> recreates it.



--
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-2185) NullPointerException after close program

2019-04-09 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-2185:
---

Hello,

It looks like the problem with version 1051 has been corrected successfully.

Thank you.

> NullPointerException after close program
> 
>
> Key: NETBEANS-2185
> URL: https://issues.apache.org/jira/browse/NETBEANS-2185
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 1018, Java 12 Early 
> Access 32
>Reporter: Michal Rama
>Assignee: Jan Lahoda
>Priority: Minor
>  Labels: close, netbeans, pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello,
> An error will pop up when the program closes.
> Sometimes it only appears for a fraction of a second, barely noticeable. 
> Sometimes it will also appear for a few seconds. I've copied it a few times 
> and the bug always writes the same thing.
> {code:java}
> java.lang.NullPointerException
> at 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
> 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.startup.NbStartStop.startClose(NbStartStop.java:119)
> at org.netbeans.core.startup.NbInstaller.closeAsync(NbInstaller.java:707)
> at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:2302)
> at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:346)
> at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:114)
> at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:71)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
> at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
> at org.openide.util.Mutex.readAccess(Mutex.java:235)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:209)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
> at 
> org.netbeans.core.windows.view.ui.MainWindow$9.windowClosing(MainWindow.java:529)
> at 
> java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
> at java.desktop/java.awt.Window.processWindowEvent(Window.java:2068)
> at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
> at java.desktop/java.awt.Window.processEvent(Window.java:2027)
> at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
> at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
> at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
> at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
> at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatch

[jira] [Resolved] (NETBEANS-2185) NullPointerException after close program

2019-04-09 Thread Michal Rama (JIRA)


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

Michal Rama resolved NETBEANS-2185.
---
Resolution: Resolved

> NullPointerException after close program
> 
>
> Key: NETBEANS-2185
> URL: https://issues.apache.org/jira/browse/NETBEANS-2185
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 1018, Java 12 Early 
> Access 32
>Reporter: Michal Rama
>Assignee: Jan Lahoda
>Priority: Minor
>  Labels: close, netbeans, pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello,
> An error will pop up when the program closes.
> Sometimes it only appears for a fraction of a second, barely noticeable. 
> Sometimes it will also appear for a few seconds. I've copied it a few times 
> and the bug always writes the same thing.
> {code:java}
> java.lang.NullPointerException
> at 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
> 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.startup.NbStartStop.startClose(NbStartStop.java:119)
> at org.netbeans.core.startup.NbInstaller.closeAsync(NbInstaller.java:707)
> at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:2302)
> at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:346)
> at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:114)
> at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:71)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
> at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
> at org.openide.util.Mutex.readAccess(Mutex.java:235)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:209)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
> at 
> org.netbeans.core.windows.view.ui.MainWindow$9.windowClosing(MainWindow.java:529)
> at 
> java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
> at java.desktop/java.awt.Window.processWindowEvent(Window.java:2068)
> at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
> at java.desktop/java.awt.Window.processEvent(Window.java:2027)
> at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
> at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
> at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
> at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
> at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> I know th

[jira] [Reopened] (NETBEANS-2185) NullPointerException after close program

2019-04-09 Thread Michal Rama (JIRA)


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

Michal Rama reopened NETBEANS-2185:
---

> NullPointerException after close program
> 
>
> Key: NETBEANS-2185
> URL: https://issues.apache.org/jira/browse/NETBEANS-2185
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 1018, Java 12 Early 
> Access 32
>Reporter: Michal Rama
>Assignee: Jan Lahoda
>Priority: Minor
>  Labels: close, netbeans, pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello,
> An error will pop up when the program closes.
> Sometimes it only appears for a fraction of a second, barely noticeable. 
> Sometimes it will also appear for a few seconds. I've copied it a few times 
> and the bug always writes the same thing.
> {code:java}
> java.lang.NullPointerException
> at 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
> 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.startup.NbStartStop.startClose(NbStartStop.java:119)
> at org.netbeans.core.startup.NbInstaller.closeAsync(NbInstaller.java:707)
> at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:2302)
> at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:346)
> at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:114)
> at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:71)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
> at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
> at org.openide.util.Mutex.readAccess(Mutex.java:235)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:209)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
> at 
> org.netbeans.core.windows.view.ui.MainWindow$9.windowClosing(MainWindow.java:529)
> at 
> java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
> at java.desktop/java.awt.Window.processWindowEvent(Window.java:2068)
> at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
> at java.desktop/java.awt.Window.processEvent(Window.java:2027)
> at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
> at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
> at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
> at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
> at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> I know the program does not limit 

[jira] [Resolved] (NETBEANS-2185) NullPointerException after close program

2019-04-09 Thread Michal Rama (JIRA)


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

Michal Rama resolved NETBEANS-2185.
---
   Resolution: Fixed
Fix Version/s: Next

> NullPointerException after close program
> 
>
> Key: NETBEANS-2185
> URL: https://issues.apache.org/jira/browse/NETBEANS-2185
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 1018, Java 12 Early 
> Access 32
>Reporter: Michal Rama
>Assignee: Jan Lahoda
>Priority: Minor
>  Labels: close, netbeans, pull-request-available
> Fix For: Next
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello,
> An error will pop up when the program closes.
> Sometimes it only appears for a fraction of a second, barely noticeable. 
> Sometimes it will also appear for a few seconds. I've copied it a few times 
> and the bug always writes the same thing.
> {code:java}
> java.lang.NullPointerException
> at 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
> 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.startup.NbStartStop.startClose(NbStartStop.java:119)
> at org.netbeans.core.startup.NbInstaller.closeAsync(NbInstaller.java:707)
> at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:2302)
> at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:346)
> at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:114)
> at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:71)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
> at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
> at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
> at org.openide.util.Mutex.readAccess(Mutex.java:235)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:209)
> at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
> at 
> org.netbeans.core.windows.view.ui.MainWindow$9.windowClosing(MainWindow.java:529)
> at 
> java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
> at java.desktop/java.awt.Window.processWindowEvent(Window.java:2068)
> at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
> at java.desktop/java.awt.Window.processEvent(Window.java:2027)
> at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
> at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
> at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
> at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
> at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
> at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread

[jira] [Updated] (NETBEANS-2349) Convert switch to switch expression

2019-04-09 Thread vikas kumar prabhakar (JIRA)


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

vikas kumar prabhakar updated NETBEANS-2349:

Summary: Convert switch to switch expression  (was: Convert to switch 
expression)

> Convert switch to switch expression
> ---
>
> Key: NETBEANS-2349
> URL: https://issues.apache.org/jira/browse/NETBEANS-2349
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: vikas kumar prabhakar
>Priority: Major
>
> Convert old switch statement to switch expression in following case:
> Old code:  (Assign same variable in every case with one statement)
> int x = 5;
> String s = "foo";
> switch (x)
> { case 1: s = "bar";break; case 2: s = "baz";break; default: s = "zuq";break; 
> }
>  
> After fix:
> int x = 5;
> String s = switch (x)
> { case 1 -> "bar"; case 2 -> "baz"; default -> "zuq"; }
> ;



--
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-2349) Convert switch to switch expression

2019-04-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-2349:
-
Labels: pull-request-available  (was: )

> Convert switch to switch expression
> ---
>
> Key: NETBEANS-2349
> URL: https://issues.apache.org/jira/browse/NETBEANS-2349
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: vikas kumar prabhakar
>Assignee: vikas kumar prabhakar
>Priority: Major
>  Labels: pull-request-available
>
> Convert old switch statement to switch expression in following case:
> Old code:  (Assign same variable in every case with one statement)
> int x = 5;
> String s = "foo";
> switch (x)
> { case 1: s = "bar";break; case 2: s = "baz";break; default: s = "zuq";break; 
> }
>  
> After fix:
> int x = 5;
> String s = switch (x)
> { case 1 -> "bar"; case 2 -> "baz"; default -> "zuq"; }
> ;



--
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-2374) Editor does not show UTF-8 codepoint as Unicode character

2019-04-09 Thread Netbeans User 2019 (JIRA)


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

Netbeans User 2019 updated NETBEANS-2374:
-
Description: 
There is additional issue (or not reported new feature on Netbeans 11) as seems 
that Netbeans "Editor" stop understand UTF-8

so presents all characters instead of showing just exact Unicode character of 
that

codepoint.

  was:
There is additional issue (or not reported new feature on Netbeans 11) as seems 
that Netbeans "Editor" stop understand UTF-8

so presents all characters instead of showing just exact Unicode character of 
that

codepoint. I have tried to run IDE with -J-Dfile.encoding=UTF-8, but this seems 
no affect on "Editor".


> Editor does not show UTF-8 codepoint as Unicode character
> -
>
> Key: NETBEANS-2374
> URL: https://issues.apache.org/jira/browse/NETBEANS-2374
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other, java - Editor
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> There is additional issue (or not reported new feature on Netbeans 11) as 
> seems that Netbeans "Editor" stop understand UTF-8
> so presents all characters instead of showing just exact Unicode character of 
> that
> codepoint.



--
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-2372) Option for selection right Java Platform for Gradle build

2019-04-09 Thread Netbeans User 2019 (JIRA)


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

Netbeans User 2019 commented on NETBEANS-2372:
--

This seems pretty limiting if you need support even old project that will not 
possible to run on newer version.

> Option for selection right Java Platform for Gradle build
> -
>
> Key: NETBEANS-2372
> URL: https://issues.apache.org/jira/browse/NETBEANS-2372
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Minor
>
> - in configuration even missing option to select Java Platform to use for 
> Gradle building



--
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-2374) Editor does not show UTF-8 codepoint as Unicode character

2019-04-09 Thread Netbeans User 2019 (JIRA)


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

Netbeans User 2019 commented on NETBEANS-2374:
--

I have tried to run IDE with -J-Dfile.encoding=UTF-8, but this seems help
 with "Editor". In any case it should be reported at least in the release log 
for version 11 as no issue with version 10 and same rest of mentioned 
environment (reffering to field in this issue).

> Editor does not show UTF-8 codepoint as Unicode character
> -
>
> Key: NETBEANS-2374
> URL: https://issues.apache.org/jira/browse/NETBEANS-2374
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other, java - Editor
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> There is additional issue (or not reported new feature on Netbeans 11) as 
> seems that Netbeans "Editor" stop understand UTF-8
> so presents all characters instead of showing just exact Unicode character of 
> that
> codepoint.



--
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-2384) multi module maven build stops with exception

2019-04-09 Thread Tobias Warneke (JIRA)


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

Tobias Warneke updated NETBEANS-2384:
-
Priority: Critical  (was: Major)

> multi module maven build stops with exception
> -
>
> Key: NETBEANS-2384
> URL: https://issues.apache.org/jira/browse/NETBEANS-2384
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
>Reporter: Tobias Warneke
>Priority: Critical
>
> Using Netbeans 10, it works.
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511)
>  at 
> org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127)
>  at 
> org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293)
>  at 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
> Resolving dependencies took: 56 ms



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1004) NPE while scanning java files

2019-04-09 Thread Tobias Warneke (JIRA)


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

Tobias Warneke updated NETBEANS-1004:
-
Priority: Critical  (was: Major)

> NPE while scanning java files
> -
>
> Key: NETBEANS-1004
> URL: https://issues.apache.org/jira/browse/NETBEANS-1004
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Tobias Warneke
>Priority: Critical
>
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
>  at 
> org.netbeans.modules.j2ee.ejbverification.rules.SBSuperClassNotSB.run(SBSuperClassNotSB.java:93)
>  at jdk.internal.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> [catch] at 
> org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
>  at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
>  at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:526)
>  at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1717)
>  at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
>  at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>  at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
>  at 
> com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:509)
>  at 
> com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1656)
>  at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
>  at 
> com.sun.source.util.TreeScanner.visitExpressionStatement(TreeScanner.java:433)
>  at 
> com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1466)
>  at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
>  at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
>  at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>  at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)
>  at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)
>  at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
>  at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
>  at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
>  at com.sun.source.util.TreeScanner.visitIf(TreeScanner.java:419)
>  at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1439)
>  at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.h

[jira] [Commented] (NETBEANS-2384) multi module maven build stops with exception

2019-04-09 Thread Tobias Warneke (JIRA)


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

Tobias Warneke commented on NETBEANS-2384:
--

Now it happens every time on the same submodule. That is very anoying. 
Switching for the time back to Netbeans 10. There it works.

--

 

 

INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete 
indexing of 73 source roots took: 3.567 ms (New or modified files: 0, Deleted 
files: 0) [Adding listeners took: 0 ms]
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
java.lang.NullPointerException
at 
org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511)
at 
org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127)
at 
org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293)
at 
org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving 
dependencies took: 16 ms

> multi module maven build stops with exception
> -
>
> Key: NETBEANS-2384
> URL: https://issues.apache.org/jira/browse/NETBEANS-2384
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
>Reporter: Tobias Warneke
>Priority: Critical
>
> Using Netbeans 10, it works.
>  
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.maven.api.PluginPropertyUtils.createEvaluator(PluginPropertyUtils.java:511)
>  at 
> org.netbeans.modules.maven.output.TestOutputListenerProvider.processLine(TestOutputListenerProvider.java:127)
>  at 
> org.netbeans.modules.maven.execute.AbstractOutputHandler.processLine(AbstractOutputHandler.java:293)
>  at 
> org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: 
> Resolving dependencies took: 56 ms



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[incubator-netbeans] branch master updated (5f675e8 -> 38ba9fd)

2019-04-09 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git.


from 5f675e8  Eliminating remaining usages of old javadoc API and 
implementation
 new 90b7f09  Making sure ant gen-sigtests-release -Dfail.on.error=false 
succeeds for all modules
 new 7aea9fb  Additional sigfiles as of release 11.0
 new 4be1ee3  Updating license to match the new name of sigtest tool JAR
 new 38ba9fd  Merge pull request #1192 from 
JaroslavTulach/jtulach/SignaturesForAll

The 2466 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../nbproject/org-netbeans-libs-elimpl.sig |  1087 ++
 .../nbproject/org-netbeans-modules-web-jsf12ri.sig |  4278 +
 .../org-netbeans-modules-websvc-restlib.sig|  2129 +++
 .../nbproject/org-netbeans-modules-libs-groovy.sig | 10801 
 .../jemmy/nbproject/org-netbeans-modules-jemmy.sig |  6974 
 .../nbproject/org-netbeans-modules-html-parser.sig | 10643 
 .../nbproject/org-netbeans-libs-antlr3-runtime.sig |  2009 +++
 ide/libs.jaxb/nbproject/org-netbeans-libs-jaxb.sig | 10693 
 .../nbproject/org-netbeans-libs-jvyamlb.sig|   773 +
 .../nbproject/org-netbeans-libs-smack.sig  |  5144 ++
 .../org-netbeans-modules-versioning-util.sig   |  3946 +
 .../org-netbeans-modules-j2ee-persistence.sig  |  3765 
 .../nbproject/org-netbeans-libs-cglib.sig  |  1257 ++
 .../nbproject/org-netbeans-libs-jshell-compile.sig |   652 +
 .../org-netbeans-modules-maven-embedder.sig| 12723 ++
 .../org-netbeans-modules-maven-indexer.sig |  8407 +
 .../org-netbeans-modules-websvc-jaxws21.sig|  6989 
 nbbuild/external/binaries-list | 2 +-
 ...se.txt => sigtest-maven-plugin-1.2-license.txt} | 2 +-
 nbbuild/templates/projectized.xml  | 2 +-
 .../nbproject/org-netbeans-modules-php-editor.sig  |  3719 
 .../nbproject/org-netbeans-libs-javafx.sig | 17172 +++
 .../nbproject/org-netbeans-libs-junit4.sig |  1433 ++
 .../nbproject/org-netbeans-libs-junit5.sig |  1283 ++
 .../libs.osgi/nbproject/org-netbeans-libs-osgi.sig |57 -
 .../nbproject/org-netbeans-libs-testng.sig |  2821 +++
 .../nbproject/org-netbeans-modules-netbinox.sig| 6 +
 .../nbproject/org-netbeans-libs-graaljs.sig|  1700 ++
 .../nbproject/org-netbeans-libs-plist.sig  |   456 +
 .../nbproject/org-netbeans-libs-truffleapi.sig |  2867 
 30 files changed, 123730 insertions(+), 60 deletions(-)
 create mode 100644 
enterprise/libs.elimpl/nbproject/org-netbeans-libs-elimpl.sig
 create mode 100644 
enterprise/web.jsf12ri/nbproject/org-netbeans-modules-web-jsf12ri.sig
 create mode 100644 
enterprise/websvc.restlib/nbproject/org-netbeans-modules-websvc-restlib.sig
 create mode 100644 
groovy/libs.groovy/nbproject/org-netbeans-modules-libs-groovy.sig
 create mode 100644 harness/jemmy/nbproject/org-netbeans-modules-jemmy.sig
 create mode 100644 
ide/html.parser/nbproject/org-netbeans-modules-html-parser.sig
 create mode 100644 
ide/libs.antlr3.runtime/nbproject/org-netbeans-libs-antlr3-runtime.sig
 create mode 100644 ide/libs.jaxb/nbproject/org-netbeans-libs-jaxb.sig
 create mode 100644 ide/libs.jvyamlb/nbproject/org-netbeans-libs-jvyamlb.sig
 create mode 100644 ide/libs.smack/nbproject/org-netbeans-libs-smack.sig
 create mode 100644 
ide/versioning.util/nbproject/org-netbeans-modules-versioning-util.sig
 create mode 100644 
java/j2ee.persistence/nbproject/org-netbeans-modules-j2ee-persistence.sig
 create mode 100644 java/libs.cglib/nbproject/org-netbeans-libs-cglib.sig
 create mode 100644 
java/libs.jshell.compile/nbproject/org-netbeans-libs-jshell-compile.sig
 create mode 100644 
java/maven.embedder/nbproject/org-netbeans-modules-maven-embedder.sig
 create mode 100644 
java/maven.indexer/nbproject/org-netbeans-modules-maven-indexer.sig
 create mode 100644 
java/websvc.jaxws21/nbproject/org-netbeans-modules-websvc-jaxws21.sig
 rename nbbuild/external/{apitest-70-license.txt => 
sigtest-maven-plugin-1.2-license.txt} (99%)
 create mode 100644 php/php.editor/nbproject/org-netbeans-modules-php-editor.sig
 create mode 100644 platform/libs.javafx/nbproject/org-netbeans-libs-javafx.sig
 create mode 100644 platform/libs.junit4/nbproject/org-netbeans-libs-junit4.sig
 create mode 100644 platform/libs.junit5/nbproject/org-netbeans-libs-junit5.sig
 create mode 100644 platform/libs.testng/nbproject/org-netbeans-libs-testng.sig
 create mode 100644 
webcommon/libs.graaljs/nbproject/org-netbeans-libs-graaljs.sig
 create mode 100644 webcommon/libs.plist/nbproject/org-netbeans-libs-