[jira] [Resolved] (NETBEANS-2799) Java EE 8 generated application source improvement

2019-07-08 Thread Josh Juneau (JIRA)


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

Josh Juneau resolved NETBEANS-2799.
---
   Resolution: Fixed
Fix Version/s: 11.1

Updated webapp-javaee8 archetype with version 1.3 to resolve these issues.

> Java EE 8 generated application source improvement
> --
>
> Key: NETBEANS-2799
> URL: https://issues.apache.org/jira/browse/NETBEANS-2799
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Web Project
>Reporter: Gaurav Gupta
>Assignee: Josh Juneau
>Priority: Minor
>  Labels: archetype
> Fix For: 11.1
>
>
> Few improvements to consider in JavaEE 8 application archetype:
>  # Remove unused import in resources.JavaEE8Resource
>  # @author Juneau should not be in source file
>  # maven-dependency-plugin plugin declares javaee-api dependency should use 
> ${jakartaee} property.
>  # The generated java source file should be in package 
> ${groupId}.${artifactId}
> e.g: 
> ${groupId}.${artifactId}.JAXRSConfiguration
> ${groupId}.${artifactId}.resources.JavaEE8Resource
>  



--
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-2778) Java EE 8 project incorrect schema definition in persistence.xml

2019-07-08 Thread Josh Juneau (JIRA)


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

Josh Juneau resolved NETBEANS-2778.
---
   Resolution: Fixed
Fix Version/s: 11.1

Repaired webapp-javaee8 archetype with version 1.3

> Java EE 8 project incorrect schema definition in persistence.xml
> 
>
> Key: NETBEANS-2778
> URL: https://issues.apache.org/jira/browse/NETBEANS-2778
> Project: NetBeans
>  Issue Type: Bug
> Environment: 11.1 beta2
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Vano Beridze
>Assignee: Josh Juneau
>Priority: Major
> Fix For: 11.1
>
>
> # Create maven java ee 8 web project
>  # open persistence.xml
> 
>  http://xmlns.jcp.org/xml/ns/persistence; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
> xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence 
> [http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd];>
>      
>      
>      
>  
>  
> It should be like
>  {{http://xmlns.jcp.org/xml/ns/persistence]"}}
>  {{}}{{xmlns:xsi=}}{{"[http://www.w3.org/2001/XMLSchema-instance]"}} 
> {{version=}}{{"2.2"}}
>  {{}}{{xsi:schemaLocation=}}{{"[http://xmlns.jcp.org/xml/ns/persistence] 
> [http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd]"}}{{>}}
>  {{}}{{}}
>  {{}}{{}}
>  {{}}{{}}
>  {{}}
>  
> another problem is that persistence unit is partially defined. I think wizard 
> should not generate it at all.
>   
>  



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

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

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



[jira] [Resolved] (NETBEANS-2811) Java EE 8 Web Project JavaEE8Resource.java redundant import statement

2019-07-08 Thread Josh Juneau (JIRA)


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

Josh Juneau resolved NETBEANS-2811.
---
   Resolution: Fixed
Fix Version/s: 11.1

Repaired webapp-javaee8 archetype with version 1.3

> Java EE 8 Web Project JavaEE8Resource.java redundant import statement
> -
>
> Key: NETBEANS-2811
> URL: https://issues.apache.org/jira/browse/NETBEANS-2811
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: 11.1 beta3
> Java: 1.8.0_212
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Vano Beridze
>Assignee: Josh Juneau
>Priority: Major
> Fix For: 11.1
>
>
> # Create Java EE 8 Web Project
>  # It creates JavaEE8Resource.java file which has unnecessary statement
> import javax.inject.Inject;



--
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-2776) Persistence Library For Java EE 8 is missing

2019-07-08 Thread Josh Juneau (JIRA)


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

Josh Juneau resolved NETBEANS-2776.
---
   Resolution: Fixed
Fix Version/s: 11.1

Modified webapp-javaee8 archetype 1.3 persistence.xml to version 2.2.

> Persistence Library For Java EE 8 is missing
> 
>
> Key: NETBEANS-2776
> URL: https://issues.apache.org/jira/browse/NETBEANS-2776
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Persistence
>Affects Versions: 11.1
> Environment: 11.1 beta 2
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Vano Beridze
>Assignee: Josh Juneau
>Priority: Major
> Fix For: 11.1
>
>
> # Create new web project with Java EE 8 level
>  # Create new entity and have "create persistence unit" checkbox on
>  # On the page "Provider and Database" in Persistence Library there is 
> EclipseLink (JPA 2.1).
> Java EE 8 comes with JPA 2.2 and there should be predefined library for 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] [Resolved] (NETBEANS-2354) ArrayIndexOutOfBoundsException during "Find Usages" operation

2019-07-08 Thread Laszlo Kishalmi (JIRA)


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

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

There is a PR solving this on NETBEANS-2794.

> ArrayIndexOutOfBoundsException during "Find Usages" operation
> -
>
> Key: NETBEANS-2354
> URL: https://issues.apache.org/jira/browse/NETBEANS-2354
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.0
>Reporter: Travis
>Priority: Major
>
> I'm using Netbeans 11 vc4 on Java 8 multi-project (on Windows).  I ran "Find 
> Usages" on a method and got the exception below.  After this exception, the 
> find results were empty, despite there being callers of the method within the 
> search scope.
>  
> I have spent a ton of time working with the same project using Netbeans 10, 
> and running "Find Usages" frequently.  I never got this exception there 
> before, and Find Usages has been totally robust until now.  So it seems this 
> is likely a new bug in Netbeans 11.
>  
> I cannot provide the gigantic multi-project where this problem is 
> reproducible.  I could try to reduce it down to a minimal testcase and then 
> obfuscate the code, if you need an example project to reproduce this issue or 
> to test the fix.
>  
> Thanks!
>  
> java.lang.ArrayIndexOutOfBoundsException
>  at java.lang.System.arraycopy(Native Method)
>  at 
> org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement.getSourceGroup(FolderTreeElement.java:119)
>  at 
> org.netbeans.modules.refactoring.java.ui.tree.TreeElementFactoryImpl.getTreeElement(TreeElementFactoryImpl.java:55)
>  at 
> org.netbeans.modules.refactoring.spi.ui.TreeElementFactory.getTreeElement(TreeElementFactory.java:44)
>  at 
> org.netbeans.modules.refactoring.java.ui.tree.FileTreeElement.getParent(FileTreeElement.java:75)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:488)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.access$1100(RefactoringPanel.java:80)
>  at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$3.run(RefactoringPanel.java:765)
>  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] [Resolved] (NETBEANS-2630) ArrayIndexOutOfBoundsException for many operations in gradle projects.

2019-07-08 Thread Laszlo Kishalmi (JIRA)


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

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

There is a PR solving this on NETBEANS-2794.

> ArrayIndexOutOfBoundsException for many operations in gradle projects.
> --
>
> Key: NETBEANS-2630
> URL: https://issues.apache.org/jira/browse/NETBEANS-2630
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.0
>Reporter: Deft Developer
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: messages.log
>
>
> The exception is thrown when finding usages, refactoring,  and  sometimes "Go 
> to" Symbol. The Exception is thrown in gradle projects..
>  
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$3
>  java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 
> 8 out of bounds for object array[6]
>      at java.base/java.lang.System.arraycopy(Native Method)
>      at 
> org.netbeans.modules.refactoring.java.ui.tree.FolderTreeElement.getSourceGroup(FolderTreeElement.java:119)
>      at 
> org.netbeans.modules.refactoring.java.ui.tree.TreeElementFactoryImpl.getTreeElement(TreeElementFactoryImpl.java:55)
>      at 
> org.netbeans.modules.refactoring.spi.ui.TreeElementFactory.getTreeElement(TreeElementFactory.java:44)
>      at 
> org.netbeans.modules.refactoring.java.ui.tree.FileTreeElement.getParent(FileTreeElement.java:75)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:488)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:493)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.access$1100(RefactoringPanel.java:80)
>      at 
> org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$3.run(RefactoringPanel.java:765)
>      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] [Updated] (NETBEANS-2794) Alt+F7 find usages not working in gradle project

2019-07-08 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2794:
--
Component/s: (was: projects - Gradle)
 java - Refactoring

> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



--
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-2817) remove un-annotated deprecated items..

2019-07-08 Thread Brad Walker (JIRA)
Brad Walker created NETBEANS-2817:
-

 Summary: remove un-annotated deprecated items..
 Key: NETBEANS-2817
 URL: https://issues.apache.org/jira/browse/NETBEANS-2817
 Project: NetBeans
  Issue Type: Bug
Reporter: Brad Walker


There are over 100 of the following errors..

{quote}   [repeat] 
/home/bwalker/netbeans/enterprise/payara.common/src/org/netbeans/modules/payara/common/ui/IpComboBox.java:180:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
   [repeat] public IpComboBox(final Object items[])
   [repeat]   ^ {quote}  

Added "@Deprecated" annotation to remove the warnings.. This  does not effect 
the deprecation that will need to be addressed.



--
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-2794) Alt+F7 find usages not working in gradle project

2019-07-08 Thread Michael D Billman (JIRA)


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

Michael D Billman commented on NETBEANS-2794:
-

Had some additional time to play around with this...it seems any time I try to 
pull resources back in, I start to get issues.  Another thing I noticed is that 
I had to rename some empty directories that are referenced as potential future 
placeholders (e.g. Resources directory is empty).  I was able to get it to work 
with just 

sourceSets {
  main {
java {
  srcDirs = ['Src']
}
  }
}

But that's it.  Ideally, it would be good to keep the other entries.

Mike



> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



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



[netbeans] branch php7.4 updated (acde010 -> 9fc4c58)

2019-07-08 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a change to branch php7.4
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from acde010  Merge pull request #1317 from 
junichi11/netbeans-1696-php7.4-support
 new e9019ef  [NETBEANS-1696] PHP 7.4 Support Arrow Functions 2.0
 new a721366  [NETBEANS-1696] PHP 7.4 Support Arrow Functions 2.0
 new 410e6c1  [NETBEANS-1696] PHP 7.4 Support Arrow Functions 2.0
 new ed9a307  Add NOI18N comments
 new 106f5e8  [NETBEANS-1696] PHP 7.4 Support
 new 9fc4c58  Merge pull request #1363 from 
junichi11/netbeans-1696-php7.4-support

The 2699 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:
 .../org/netbeans/modules/php/editor/CodeUtils.java |   15 +
 .../modules/php/editor/PredefinedSymbols.java  |   92 +-
 .../editor/completion/CompletionContextFinder.java |3 +-
 .../php/editor/completion/PHPCodeCompletion.java   |   26 +-
 .../modules/php/editor/indent/FormatVisitor.java   |   20 +-
 .../php/editor/lexer/PHP5ColoringLexer.java| 2495 +++---
 .../modules/php/editor/lexer/PHPTokenId.java   |1 +
 .../php/editor/model/ArrowFunctionScope.java}  |   19 +-
 .../php/editor/model/VariableScopeFinder.java  |3 +-
 .../editor/model/impl/ArrowFunctionScopeImpl.java} |   23 +-
 .../php/editor/model/impl/FunctionScopeImpl.java   |   63 +
 .../php/editor/model/impl/ModelVisitor.java|  108 +-
 .../php/editor/model/impl/VariousUtils.java|   24 +
 .../php/editor/model/nodes/ASTNodeInfo.java|7 +-
 .../model/nodes/ArrowFunctionDeclarationInfo.java  |   83 +
 .../modules/php/editor/parser/ASTPHP5Parser.java   | 5483 ++---
 .../modules/php/editor/parser/ASTPHP5Scanner.java  | 2416 +++---
 .../modules/php/editor/parser/ASTPHP5Symbols.java  |  261 +-
 .../php/editor/parser/EncodedActionTable1.java | 8070 ++--
 .../php/editor/parser/EncodedActionTable10.java| 6382 
 .../php/editor/parser/EncodedActionTable11.java| 6232 +++
 .../php/editor/parser/EncodedActionTable12.java| 6320 +++
 .../php/editor/parser/EncodedActionTable13.java| 5784 +++---
 .../php/editor/parser/EncodedActionTable14.java| 3614 ++---
 .../php/editor/parser/EncodedActionTable2.java | 7194 -
 .../php/editor/parser/EncodedActionTable3.java | 6234 +++
 .../php/editor/parser/EncodedActionTable4.java | 7834 +--
 .../php/editor/parser/EncodedActionTable5.java | 6748 
 .../php/editor/parser/EncodedActionTable6.java | 7092 -
 .../php/editor/parser/EncodedActionTable7.java | 6174 +++
 .../php/editor/parser/EncodedActionTable8.java | 6362 +++
 .../php/editor/parser/EncodedActionTable9.java | 6626 
 .../netbeans/modules/php/editor/parser/Utils.java  |3 +
 .../parser/astnodes/ASTErrorExpression.java}   |   30 +-
 .../parser/astnodes/ArrowFunctionDeclaration.java  |  132 +
 .../php/editor/parser/astnodes/Visitor.java|4 +
 .../astnodes/visitors/DefaultTreePathVisitor.java  |   14 +
 .../parser/astnodes/visitors/DefaultVisitor.java   |   13 +
 .../php/editor/resources/code-templates.xml|   24 +
 .../editor/verification/PHP74UnhandledError.java   |   14 +
 .../verification/UnusableTypesUnhandledError.java  |   28 +-
 .../lexer/php74/arrowFunctions_01.pass |  449 ++
 .../parser/php74/arrowFunctionsParseError_01.pass  |   55 +
 .../parser/php74/arrowFunctionsParseError_02.pass  |   49 +
 .../parser/php74/arrowFunctionsParseError_03.pass  |   52 +
 .../parser/php74/arrowFunctionsParseError_04.pass  |  135 +
 .../parser/php74/arrowFunctions_01.pass| 2086 +
 .../issue153707.php.testIssue153707_01.completion  |1 +
 .../issue153867.php.testIssue153867.completion |1 +
 ...aramdecltypes.php.testParamDeclTypes.completion |1 +
 ...cAndConst.php.testUseFuncAndConst_03.completion |2 +
 ...ousClass02.php.testAnonymousClass02a.completion |1 +
 ...ousClass02.php.testAnonymousClass02d.completion |1 +
 ...ousClass02.php.testAnonymousClass02e.completion |1 +
 testMultiCatch_FullyQualifiedName05.completion |1 +
 ...iCatch_FullyQualifiedNameWithoutWS05.completion |1 +
 ...php.testMultiCatch_UnqualifiedName03.completion |1 +
 ...ultiCatch_UnqualifiedNameWithoutWS03.completion |1 +
 .../php74/testArrowFunctions/arrowFunctions.php|   94 +
 ...wFunctions.php.testArrowFunctions_01.completion |   10 +
 ...Functions.php.testArrowFunctions_02.completion} |   11 +-
 ...Functions.php.testArrowFunctions_03a.completion |   13 +
 ...Functions.php.testArrowFunctions_03b.completion |6 +
 

[jira] [Comment Edited] (NETBEANS-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis edited comment on NETBEANS-2803 at 7/8/19 4:23 PM:
-

I don't think, the existing one could be moved around, but I too think it 
should be possible to patch it for a location in the same folder than the 
application itself. In case of use it could easily delete `.` Uninstallers are 
kinda uncommon on Linux, but look at Windows, there the uninstallers are 
commonly located in the programs folder.


was (Author: ulfzibis):
I think it should be possible to locate the uninstaller into the same folder 
than the application itself. In case of use it could easily delete `.` 
Uninstallers are kinda uncommon on Linux, but look at Windows, there the 
uninstallers are located in the programs folder.

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
> Fix For: 11.2
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith closed NETBEANS-2807.
--
Resolution: Not A Bug

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2807:


Fair cop! :) I've moved both of those issues to 11.2. And probably is still 
worth a more open discussion on dev@ on what we require of installers, and 
whether other (none-Java) options (eg. we have Snap already) are our future 
direction.

Closing this as I believe there's no issue we can do anything about here.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2803:
---
Priority: Minor  (was: Major)

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
> Fix For: 11.2
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



--
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-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2803:


Moving to 11.2. No way this is getting looked at prior to 11.1 release.

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.1
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



--
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-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2803:
---
Fix Version/s: (was: 11.1)
   11.2

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.2
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



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

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

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



[jira] [Comment Edited] (NETBEANS-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis edited comment on NETBEANS-2807 at 7/8/19 3:58 PM:
-

Agreed, but please have in mind, that Alessandro started it and you joined it 
too. ;-)
On the other hand, it's part of a bug to justify it's fix, but this particular 
matter would more suite to e.g. bug NETBEANS-2803 and bug NETBEANS-2806.


was (Author: ulfzibis):
Agreed, but please have in mind, that Alessandro started it and you joined it 
too. ;-)
On the other hand, it's part of a bug to justify it's fix, but this matter 
would more suite to e.g. bug NETBEANS-2803 and bug NETBEANS-2806.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis commented on NETBEANS-2807:
-

Agreed, but please have in mind, that Alessandro started it and you joined it 
too. ;-)
On the other hand, it's part of a bug to justify it's fix, but that would more 
suite too e.g. bug NETBEANS-2803 and bug NETBEANS-2806.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2807:


If you take that question to dev@ we could discuss pros and cons in the right 
place for it. ;)

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2816) Slowness at startup, slowness during work.

2019-07-08 Thread Alexey Shtykov (JIRA)
Alexey Shtykov created NETBEANS-2816:


 Summary: Slowness at startup, slowness during work.
 Key: NETBEANS-2816
 URL: https://issues.apache.org/jira/browse/NETBEANS-2816
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Other
Affects Versions: 11.0
 Environment: Windows 10 x64
Reporter: Alexey Shtykov
 Fix For: 12.0, 11.1, 11.2
 Attachments: UI_log.xml, ide.log

When I try to work with C/C++ plugin (from codebase 8.2)  without manually 
cleanup of the configuration (deleting s1-s14 entries from 
NetBeans\Cache\11.0\index\segments file) I will catch slowness at startup and 
could catch slowness during C/C++ projects opening and switching between 
projects/applications.

 



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

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

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



[jira] [Comment Edited] (NETBEANS-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis edited comment on NETBEANS-2807 at 7/8/19 3:31 PM:
-

If the NetBeans installer since years would have asked for root password, I 
believe, you all too were "used" to install it in the system tree. IIRC, 
NetBeans Windows installer asks for admin rights per default, so why not under 
Linux, where most other installers do as same ask for root rights.
What is the real risk _in arguments_ to install NB in the system tree like 
almost all other distribution external applications, besides a usage feeling?


was (Author: ulfzibis):
If the NetBeans installer since years would have asked for root password, I 
believe, you all too were "used" to install it in the system tree. IIRC, 
NetBeans Windows installer asks for admin rights per default, so why not under 
Linux, where most other installers do the as same ask for root rights.
What is the real risk _in arguments_ to install NB in the system tree like 
almost all other distribution external applications, besides a usage feeling?

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis commented on NETBEANS-2807:
-

If the NetBeans installer since years would have asked for root password, I 
believe, you all too were "used" to install it in the system tree. IIRC, 
NetBeans Windows installer asks for admin rights per default, so why not under 
Linux, where most other installers do the as same ask for root rights.
What is the real risk _in arguments_ to install NB in the system tree like 
almost all other distribution external applications, besides a usage feeling?

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis commented on NETBEANS-2803:
-

I think it should be possible to locate the uninstaller into the same folder 
than the application itself. In case of use it could easily delete `.` 
Uninstallers are kinda uncommon on Linux, but look at Windows, there the 
uninstallers are located in the programs folder.

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.1
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2807:


Let's keep it on-topic.  People have different usage patterns (and personally I 
agree with Alessandro and have worked like that with NetBeans for years) but we 
should either support both or document we don't.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



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

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

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



[jira] [Comment Edited] (NETBEANS-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis edited comment on NETBEANS-2807 at 7/8/19 3:04 PM:
-

Do you consequently also prefer to install other applications, e.g. Firefox, 
LibreOffice, etc. in /home?
When I do a backup of my own particular data aka. /home, I do not want it to be 
floated with hundreds of MByte of stuff, that I can easily recover from the 
public.


was (Author: ulfzibis):
Do you consequently also prefer to install other applications, e.g. Firefox, 
LibreOffice, etc. in /home?
When I do a backup of my own particular data aka. /home, I do not want it to be 
floated with hundreds of MByte of stuff, I can easily recover from the public.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Ulf Zibis (JIRA)


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

Ulf Zibis commented on NETBEANS-2807:
-

Do you consequently also prefer to install other applications, e.g. Firefox, 
LibreOffice, etc. in /home?
When I do a backup of my own particular data aka. /home, I do not want it to be 
floated with hundreds of MByte of stuff, I can easily recover from the public.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2815) root access to netbeans-vm.apache.org

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga closed NETBEANS-2815.
---
Resolution: Invalid

> root access to netbeans-vm.apache.org
> -
>
> Key: NETBEANS-2815
> URL: https://issues.apache.org/jira/browse/NETBEANS-2815
> Project: NetBeans
>  Issue Type: Bug
>  Components: vm
>Reporter: Geertjan Wielenga
>Priority: Major
>
> We need Neil C Smith  to have access to the 
> netbeans-vm.apache.org virtual machine. 



--
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-2815) root access to netbeans-vm.apache.org

2019-07-08 Thread Geertjan Wielenga (JIRA)
Geertjan Wielenga created NETBEANS-2815:
---

 Summary: root access to netbeans-vm.apache.org
 Key: NETBEANS-2815
 URL: https://issues.apache.org/jira/browse/NETBEANS-2815
 Project: NetBeans
  Issue Type: Bug
  Components: vm
Reporter: Geertjan Wielenga


We need Neil C Smith  to have access to the 
netbeans-vm.apache.org virtual machine. 



--
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-2752) java.lang.IllegalStateException: JsIndexer.postScanTask on startup

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2752:
-

Steps to reproduce this problem and please use beta-3.

> java.lang.IllegalStateException: JsIndexer.postScanTask on startup
> --
>
> Key: NETBEANS-2752
> URL: https://issues.apache.org/jira/browse/NETBEANS-2752
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: 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.19.26-1-CHAKRA running on amd64; UTF-8; en_US (nb)
>Reporter: Eric Schwarzenbach
>Priority: Major
>
> Using 11.1 beta 2
>   
> {code:java}
> java.lang.IllegalStateException: JsIndexer.postScanTask can be called only 
> from scanner thread.
> at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer$Factory.addPostScanTask(JsIndexer.java:421)
> at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer$PostScanProvider.addPostScanTask(JsIndexer.java:456)
> at 
> org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:163)
> at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
> at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)
> [catch] at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
> at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
> at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
> at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
> at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
> at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
> at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
> at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
> at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4341)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4289)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices.getDone(RepositoryUpdater.java:4375)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
> at 
> org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
> at 
> 

[jira] [Updated] (NETBEANS-2752) java.lang.IllegalStateException: JsIndexer.postScanTask on startup

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa updated NETBEANS-2752:
-
Description: 
Using 11.1 beta 2
  
{code:java}
java.lang.IllegalStateException: JsIndexer.postScanTask can be called only from 
scanner thread.
at 
org.netbeans.modules.javascript2.editor.index.JsIndexer$Factory.addPostScanTask(JsIndexer.java:421)
at 
org.netbeans.modules.javascript2.editor.index.JsIndexer$PostScanProvider.addPostScanTask(JsIndexer.java:456)
at 
org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:163)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)
[catch] at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4341)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4289)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices.getDone(RepositoryUpdater.java:4375)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
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.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
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 

[jira] [Commented] (NETBEANS-2766) AssertionError: Incorrect number of arguments

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2766:
-

Which JDK, which operating system, after unzipping or after using the installer?

Please try with beta-3 and then report this again with the info above included.

> AssertionError: Incorrect number of arguments
> -
>
> Key: NETBEANS-2766
> URL: https://issues.apache.org/jira/browse/NETBEANS-2766
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Eric Schwarzenbach
>Priority: Major
>
> This is 11.1 beta 2, and this error occurs just when starting netbeans
> {code:java}
> java.lang.AssertionError: Incorrect number of arguments; expected 1, found 0
> at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:636)
> at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:454)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:599)
> at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1452)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
> at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:918)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:475)
> at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)
> at 
> jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:454)
> at 
> jdk.compiler/com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:942)
> at 
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1553)
> at 
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1432)
> at 
> jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:458)
> at 
> jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506)
> at 
> jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:461)
> at 
> org.netbeans.modules.java.source.indexing.VanillaCompileWorker$2.run(VanillaCompileWorker.java:317)
> at 
> org.netbeans.modules.java.source.parsing.FileManagerTransaction.runConcurrent(FileManagerTransaction.java:180)
> [catch] at 
> org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:308)
> at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
> at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
> at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
> at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
> at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
> at 
> 

[jira] [Updated] (NETBEANS-2752) java.lang.IllegalStateException: JsIndexer.postScanTask on startup

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa updated NETBEANS-2752:
-
Environment: 
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.19.26-1-CHAKRA running on amd64; UTF-8; en_US (nb)

  was:
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.19.26-1-CHAKRA running on amd64; UTF-8; en_US (nb)


> java.lang.IllegalStateException: JsIndexer.postScanTask on startup
> --
>
> Key: NETBEANS-2752
> URL: https://issues.apache.org/jira/browse/NETBEANS-2752
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: 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.19.26-1-CHAKRA running on amd64; UTF-8; en_US (nb)
>Reporter: Eric Schwarzenbach
>Priority: Major
>
> Using 11.1 beta 2
>  
> {{java.lang.IllegalStateException: JsIndexer.postScanTask can be called only 
> from scanner thread.}}
> {{ at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer$Factory.addPostScanTask(JsIndexer.java:421)}}
> {{ at 
> org.netbeans.modules.javascript2.editor.index.JsIndexer$PostScanProvider.addPostScanTask(JsIndexer.java:456)}}
> {{ at 
> org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:163)}}
> {{ at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)}}
> {{ at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)}}
> {{[catch] at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)}}
> {{ at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)}}
> {{ at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)}}
> {{ at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)}}
> {{ at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)}}
> {{ at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)}}
> {{ at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)}}
> {{ at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)}}
> {{ at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)}}
> {{ at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)}}
> {{ at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)}}
> {{ at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4341)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4289)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)}}
> {{ at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices.getDone(RepositoryUpdater.java:4375)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)}}
> {{ at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)}}
> {{ at 

[jira] [Updated] (NETBEANS-2766) AssertionError: Incorrect number of arguments

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa updated NETBEANS-2766:
-
Description: 
This is 11.1 beta 2, and this error occurs just when starting netbeans
{code:java}
java.lang.AssertionError: Incorrect number of arguments; expected 1, found 0
at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:636)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:454)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:599)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1452)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:918)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:475)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:454)
at 
jdk.compiler/com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:942)
at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1553)
at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1432)
at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:458)
at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506)
at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:461)
at 
org.netbeans.modules.java.source.indexing.VanillaCompileWorker$2.run(VanillaCompileWorker.java:317)
at 
org.netbeans.modules.java.source.parsing.FileManagerTransaction.runConcurrent(FileManagerTransaction.java:180)
[catch] at 
org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:308)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
at 

[jira] [Commented] (NETBEANS-2791) Glassfish and Payara servers download leaves spurious directory on filesystem

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2791:
-

When the voting candidate comes out, in the next day or two, let's try again to 
see if this can be reproduced with that.

Would be best to delete all installation of NetBeans and user directories and 
installations of servers before trying to reproduce this.

> Glassfish and Payara servers download leaves spurious directory on filesystem
> -
>
> Key: NETBEANS-2791
> URL: https://issues.apache.org/jira/browse/NETBEANS-2791
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish, serverplugins - Infrastructure
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: Updates available
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
>Reporter: Alessandro Falappa
>Priority: Minor
>
> Steps:
>  # Open Servers dialog via menu Tools > Server
>  # Click Add Server...
>  # Choose "GlassFish Server" or "Payara Server"
>  # Click "Next" button
>  # Specify an install location different from proposed one
>  # Choose a version
>  # Click  on accept license checkbox
>  # Click Download Now button
> _Observed_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location but an additional sibling folder is 
> created containing a temporary 0 bytes file. The sibling folder is named 
> __*1* (note the final 1) and temporary file is named 
> _foo.tmp_ .
> _Expected_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location and no additional folders/files are 
> created or maybe created but removed at the end of installation process.



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

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

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



[jira] [Comment Edited] (NETBEANS-2791) Glassfish and Payara servers download leaves spurious directory on filesystem

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga edited comment on NETBEANS-2791 at 7/8/19 2:03 PM:
-

Not nice but not sure that a 'a temporary 0 bytes file' is a big problem. The 
other scenario of complete duplicated installation seems weird, I haven't seen 
that, or the temporary 0 bytes file.


was (Author: geertjanwielenga):
Not nice but not sure that a 'a temporary 0 bytes file' is a big problem.

> Glassfish and Payara servers download leaves spurious directory on filesystem
> -
>
> Key: NETBEANS-2791
> URL: https://issues.apache.org/jira/browse/NETBEANS-2791
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish, serverplugins - Infrastructure
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: Updates available
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
>Reporter: Alessandro Falappa
>Priority: Minor
>
> Steps:
>  # Open Servers dialog via menu Tools > Server
>  # Click Add Server...
>  # Choose "GlassFish Server" or "Payara Server"
>  # Click "Next" button
>  # Specify an install location different from proposed one
>  # Choose a version
>  # Click  on accept license checkbox
>  # Click Download Now button
> _Observed_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location but an additional sibling folder is 
> created containing a temporary 0 bytes file. The sibling folder is named 
> __*1* (note the final 1) and temporary file is named 
> _foo.tmp_ .
> _Expected_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location and no additional folders/files are 
> created or maybe created but removed at the end of installation process.



--
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-2791) Glassfish and Payara servers download leaves spurious directory on filesystem

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2791:
-

Not nice but not sure that a 'a temporary 0 bytes file' is a big problem.

> Glassfish and Payara servers download leaves spurious directory on filesystem
> -
>
> Key: NETBEANS-2791
> URL: https://issues.apache.org/jira/browse/NETBEANS-2791
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish, serverplugins - Infrastructure
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: Updates available
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
>Reporter: Alessandro Falappa
>Priority: Minor
>
> Steps:
>  # Open Servers dialog via menu Tools > Server
>  # Click Add Server...
>  # Choose "GlassFish Server" or "Payara Server"
>  # Click "Next" button
>  # Specify an install location different from proposed one
>  # Choose a version
>  # Click  on accept license checkbox
>  # Click Download Now button
> _Observed_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location but an additional sibling folder is 
> created containing a temporary 0 bytes file. The sibling folder is named 
> __*1* (note the final 1) and temporary file is named 
> _foo.tmp_ .
> _Expected_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location and no additional folders/files are 
> created or maybe created but removed at the end of installation process.



--
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-2791) Glassfish and Payara servers download leaves spurious directory on filesystem

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa commented on NETBEANS-2791:
--

Tried again with beta3 now I end up with two complete installations in 
__ and __*1*. The second is useless, duplicated 
and wastes filesystem space.

> Glassfish and Payara servers download leaves spurious directory on filesystem
> -
>
> Key: NETBEANS-2791
> URL: https://issues.apache.org/jira/browse/NETBEANS-2791
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - GlassFish, serverplugins - Infrastructure
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: Updates available
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
>Reporter: Alessandro Falappa
>Priority: Minor
>
> Steps:
>  # Open Servers dialog via menu Tools > Server
>  # Click Add Server...
>  # Choose "GlassFish Server" or "Payara Server"
>  # Click "Next" button
>  # Specify an install location different from proposed one
>  # Choose a version
>  # Click  on accept license checkbox
>  # Click Download Now button
> _Observed_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location but an additional sibling folder is 
> created containing a temporary 0 bytes file. The sibling folder is named 
> __*1* (note the final 1) and temporary file is named 
> _foo.tmp_ .
> _Expected_: The chosen GlassFish or Payara server distribution is downloaded 
> and installed in the chosen location and no additional folders/files are 
> created or maybe created but removed at the end of installation process.



--
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-2814) Strange Behavior on Resolve Imports

2019-07-08 Thread Michael D Billman (JIRA)


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

Michael D Billman reassigned NETBEANS-2814:
---

Assignee: Michael D Billman

> Strange Behavior on Resolve Imports
> ---
>
> Key: NETBEANS-2814
> URL: https://issues.apache.org/jira/browse/NETBEANS-2814
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Michael D Billman
>Priority: Major
> Fix For: 11.1
>
> Attachments: image-2019-07-08-09-26-40-368.png
>
>
> I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We 
> use the javax.xml.bind for these objects and when i resolve, it requests to 
> resolve some strange things:
> !image-2019-07-08-09-26-40-368.png!
>  
> Forgot to add, after clicking ok, it brings in the following unused import:
>  
> import org.fusesource.hawtjni.runtime.Library;
>  
> I am wondering if it is because we have a package name that starts with 
> "Library" (notice it is trying to import com, javax, 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] [Assigned] (NETBEANS-2814) Strange Behavior on Resolve Imports

2019-07-08 Thread Michael D Billman (JIRA)


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

Michael D Billman reassigned NETBEANS-2814:
---

Assignee: (was: Michael D Billman)

> Strange Behavior on Resolve Imports
> ---
>
> Key: NETBEANS-2814
> URL: https://issues.apache.org/jira/browse/NETBEANS-2814
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Priority: Major
> Fix For: 11.1
>
> Attachments: image-2019-07-08-09-26-40-368.png
>
>
> I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We 
> use the javax.xml.bind for these objects and when i resolve, it requests to 
> resolve some strange things:
> !image-2019-07-08-09-26-40-368.png!
>  
> Forgot to add, after clicking ok, it brings in the following unused import:
>  
> import org.fusesource.hawtjni.runtime.Library;
>  
> I am wondering if it is because we have a package name that starts with 
> "Library" (notice it is trying to import com, javax, 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-2803) Installer doesn't value given install path correctly

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa commented on NETBEANS-2803:
--

I think I understood why it is that way.

After installation in __ you have all the installed files in 
__/netbeans and the uninstaller shell script in 
__/uninstall.sh.

I don't know if the uninstaller shell script can be safely moved around or it 
is tied to the installation location.

> Installer doesn't value given install path correctly
> 
>
> Key: NETBEANS-2803
> URL: https://issues.apache.org/jira/browse/NETBEANS-2803
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.1
>
>
> I said the installer (as root) to install into:
> /opt/netbeans/11.1/
> but it installed into:
> /opt/netbeans/11.1/netbeans/
> And please remember https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> When using or even testing several NB versions, It's better to have them in 
> one root folder "netbeans", to not flood the OS programs folder so much.
> Would also be convenient:
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Alessandro Falappa (JIRA)


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

Alessandro Falappa commented on NETBEANS-2807:
--

I have encountered that message too, but it doesn't affect installation and 
subsequent runs of NetBeans at all.

I think it can be safely ignored.

On a side note, I think system wide installation (installer running as root or 
via sudo like in this report) is a bit risky, I prefer installing locally with 
an unprivileged user and inside that user home dir.

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2814) Strange Behavior on Resolve Imports

2019-07-08 Thread Michael D Billman (JIRA)


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

Michael D Billman updated NETBEANS-2814:

Description: 
I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We use 
the javax.xml.bind for these objects and when i resolve, it requests to resolve 
some strange things:

!image-2019-07-08-09-26-40-368.png!

 

Forgot to add, after clicking ok, it brings in the following unused import:

 

import org.fusesource.hawtjni.runtime.Library;

 

I am wondering if it is because we have a package name that starts with 
"Library" (notice it is trying to import com, javax, etc)

  was:
I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We use 
the javax.xml.bind for these objects and when i resolve, it requests to resolve 
some strange things:

!image-2019-07-08-09-26-40-368.png!


> Strange Behavior on Resolve Imports
> ---
>
> Key: NETBEANS-2814
> URL: https://issues.apache.org/jira/browse/NETBEANS-2814
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Priority: Major
> Fix For: 11.1
>
> Attachments: image-2019-07-08-09-26-40-368.png
>
>
> I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We 
> use the javax.xml.bind for these objects and when i resolve, it requests to 
> resolve some strange things:
> !image-2019-07-08-09-26-40-368.png!
>  
> Forgot to add, after clicking ok, it brings in the following unused import:
>  
> import org.fusesource.hawtjni.runtime.Library;
>  
> I am wondering if it is because we have a package name that starts with 
> "Library" (notice it is trying to import com, javax, 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-2814) Strange Behavior on Resolve Imports

2019-07-08 Thread Michael D Billman (JIRA)
Michael D Billman created NETBEANS-2814:
---

 Summary: Strange Behavior on Resolve Imports
 Key: NETBEANS-2814
 URL: https://issues.apache.org/jira/browse/NETBEANS-2814
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Features On Demand
Affects Versions: 11.1
Reporter: Michael D Billman
 Fix For: 11.1
 Attachments: image-2019-07-08-09-26-40-368.png

I see strange behavior when doing the Ctrl+Shift+I to resolve imports.  We use 
the javax.xml.bind for these objects and when i resolve, it requests to resolve 
some strange things:

!image-2019-07-08-09-26-40-368.png!



--
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-2805) Installer links ugly Icon

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2805:
---
Fix Version/s: (was: 11.1)

> Installer links ugly Icon
> -
>
> Key: NETBEANS-2805
> URL: https://issues.apache.org/jira/browse/NETBEANS-2805
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Minor
>
> At least on Ubuntu Installer should use the much better icon
> nb/netbeans.icns
> instead the ugly
> nb/netbeans.png
> for the *.desktop starter.



--
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-2805) Installer links ugly Icon

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2805:
---
Fix Version/s: 11.2

> Installer links ugly Icon
> -
>
> Key: NETBEANS-2805
> URL: https://issues.apache.org/jira/browse/NETBEANS-2805
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Minor
> Fix For: 11.2
>
>
> At least on Ubuntu Installer should use the much better icon
> nb/netbeans.icns
> instead the ugly
> nb/netbeans.png
> for the *.desktop starter.



--
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-2805) Installer links ugly Icon

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2805:


Does an .icns file work?  AFAIK the XDG spec defines PNG and (optional) SVG?

> Installer links ugly Icon
> -
>
> Key: NETBEANS-2805
> URL: https://issues.apache.org/jira/browse/NETBEANS-2805
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Minor
> Fix For: 11.1
>
>
> At least on Ubuntu Installer should use the much better icon
> nb/netbeans.icns
> instead the ugly
> nb/netbeans.png
> for the *.desktop starter.



--
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-2805) Installer links ugly Icon

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2805:
---
Priority: Minor  (was: Major)

> Installer links ugly Icon
> -
>
> Key: NETBEANS-2805
> URL: https://issues.apache.org/jira/browse/NETBEANS-2805
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Minor
> Fix For: 11.1
>
>
> At least on Ubuntu Installer should use the much better icon
> nb/netbeans.icns
> instead the ugly
> nb/netbeans.png
> for the *.desktop starter.



--
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-2806) Consider using `/opt/` path by default for installer

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith reassigned NETBEANS-2806:
--

Assignee: (was: Reema Sardana)

> Consider using `/opt/` path by default for installer
> 
>
> Key: NETBEANS-2806
> URL: https://issues.apache.org/jira/browse/NETBEANS-2806
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.2
>
>
> The recent installer uses `/usr/local/` by default, when installing under 
> root.
> In my understanding, this path is reserved for software which overrides 
> existing versions from the official distribution.
> Wouldn't it not be better to use the `/opt/` path by default. Then the user 
> could override it with e.g. nightly versions by help of the `/usr/local/` 
> mechanics.
> Please also remember:
> https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531
> The last point in last paragraph of:
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers



--
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-2806) Consider using `/opt/` path by default for installer

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith reassigned NETBEANS-2806:
--

Assignee: Reema Sardana

> Consider using `/opt/` path by default for installer
> 
>
> Key: NETBEANS-2806
> URL: https://issues.apache.org/jira/browse/NETBEANS-2806
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Assignee: Reema Sardana
>Priority: Major
> Fix For: 11.2
>
>
> The recent installer uses `/usr/local/` by default, when installing under 
> root.
> In my understanding, this path is reserved for software which overrides 
> existing versions from the official distribution.
> Wouldn't it not be better to use the `/opt/` path by default. Then the user 
> could override it with e.g. nightly versions by help of the `/usr/local/` 
> mechanics.
> Please also remember:
> https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531
> The last point in last paragraph of:
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers



--
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-2806) Consider using `/opt/` path by default for installer

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2806:
---
Fix Version/s: (was: 11.1)
   11.2

> Consider using `/opt/` path by default for installer
> 
>
> Key: NETBEANS-2806
> URL: https://issues.apache.org/jira/browse/NETBEANS-2806
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.2
>
>
> The recent installer uses `/usr/local/` by default, when installing under 
> root.
> In my understanding, this path is reserved for software which overrides 
> existing versions from the official distribution.
> Wouldn't it not be better to use the `/opt/` path by default. Then the user 
> could override it with e.g. nightly versions by help of the `/usr/local/` 
> mechanics.
> Please also remember:
> https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531
> The last point in last paragraph of:
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers



--
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-2806) Consider using `/opt/` path by default for installer

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2806:


Agree with that in principle, although I never install globally personally.  
Switching fix version to 11.2 - not something I think we can change at this 
stage of the release cycle.

> Consider using `/opt/` path by default for installer
> 
>
> Key: NETBEANS-2806
> URL: https://issues.apache.org/jira/browse/NETBEANS-2806
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 11.1
>Reporter: Ulf Zibis
>Priority: Major
> Fix For: 11.1
>
>
> The recent installer uses `/usr/local/` by default, when installing under 
> root.
> In my understanding, this path is reserved for software which overrides 
> existing versions from the official distribution.
> Wouldn't it not be better to use the `/opt/` path by default. Then the user 
> could override it with e.g. nightly versions by help of the `/usr/local/` 
> mechanics.
> Please also remember:
> https://netbeans.org/bugzilla/show_bug.cgi?id=196072
> https://netbeans.org/bugzilla/show_bug.cgi?id=211531
> The last point in last paragraph of:
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers



--
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-2807) Installer: Failed to load module "canberra-gtk-module"

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith updated NETBEANS-2807:
---
Fix Version/s: (was: 11.1)

> Installer: Failed to load module "canberra-gtk-module"
> --
>
> Key: NETBEANS-2807
> URL: https://issues.apache.org/jira/browse/NETBEANS-2807
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu 18.04 64 bit
>Reporter: Ulf Zibis
>Priority: Minor
>
> $ sudo -H bash Apache-NetBeans-11.1-bin-linux-x64.sh 
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> Gtk-Message: 00:21:49.287: Failed to load module "canberra-gtk-module"



--
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-2813) Reverting fix for enabling preview feature in Ant Java Application(JDK-12)

2019-07-08 Thread Neil C Smith (JIRA)


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

Neil C Smith resolved NETBEANS-2813.

Resolution: Fixed

> Reverting fix for enabling preview feature in Ant Java Application(JDK-12)
> --
>
> Key: NETBEANS-2813
> URL: https://issues.apache.org/jira/browse/NETBEANS-2813
> Project: NetBeans
>  Issue Type: Task
>  Components: java - Hints
>Affects Versions: 11.1
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Fix for enabling preview feature (JDK-12) in Ant Java Application have some 
> issue.
> The hint is not getting enabled for ANT based Java Application.
> So reverting back the fix.



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



[netbeans] branch master updated: [NETBEANS-2813]:Reverting fix for enabling preview feature in Ant Java Application(JDK-12)

2019-07-08 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 50c33d5  [NETBEANS-2813]:Reverting fix for enabling preview feature in 
Ant Java Application(JDK-12)
 new bd01baa  Merge pull request #1362 from arusinha/netbeans-2813
50c33d5 is described below

commit 50c33d590e03f26333b7e44f4f80656f4942601a
Author: arusinha 
AuthorDate: Mon Jul 8 16:12:40 2019 +0530

[NETBEANS-2813]:Reverting fix for enabling preview feature in Ant Java 
Application(JDK-12)
---
 .../java/hints/errors/EnablePreviewAntProj.java| 217 -
 .../modules/apisupport/project/resources/layer.xml |   1 -
 2 files changed, 218 deletions(-)

diff --git 
a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/java/hints/errors/EnablePreviewAntProj.java
 
b/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/java/hints/errors/EnablePreviewAntProj.java
deleted file mode 100644
index 7b53fb5..000
--- 
a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/java/hints/errors/EnablePreviewAntProj.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.netbeans.modules.apisupport.project.java.hints.errors;
-
-import com.sun.source.util.TreePath;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-import javax.lang.model.SourceVersion;
-import org.netbeans.api.annotations.common.NonNull;
-import org.netbeans.api.java.source.CompilationInfo;
-import org.netbeans.api.project.FileOwnerQuery;
-import org.netbeans.modules.java.hints.spi.ErrorRule;
-import org.netbeans.spi.editor.hints.ChangeInfo;
-import org.netbeans.spi.editor.hints.Fix;
-import org.openide.filesystems.FileObject;
-import org.openide.util.NbBundle;
-import org.openide.util.Parameters;
-import org.netbeans.api.project.Project;
-import org.netbeans.api.project.ProjectManager;
-import org.netbeans.spi.project.support.ant.AntProjectHelper;
-import org.openide.util.EditableProperties;
-import org.openide.util.Mutex;
-import org.openide.util.MutexException;
-
-/**
- * Handle error rule "compiler.err.preview.feature.disabled.plural" and provide
- * the fix for Ant type project.
- *
- * @author arusinha
- */
-
-@NbBundle.Messages({
-"FIX_EnablePreviewFeature=Enable Preview Feature" // NOI18N
-})
-public class EnablePreviewAntProj implements ErrorRule {
-
-private static final Set ERROR_CODES = new 
HashSet(Arrays.asList(
-"compiler.err.preview.feature.disabled.plural")); // NOI18N
-private static final String ENABLE_PREVIEW_FLAG = "--enable-preview";   // 
NOI18N
-private static final String JAVAC_COMPILER_ARGS = "javac.compilerargs"; // 
NOI18N
-private static final String RUN_JVMARGS = "run.jvmargs"; // NOI18N
-
-@Override
-public Set getCodes() {
-return Collections.unmodifiableSet(ERROR_CODES);
-}
-
-@Override
-@NonNull
-public List run(CompilationInfo compilationInfo, String 
diagnosticKey, int offset, TreePath treePath, Data data) {
-
-System.out.println("ANT projectSourceVersion.latest() =="+ 
SourceVersion.latest() );
-System.out.println("ANT compilationInfo.getSourceVersion() =="+ 
compilationInfo.getSourceVersion());
-if (SourceVersion.latest() != compilationInfo.getSourceVersion()) {
-return Collections.emptyList();
-}
-
-final FileObject file = compilationInfo.getFileObject();
-Fix fix = null;
-if (file != null) {
-final Project prj = FileOwnerQuery.getOwner(file);
-
-if (isAntProject(prj)) {
-fix = new EnablePreviewAntProj.ResolveAntFix(prj);
-} else {
-fix = null;
-}
-}
-return (fix != null) ? Collections.singletonList(fix) : 
Collections.emptyList();
-}
-
-@Override
-

[jira] [Commented] (NETBEANS-2794) Alt+F7 find usages not working in gradle project

2019-07-08 Thread Michael D Billman (JIRA)


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

Michael D Billman commented on NETBEANS-2794:
-

Even with the changes, I still get the index out of bounds error.

Mike



> Alt+F7 find usages not working in gradle project
> 
>
> Key: NETBEANS-2794
> URL: https://issues.apache.org/jira/browse/NETBEANS-2794
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.1
>Reporter: Michael D Billman
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: Test.zip, image-2019-07-03-13-28-42-721.png, 
> image-2019-07-03-13-29-06-221.png, messages.log
>
>
> I am having trouble with find usages not returning any results.  Sample 
> project attached.
> public class CartonLocationNoticeMsg extends CartonLocationNotice
> {
> }
> ...
> public class CartonLocationNotice
> {
> }
> !image-2019-07-03-13-28-42-721.png!
> !image-2019-07-03-13-29-06-221.png!
>  



--
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-2813) Reverting fix for enabling preview feature in Ant Java Application(JDK-12)

2019-07-08 Thread ASF GitHub Bot (JIRA)


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

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

> Reverting fix for enabling preview feature in Ant Java Application(JDK-12)
> --
>
> Key: NETBEANS-2813
> URL: https://issues.apache.org/jira/browse/NETBEANS-2813
> Project: NetBeans
>  Issue Type: Task
>  Components: java - Hints
>Affects Versions: 11.1
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>
> Fix for enabling preview feature (JDK-12) in Ant Java Application have some 
> issue.
> The hint is not getting enabled for ANT based Java Application.
> So reverting back the fix.



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2457:
-

That's good. Maven first, always. :-)

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA commented on NETBEANS-2457:
-

Currently only for Maven type Java Application hint will be enabled.

Support of the the hint for Ant type Java Application will be provided in next 
release.

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2813) Reverting fix for enabling preview feature in Ant Java Application(JDK-12)

2019-07-08 Thread ARUNAVA SINHA (JIRA)
ARUNAVA SINHA created NETBEANS-2813:
---

 Summary: Reverting fix for enabling preview feature in Ant Java 
Application(JDK-12)
 Key: NETBEANS-2813
 URL: https://issues.apache.org/jira/browse/NETBEANS-2813
 Project: NetBeans
  Issue Type: Task
  Components: java - Hints
Affects Versions: 11.1
Reporter: ARUNAVA SINHA
Assignee: ARUNAVA SINHA
 Fix For: 11.1


Fix for enabling preview feature (JDK-12) in Ant Java Application have some 
issue.

The hint is not getting enabled for ANT based Java Application.

So reverting back the fix.



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Description: 
Suppose we had used switch-expression in Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .

  was:
Suppose we had used switch-expression in Maven Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .


> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Summary: Error hint to fix the '--enable-preview' features in  Java 
Application  (was: Error hint to fix the '--enable-preview' features in  Maven 
Java Application)

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Maven Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Maven Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Summary: Error hint to fix the '--enable-preview' features in  Maven Java 
Application  (was: Error hint to fix the '--enable-preview' features in java 
Maven project)

> Error hint to fix the '--enable-preview' features in  Maven Java Application
> 
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in a Java Maven Project (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Maven Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Description: 
Suppose we had used switch-expression in Maven Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .

  was:
Suppose we had used switch-expression in a Java Maven Project (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .


> Error hint to fix the '--enable-preview' features in  Maven Java Application
> 
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Maven Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in java Maven project

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Description: 
Suppose we had used switch-expression in a Java Maven Project (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .

  was:
Suppose we had used switch-expression in a Java Project (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file.


> Error hint to fix the '--enable-preview' features in java Maven project
> ---
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in a Java Maven Project (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in java Maven project

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Summary: Error hint to fix the '--enable-preview' features in java Maven 
project  (was: Error hint to fix the '--enable-preview' features in java 
project)

> Error hint to fix the '--enable-preview' features in java Maven project
> ---
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in a Java Project (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file.



--
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-2480) UTF8 not honored in Gradle output

2019-07-08 Thread Eugene Pliskin (JIRA)


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

Eugene Pliskin commented on NETBEANS-2480:
--

Nobody comments! Shall I post this issue to some another forum?

> UTF8 not honored in Gradle output
> -
>
> Key: NETBEANS-2480
> URL: https://issues.apache.org/jira/browse/NETBEANS-2480
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code
>Affects Versions: 11.0
> Environment: Windows 10
>Reporter: Eugene Pliskin
>Priority: Major
>  Labels: gradle, utf-8
> Attachments: NetBeans-11.0-console.txt, NetBeans-8.2-console.txt
>
>
> Non-ASCII characters completely filtered out of Gradle error messages, 
> despite "netbeans_default_options" key in "netbeans.conf" file containing 
> "-J-Dfile.encoding=UTF-8" clause.
>  
> Enclosed please find two build logs of the same Groovy source file with 
> intentional error in it.
>  
> 1) NetBeans version 8.2 CORRECTLY reports an error:
> [Static type checking] - The variable [параметры] is undeclared.
>  @ line 72, column 38.
>    def платформы = rv.Платформы(параметры)
>     ^
> 2) While NetBeans version 11.0 completely filteres out all non-ascii letters:
> [Static type checking] - The variable [] is undeclared.
>  @ line 72, column 38.
>    def  = rv.()
>     ^
>  
> Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS: 
> -Dfile.encoding=UTF-8".
>  
> Note also that outside of NetBeans this Gradle command:
>  
>     gradlew -x check build > a 2>&1
>  
> produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
>  



--
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-1105) Compiling using NB8.1 as platform does not work in NB9

2019-07-08 Thread matteodg (JIRA)


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

matteodg updated NETBEANS-1105:
---
Affects Version/s: 11.0

> Compiling using NB8.1 as platform does not work in NB9
> --
>
> Key: NETBEANS-1105
> URL: https://issues.apache.org/jira/browse/NETBEANS-1105
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 9.0, 11.0
>Reporter: matteodg
>Priority: Major
> Fix For: 9.0
>
> Attachments: application.zip
>
>
> We are going to move to NB9 as our IDE, so we tried to compile our 
> application based on Java8 and NB8.1 in NB9 IDE.
> Successfully set the Java platform to be Java 8 and NB platform+harness to be 
> NB8.1, but when we compile a module containing a @ServiceProvider annotation 
> to inject in the global lookup an implementation of an SPI we get this error:
>  
> {noformat}
> ...
> Compiling 2 source files to D:\code\test\application\module\build\classes
> error: java.nio.file.NoSuchFileException: 
> D:\code\test\application\module\build\classes\META-INF\services\module.SPI
> 1 error
> ...
> {noformat}
>  
> Attached a simple NB rich client application with a single module.
> The problem arises only by using Java8+NB8.1 as platform, whereas using 
> Java10+NB9 as platform it works fine. We also tried to force NB to use Ant 
> from NB8.1 (extide/ant), but nothing changes.
> Something strange is that launching Ant and outputting the environment 
> variables we have this even though we set the JAVA_HOME environment variable 
> to point to Java8:
>  
> {noformat}
> env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
> java.home=C:\Program Files\Java\jdk-10.0.2
> java.version=10.0.2
> java.specification.version=10
> java.runtime.version=10.0.2+13
> java.vm.version=10.0.2+13
> {noformat}
> So we guess the problem is with Java or Ant?



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