[jira] [Created] (NETBEANS-4049) UnsupportedClassVersionError when running JDK14 code with --enable-preview

2020-03-21 Thread Rick Hegarty (Jira)
Rick Hegarty created NETBEANS-4049:
--

 Summary: UnsupportedClassVersionError when running JDK14 code with 
--enable-preview
 Key: NETBEANS-4049
 URL: https://issues.apache.org/jira/browse/NETBEANS-4049
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Execution, platform - OptionsSettings
Affects Versions: 11.3
 Environment: Product Version: Apache NetBeans IDE 11.3
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\11.3
Reporter: Rick Hegarty
 Attachments: nb113enablePreview.png

I have installed NB 11.3 on Windows 10, with JDK 14 as its only Java platform.

I created a simple _Java with Ant_ project, and wrote code using "arrow case" 
labels in a switch block:

 
{code:java}
static boolean isModifiable(char c) {
boolean canModify = switch (c) {
case 'ñ', 'Ñ' ->
false;
default ->
true;
};
return canModify;
 }
{code}
 

NetBeans detected that this was a JEP 354 preview feature, and set 
*--enable-preview* for compilation (_Properties > Build > Compiling > 
Additional Compiler Options_) and execution (_Properties > Run > VM Options_).

The code compiled with no problems, but running it (_Run > Run Project_) 
resulted in this error:

 
{code:java}
run:
Error: LinkageError occurred while loading main class com.Diacritics 
java.lang.UnsupportedClassVersionError: com/Diacritics (class file version 
57.65535) was compiled with preview features that are unsupported. This version 
of the Java Runtime only recognizes preview features for class file version 
58.65535
C:\Users\johndoe\AppData\Local\NetBeans\Cache\11.3\executor-snippets\run.xml:111:
 The following error occurred while executing this line:
C:\Users\johndoe\AppData\Local\NetBeans\Cache\11.3\executor-snippets\run.xml:68:
 Java returned: 1
BUILD FAILED (total time: 0 seconds)
{code}
When I build the project the message is logged 
{code:java}
To run this application from the command line without Ant, try:
java -jar "D:\NB113\Diacritics\dist\Diacritics.jar"{code}
If I run from the command line with JDK 14 on the *PATH*, using what NetBeans 
proposes (i.e. *java -jar "D:\NB113\Diacritics\dist\Diacritics.jar"*) I also 
get the linkage error described above. However, when I added the 
*--enable-preview* option to the command line call it works fine, as shown in 
this screen shot:

!nb113enablePreview.png!

This suggests that when running the project within NetBeans the _VM Option_ 
*--enable-preview* is being ignored.

There is no issue when creating a Java application using _Java with Maven_ that 
contains the same code. This is only an issue for _Java with Ant_ projects.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-445) Many missing values for code completion of the CSS display property

2019-11-27 Thread Rick Hegarty (Jira)


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

Rick Hegarty commented on NETBEANS-445:
---

I updated the _*Affects Version/s*_ field to show that problem persists in 
NetBeans 11.2.

> Many missing values for code completion of the CSS display property
> ---
>
> Key: NETBEANS-445
> URL: https://issues.apache.org/jira/browse/NETBEANS-445
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 8.2, 9.0, 11.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_162-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
>Reporter: Rick Hegarty
>Priority: Major
>  Labels: autocompletion, css, css3
> Attachments: nbDisplayValues.png
>
>
> Code completion offers many options for the value of the CSS *display* 
> property when editing a CSS file (see the attached screen shot), but there 
> are still many possible values that  are not supplied.
> Based on the information provided in "CSS Display Module Level 3" 
> ([https://www.w3.org/TR/css-display-3]) the following options should be added 
> to code completion for the *display* property in NetBeans:
> *flow*
>  *flow-root*
>  *flex*
>  *grid*
>  *subgrid*
>  *ruby-base-container*
>  *ruby-text-container*
>  *contents*
>  *inline-flex*
>  *inline-grid*
> **+Updated on 6/27/18:+
> [1] The problem with autocomplete for CSS is not confined to missing values 
> for the *display* property. For example, no _grid-..._ properties (e.g. 
> *grid-column-start*) are suggested, nor is *row-gap*. The list of valid CSS 
> properties and values used by autocomplete needs to be updated.
> [2] If a CSS property is not suggested during auto-completion then its valid 
> use in CSS code will be incorrectly reported as an error (e.g. _"Unknown 
> property grid-column-gap"_).
> [3] A serious side effect of the previous issue is that genuine errors in CSS 
> code may be much harder to identify because they are mixed in with bogus 
> errors.
> Since this issue is more extensive and serious than the initial report above 
> I have raised the priority to _Major_, and also updated the affected versions 
> to include 8.2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-445) Many missing values for code completion of the CSS display property

2019-11-27 Thread Rick Hegarty (Jira)


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

Rick Hegarty updated NETBEANS-445:
--
Affects Version/s: 11.2

> Many missing values for code completion of the CSS display property
> ---
>
> Key: NETBEANS-445
> URL: https://issues.apache.org/jira/browse/NETBEANS-445
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 8.2, 9.0, 11.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_162-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
>Reporter: Rick Hegarty
>Priority: Major
>  Labels: autocompletion, css, css3
> Attachments: nbDisplayValues.png
>
>
> Code completion offers many options for the value of the CSS *display* 
> property when editing a CSS file (see the attached screen shot), but there 
> are still many possible values that  are not supplied.
> Based on the information provided in "CSS Display Module Level 3" 
> ([https://www.w3.org/TR/css-display-3]) the following options should be added 
> to code completion for the *display* property in NetBeans:
> *flow*
>  *flow-root*
>  *flex*
>  *grid*
>  *subgrid*
>  *ruby-base-container*
>  *ruby-text-container*
>  *contents*
>  *inline-flex*
>  *inline-grid*
> **+Updated on 6/27/18:+
> [1] The problem with autocomplete for CSS is not confined to missing values 
> for the *display* property. For example, no _grid-..._ properties (e.g. 
> *grid-column-start*) are suggested, nor is *row-gap*. The list of valid CSS 
> properties and values used by autocomplete needs to be updated.
> [2] If a CSS property is not suggested during auto-completion then its valid 
> use in CSS code will be incorrectly reported as an error (e.g. _"Unknown 
> property grid-column-gap"_).
> [3] A serious side effect of the previous issue is that genuine errors in CSS 
> code may be much harder to identify because they are mixed in with bogus 
> errors.
> Since this issue is more extensive and serious than the initial report above 
> I have raised the priority to _Major_, and also updated the affected versions 
> to include 8.2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-3181) Exception while installing nb-javac

2019-10-25 Thread Rick Hegarty (Jira)


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

Rick Hegarty closed NETBEANS-3181.
--
Fix Version/s: 11.2
   Resolution: Fixed

I also hit this issue with 11.1, and I have verified that the issue is fixed 
with 11.2 beta 3.

> Exception while installing nb-javac
> ---
>
> Key: NETBEANS-3181
> URL: https://issues.apache.org/jira/browse/NETBEANS-3181
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.1
>Reporter: Fernando Montenegro
>Priority: Minor
> Fix For: 11.2
>
>
> This is a copy of the IDE log
> ---
> >Log Session: Sunday, September 29, 2019 11:31:04 PM EDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_212; Eclipse OpenJ9 VM openj9-0.14.2; 
> Eclipse OpenJ9
>   Runtime = OpenJDK Runtime Environment 1.8.0_212-b04
>   Java Home   = C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\fmontene
>   Current Directory   = C:\Java\netbeans\bin
>   User Directory  = C:\Users\fmontene\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\fmontene\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Java\netbeans\nb
> C:\Java\netbeans\ergonomics
> C:\Java\netbeans\ide
> C:\Java\netbeans\extide
> C:\Java\netbeans\java
> C:\Java\netbeans\apisupport
> C:\Java\netbeans\webcommon
> C:\Java\netbeans\websvccommon
> C:\Java\netbeans\enterprise
> C:\Java\netbeans\profiler
> C:\Java\netbeans\php
> C:\Java\netbeans\harness
> C:\Java\netbeans\groovy
> C:\Java\netbeans\javafx
> C:\Java\netbeans\platform
>   Boot & Ext. Classpath   = C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\bin\compressedrefs\jclSC180\vm.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\se-service.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\rt.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\resources.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\jsse.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\charsets.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\jce.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\access-bridge-64.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\cldrdata.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dnsns.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dtfj.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dtfjview.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\jaccess.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\localedata.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\nashorn.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunec.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunjce_provider.jar;C:\Program
>  
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunmscapi.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunpkcs11.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\traceformat.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\zipfs.jar
>   Application Classpath   = 
> C:\Java\netbeans\platform\lib\boot.jar;C:\Java\netbeans\platform\lib\org-openide-modules.jar;C:\Java\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Java\netbeans\platform\lib\org-openide-util-ui.jar;C:\Java\netbeans\platform\lib\org-openide-util.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\lib\dt.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\lib\tools.jar
>   Startup Classpath   = 
> 

[jira] [Commented] (NETBEANS-3079) Exception installing nb-javac

2019-10-24 Thread Rick Hegarty (Jira)


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

Rick Hegarty commented on NETBEANS-3079:


I don't think this was related to your PC crash.

I also hit this issue with 11.1. 

This looks like a duplicate NETBEANS-2552 and NETBEANS-3181. 

I have verified that the issue is fixed with 11.2 beta 3.

 

> Exception installing nb-javac
> -
>
> Key: NETBEANS-3079
> URL: https://issues.apache.org/jira/browse/NETBEANS-3079
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Features On Demand
>Affects Versions: 11.1
>Reporter: Alessandro Polverini
>Priority: Major
>  Labels: plugin
>
> Today NB asked to reinstall nb-javac, maybe due to the fact that my PC 
> crashed yesterday, while the IDE was open.
>  
> After download I got this error:
>  
> java.lang.IllegalStateException: Host module 
> StandardModule:org.netbeans.libs.javacimpl jarFile: 
> /home/sw/netbeans-11.1/java/modules/org-netbeans-libs-javacimpl.jar was 
> enabled before, will not accept fragment 
> StandardModule:org.netbeans.modules.nbjavac.impl jarFile: 
> /home/dusty/.netbeans/11.1/modules/org-netbeans-modules-nbjavac-impl.jar
>  at org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
>  at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708)
>  at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1721)
>  at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
>  at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
>  at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
>  at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
>  at 
> org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
>  at 
> org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
>  at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
>  at 
> org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
>  at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
>  at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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-3181) Exception while installing nb-javac

2019-10-23 Thread Rick Hegarty (Jira)


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

Rick Hegarty commented on NETBEANS-3181:


I also hit this issue with 11.1.

This looks like a duplicate of NETBEANS-2552,

I have verified that the issue is fixed with 11.2 beta 3.

 

> Exception while installing nb-javac
> ---
>
> Key: NETBEANS-3181
> URL: https://issues.apache.org/jira/browse/NETBEANS-3181
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.1
>Reporter: Fernando Montenegro
>Priority: Minor
>
> This is a copy of the IDE log
> ---
> >Log Session: Sunday, September 29, 2019 11:31:04 PM EDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_212; Eclipse OpenJ9 VM openj9-0.14.2; 
> Eclipse OpenJ9
>   Runtime = OpenJDK Runtime Environment 1.8.0_212-b04
>   Java Home   = C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\fmontene
>   Current Directory   = C:\Java\netbeans\bin
>   User Directory  = C:\Users\fmontene\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\fmontene\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Java\netbeans\nb
> C:\Java\netbeans\ergonomics
> C:\Java\netbeans\ide
> C:\Java\netbeans\extide
> C:\Java\netbeans\java
> C:\Java\netbeans\apisupport
> C:\Java\netbeans\webcommon
> C:\Java\netbeans\websvccommon
> C:\Java\netbeans\enterprise
> C:\Java\netbeans\profiler
> C:\Java\netbeans\php
> C:\Java\netbeans\harness
> C:\Java\netbeans\groovy
> C:\Java\netbeans\javafx
> C:\Java\netbeans\platform
>   Boot & Ext. Classpath   = C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\bin\compressedrefs\jclSC180\vm.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\se-service.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\rt.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\resources.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\jsse.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\charsets.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\jce.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\access-bridge-64.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\cldrdata.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dnsns.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dtfj.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\dtfjview.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\jaccess.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\localedata.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\nashorn.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunec.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunjce_provider.jar;C:\Program
>  
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunmscapi.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\sunpkcs11.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\traceformat.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jre\lib\ext\zipfs.jar
>   Application Classpath   = 
> C:\Java\netbeans\platform\lib\boot.jar;C:\Java\netbeans\platform\lib\org-openide-modules.jar;C:\Java\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Java\netbeans\platform\lib\org-openide-util-ui.jar;C:\Java\netbeans\platform\lib\org-openide-util.jar;C:\Program
>  Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\lib\dt.jar;C:\Program 
> Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\lib\tools.jar
>   Startup Classpath   = 
> 

[jira] [Commented] (NETBEANS-2552) Fail to install nb-javac Library on NetBeans 11

2019-10-23 Thread Rick Hegarty (Jira)


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

Rick Hegarty commented on NETBEANS-2552:


I was seeing this problem with version 11.1 as well.

However, the problem is resolved in 11.2 beta 3; installation of the *nb-javac* 
library worked flawlessly.

> Fail to install nb-javac Library on NetBeans 11
> ---
>
> Key: NETBEANS-2552
> URL: https://issues.apache.org/jira/browse/NETBEANS-2552
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment:   Product Version : Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
>   Operating System : Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor : 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12; 
> Oracle Corporation
>   Runtime : Java(TM) SE Runtime Environment 12.0.1+12
>   System Locale; Encoding = fr_FR (nb); Cp1252
>Reporter: Jimmy Jeunemaître
>Priority: Minor
>  Labels: nbjavac, reporting
>
> Got a notification titled "Install nb-javac Library" in the "Notifications" 
> window.
> > Priority : SILENT Category : Info
> There is a blue link that tell something like : _It is recommended to install 
> nb-javac Library to improve Java editing experience and enable compile on 
> save._
> I clicked on it, it tried to do something but then send the following 
> exception :
> {code:java}
> java.lang.IllegalStateException: Host module 
> StandardModule:org.netbeans.libs.javacimpl jarFile: C:\NetBeans 
> 11\netbeans\java\modules\org-netbeans-libs-javacimpl.jar was enabled before, 
> will not accept fragment StandardModule:org.netbeans.modules.nbjavac.impl 
> jarFile: 
> C:\Users\Username\AppData\Roaming\NetBeans\11.0\modules\org-netbeans-modules-nbjavac-impl.jar
>     at 
> org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
>     at 
> org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708)
>     at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
>     at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
>     at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
>     at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
>     at 
> org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
>     at 
> org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
>     at 
> org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
>     at 
> org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
>     at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
>     at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
>     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>     at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> I closed the window and tried again and got this one (slightly different I 
> guess) :
> {code:java}
> java.lang.IllegalStateException: Host module 
> StandardModule:org.netbeans.libs.javacimpl jarFile: C:\NetBeans 
> 11\netbeans\java\modules\org-netbeans-libs-javacimpl.jar was enabled before, 
> will not accept fragment StandardModule:org.netbeans.modules.nbjavac.impl 
> jarFile: 
> C:\Users\Username\AppData\Roaming\NetBeans\11.0\modules\org-netbeans-modules-nbjavac-impl.jar
>     at 
> org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
>     at 
> org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708)
>     at 
> org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1721)
>     at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
>     at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
>     at 
> org.netbeans.modules.autoupdate.services.OperationValidator$EnableValidator.getModulesToEnable(OperationValidator.java:340)
>     at 
> org.netbeans.modules.autoupdate.services.OperationValidator$EnableValidator.getRequiredElementsImpl(OperationValidator.java:376)
>     at 
> org.netbeans.modules.autoupdate.services.OperationValidator.getRequiredElements(OperationValidator.java:108)
>     at 
> org.netbeans.modules.autoupdate.services.OperationContainerImpl$OperationInfoImpl.getRequiredElements(OperationContainerImpl.java:441)
>     at 
> org.netbeans.api.autoupdate.OperationContainer$OperationInfo.getRequiredElements(OperationContainer.java:371)
>     at 
> org.netbeans.modules.autoupdate.ui.ModuleInstallerSupport.installPlugins(ModuleInstallerSupport.java:201)

[jira] [Updated] (NETBEANS-2788) The link provided for downloading Groovy is obsolete

2019-07-02 Thread Rick Hegarty (JIRA)


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

Rick Hegarty updated NETBEANS-2788:
---
Attachment: (was: Bundle.properties)

> The link provided for downloading Groovy is obsolete
> 
>
> Key: NETBEANS-2788
> URL: https://issues.apache.org/jira/browse/NETBEANS-2788
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code
>Affects Versions: 11.0
>Reporter: Rick Hegarty
>Assignee: Rick Hegarty
>Priority: Trivial
> Fix For: 11.1
>
> Attachments: nb11GetGroovy.png
>
>
> If you select *Tools > Options > Miscellaneous > Groovy* there is text 
> stating:
>  
> _*Get Groovy at: [http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ 
> where the URL is a clickable link.
>  
> However _*[http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ ceased 
> being a valid address several years ago, and that link in that should be 
> changed to _*[https://groovy.apache.org/download.html]*_
>  
>  
>  
>  
> _*!nb11GetGroovy.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-2788) The link provided for downloading Groovy is obsolete

2019-07-02 Thread Rick Hegarty (JIRA)


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

Rick Hegarty updated NETBEANS-2788:
---
Attachment: nb11GetGroovy.png

> The link provided for downloading Groovy is obsolete
> 
>
> Key: NETBEANS-2788
> URL: https://issues.apache.org/jira/browse/NETBEANS-2788
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code
>Affects Versions: 11.0
>Reporter: Rick Hegarty
>Assignee: Rick Hegarty
>Priority: Trivial
> Fix For: 11.1
>
> Attachments: nb11GetGroovy.png
>
>
> If you select *Tools > Options > Miscellaneous > Groovy* there is text 
> stating:
>  
> _*Get Groovy at: [http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ 
> where the URL is a clickable link.
>  
> However _*[http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ ceased 
> being a valid address several years ago, and that link in that should be 
> changed to _*[https://groovy.apache.org/download.html]*_
>  
>  
>  
>  
> _*!nb11GetGroovy.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-2788) The link provided for downloading Groovy is obsolete

2019-07-02 Thread Rick Hegarty (JIRA)


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

Rick Hegarty updated NETBEANS-2788:
---
Attachment: Bundle.properties

> The link provided for downloading Groovy is obsolete
> 
>
> Key: NETBEANS-2788
> URL: https://issues.apache.org/jira/browse/NETBEANS-2788
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code
>Affects Versions: 11.0
>Reporter: Rick Hegarty
>Assignee: Rick Hegarty
>Priority: Trivial
> Fix For: 11.1
>
> Attachments: nb11GetGroovy.png
>
>
> If you select *Tools > Options > Miscellaneous > Groovy* there is text 
> stating:
>  
> _*Get Groovy at: [http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ 
> where the URL is a clickable link.
>  
> However _*[http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ ceased 
> being a valid address several years ago, and that link in that should be 
> changed to _*[https://groovy.apache.org/download.html]*_
>  
>  
>  
>  
> _*!nb11GetGroovy.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-2788) The link provided for downloading Groovy is obsolete

2019-07-02 Thread Rick Hegarty (JIRA)
Rick Hegarty created NETBEANS-2788:
--

 Summary: The link provided for downloading Groovy is obsolete
 Key: NETBEANS-2788
 URL: https://issues.apache.org/jira/browse/NETBEANS-2788
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Code
Affects Versions: 11.0
Reporter: Rick Hegarty
Assignee: Rick Hegarty
 Fix For: 11.1


If you select *Tools > Options > Miscellaneous > Groovy* there is text stating:
 
_*Get Groovy at: [http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ 
where the URL is a clickable link.
 
However _*[http://groovy.codehaus.org|http://groovy.codehaus.org/]*_ ceased 
being a valid address several years ago, and that link in that should be 
changed to _*[https://groovy.apache.org/download.html]*_
 
 
 
 
_*!nb11GetGroovy.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-445) Many missing values for code completion of the CSS display property

2018-06-26 Thread Rick Hegarty (JIRA)


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

Rick Hegarty updated NETBEANS-445:
--
Affects Version/s: 8.2
 Priority: Major  (was: Minor)
  Description: 
Code completion offers many options for the value of the CSS *display* property 
when editing a CSS file (see the attached screen shot), but there are still 
many possible values that  are not supplied.

Based on the information provided in "CSS Display Module Level 3" 
([https://www.w3.org/TR/css-display-3]) the following options should be added 
to code completion for the *display* property in NetBeans:

*flow*
 *flow-root*
 *flex*
 *grid*
 *subgrid*
 *ruby-base-container*
 *ruby-text-container*
 *contents*
 *inline-flex*
 *inline-grid*

**+Updated on 6/27/18:+

[1] The problem with autocomplete for CSS is not confined to missing values for 
the *display* property. For example, no _grid-..._ properties (e.g. 
*grid-column-start*) are suggested, nor is *row-gap*. The list of valid CSS 
properties and values used by autocomplete needs to be updated.

[2] If a CSS property is not suggested during auto-completion then its valid 
use in CSS code will be incorrectly reported as an error (e.g. _"Unknown 
property grid-column-gap"_).

[3] A serious side effect of the previous issue is that genuine errors in CSS 
code may be much harder to identify because they are mixed in with bogus errors.

Since this issue is more extensive and serious than the initial report above I 
have raised the priority to _Major_, and also updated the affected versions to 
include 8.2.

  was:
Code completion offers many options for the value of the CSS *display* property 
when editing a CSS file (see the attached screen shot), but there are still 
many possible values that  are not supplied.

Based on the information provided in "CSS Display Module Level 3" 
([https://www.w3.org/TR/css-display-3]) the following options should be added 
to code completion for the *display* property in NetBeans:

*flow*
 *flow-root*
 *flex*
 *grid*
 *subgrid*
 *ruby-base-container*
 *ruby-text-container*
 *contents*
 *inline-flex*
 *inline-grid*


> Many missing values for code completion of the CSS display property
> ---
>
> Key: NETBEANS-445
> URL: https://issues.apache.org/jira/browse/NETBEANS-445
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 8.2, 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_162-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
>Reporter: Rick Hegarty
>Priority: Major
>  Labels: autocompletion, css, css3
> Attachments: nbDisplayValues.png
>
>
> Code completion offers many options for the value of the CSS *display* 
> property when editing a CSS file (see the attached screen shot), but there 
> are still many possible values that  are not supplied.
> Based on the information provided in "CSS Display Module Level 3" 
> ([https://www.w3.org/TR/css-display-3]) the following options should be added 
> to code completion for the *display* property in NetBeans:
> *flow*
>  *flow-root*
>  *flex*
>  *grid*
>  *subgrid*
>  *ruby-base-container*
>  *ruby-text-container*
>  *contents*
>  *inline-flex*
>  *inline-grid*
> **+Updated on 6/27/18:+
> [1] The problem with autocomplete for CSS is not confined to missing values 
> for the *display* property. For example, no _grid-..._ properties (e.g. 
> *grid-column-start*) are suggested, nor is *row-gap*. The list of valid CSS 
> properties and values used by autocomplete needs to be updated.
> [2] If a CSS property is not suggested during auto-completion then its valid 
> use in CSS code will be incorrectly reported as an error (e.g. _"Unknown 
> property grid-column-gap"_).
> [3] A serious side effect of the previous issue is that genuine errors in CSS 
> code may be much harder to identify because they are mixed in with bogus 
> errors.
> Since this issue is more extensive and serious than the initial report above 
> I have raised the priority to _Major_, and also updated the affected versions 
> to include 8.2.



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

[jira] [Created] (NETBEANS-997) Unable to download and create GlassFish server

2018-06-25 Thread Rick Hegarty (JIRA)
Rick Hegarty created NETBEANS-997:
-

 Summary: Unable to download and create GlassFish server 
 Key: NETBEANS-997
 URL: https://issues.apache.org/jira/browse/NETBEANS-997
 Project: NetBeans
  Issue Type: Bug
  Components: serverplugins - GlassFish
Affects Versions: 8.2, 9.0
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-302-on-20180517)
Updates: Updates available
Java: 1.8.0_172-ea; Java HotSpot(TM) 64-Bit Server VM 25.172-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_172-ea-b03
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
Reporter: Rick Hegarty
 Attachments: installGlassfish1.png, installGlassfish2.png

[1] Add a Glassfish server: *Services Panel > Servers >* right-click *> Add 
Server... > GlassFish Server > Next >*

[2] On the *Add Server* screen:
 * In *Installation Location* enter a valid directory name that does not exist. 
 * Check the _I have read_ checkbox.
 * Click *Download Now...* and then select _Glassfish Server 4.1.1_ as the 
server to be downloaded. 
 * See attached screenshot *installGlassfish1.png*

[3] The download appears to be successful but there is an error at the bottom 
of the *Add Server Instance* window: *! Does not exist.* See attached 
screenshot *installGlassfish2.png*

 [4] The target folder does not get created. Also, if an empty target folder is 
pre-created the same error occurs, and the target folder remains empty.

[5] This error occurs with both NB 8.2 and NB 9.0 RC1.

[6] Priority is minor since the simple workaround is to download Glassfish 
first outside of NetBeans, and then select that downloaded folder within the 
*Add Server* wizard.

[7] Possible duplicate of NETBEANS-965 ("does not load GlassFish"), but there 
is no description for that bug and the screenshot information is in Russian.



--
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-737) Unable to update plugins using Build 416

2018-04-26 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-737:
--
Description: 
- I deleted the *dev* user directory and *dev* cache directory for NetBeans.

 - I downloaded and installed Build #416 on Windows 10. 

 - I selected *Help > Check for Updates*.

The installer very briefly displayed a screen stating that _"the following 
plugins will be updated"_...

_Docker UI [1.1.4 -> 1.1.4]_

_IDE Platform [1.34 -> 1.34]_

_Local Tasks [1.26 -> 1.26]_ 

Note that both version numbers are the same in all three cases. See the 
attached screen shot *installer1.png*.
 - Then a second screen replaces that almost immediately, stating _Some plugins 
require Java Source Base to be installed_. However, the only enabled button is 
*Cancel*. See the attached screen shot *installer2.png*.

 - After clicking *Cancel* I am immediately prompted to _Click here to make you 
IDE up to date_. See the attached screen shot *installer3.png*. If I click the 
link in the balloon then the same scenario as described above is repeated, and 
I cannot update anything.

 - I also face the same problem if I use alternative GUI navigation to  attempt 
to do the updates:

[1] *Help -> About*  then click the *Updates available* link.

[2]*Tools -> Plugins -> Updates -> Check for Updates*

Note that I have downloaded many other builds (most recently #398) and not 
encountered this problem. I have assigned this issue *Major* priority since I 
can't apply updates, but please downgrade if appropriate.

  was:
- I deleted the *dev* user directory and *dev* cache directory for NetBeans.

- I downloaded and installed Build #416 on Windows 10. 

- I selected *Help > Check for Updates*.

The installer very briefly displayed a screen stating that _"the following 
plugins will be updated"_...

_Docker UI [1.1.4 -> 1.1.4]_

_IDE Platform [1.34 -> 1.34]_

_Local Tasks [1.26 -> 1.26]_ 

Note that both version numbers are the same in all three cases. See the 
attached screen shot *installer1.png*.

- Then a second screen replaces that almost immediately, stating _Some plugins 
require Java Source Base to be installed_. However, the only enabled button is 
*Cancel*. See the attached screen shot *installer2.png*.

- After clicking *Cancel* I am immediately prompted to _Click here to make you 
IDE up to date_. See the attached screen shot *installer3.png*. If I click the 
link in the balloon then the same scenario as described above is repeated, and 
I cannot update anything.

- I also face the same problem if I alternative GUI navigation to  attempt to 
do the updates:

[1] *Help -> About*  then click the *Updates available* link.

[2]*Tools -> Plugins -> Updates -> Check for Updates*

Note that I have downloaded many other builds (most recently #398) and not 
encountered this problem. I have assigned this issue *Major* priority since I 
can't apply updates, but please downgrade if appropriate.


> Unable to update plugins using Build 416
> 
>
> Key: NETBEANS-737
> URL: https://issues.apache.org/jira/browse/NETBEANS-737
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-416-on-20180426)
> Updates: Updates available
> Java: 1.8.0_172-ea; Java HotSpot(TM) 64-Bit Server VM 25.172-b03
> Runtime: Java(TM) SE Runtime Environment 1.8.0_172-ea-b03
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
>Reporter: Rick Hegarty
>Priority: Major
>  Labels: plug-in, update
> Fix For: 9.0
>
> Attachments: Installer1.png, Installer2.png, Installer3.png
>
>
> - I deleted the *dev* user directory and *dev* cache directory for NetBeans.
>  - I downloaded and installed Build #416 on Windows 10. 
>  - I selected *Help > Check for Updates*.
> The installer very briefly displayed a screen stating that _"the following 
> plugins will be updated"_...
> _Docker UI [1.1.4 -> 1.1.4]_
> _IDE Platform [1.34 -> 1.34]_
> _Local Tasks [1.26 -> 1.26]_ 
> Note that both version numbers are the same in all three cases. See the 
> attached screen shot *installer1.png*.
>  - Then a second screen replaces that almost immediately, stating _Some 
> plugins require Java Source Base to be installed_. However, the only enabled 
> button is *Cancel*. See the attached screen shot *installer2.png*.
>  - After clicking *Cancel* I am immediately prompted to _Click here to make 
> you IDE up to date_. See the attached screen shot *installer3.png*. If I 
> click the link in the balloon then the same scenario as 

[jira] [Created] (NETBEANS-737) Unable to update plugins using Build 416

2018-04-26 Thread Rick Hegarty (JIRA)
Rick Hegarty created NETBEANS-737:
-

 Summary: Unable to update plugins using Build 416
 Key: NETBEANS-737
 URL: https://issues.apache.org/jira/browse/NETBEANS-737
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager
Affects Versions: 9.0
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-416-on-20180426)
Updates: Updates available
Java: 1.8.0_172-ea; Java HotSpot(TM) 64-Bit Server VM 25.172-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_172-ea-b03
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev
Reporter: Rick Hegarty
 Fix For: 9.0
 Attachments: Installer1.png, Installer2.png, Installer3.png

- I deleted the *dev* user directory and *dev* cache directory for NetBeans.

- I downloaded and installed Build #416 on Windows 10. 

- I selected *Help > Check for Updates*.

The installer very briefly displayed a screen stating that _"the following 
plugins will be updated"_...

_Docker UI [1.1.4 -> 1.1.4]_

_IDE Platform [1.34 -> 1.34]_

_Local Tasks [1.26 -> 1.26]_ 

Note that both version numbers are the same in all three cases. See the 
attached screen shot *installer1.png*.

- Then a second screen replaces that almost immediately, stating _Some plugins 
require Java Source Base to be installed_. However, the only enabled button is 
*Cancel*. See the attached screen shot *installer2.png*.

- After clicking *Cancel* I am immediately prompted to _Click here to make you 
IDE up to date_. See the attached screen shot *installer3.png*. If I click the 
link in the balloon then the same scenario as described above is repeated, and 
I cannot update anything.

- I also face the same problem if I alternative GUI navigation to  attempt to 
do the updates:

[1] *Help -> About*  then click the *Updates available* link.

[2]*Tools -> Plugins -> Updates -> Check for Updates*

Note that I have downloaded many other builds (most recently #398) and not 
encountered this problem. I have assigned this issue *Major* priority since I 
can't apply updates, but please downgrade if appropriate.



--
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-539) Profiler Not Functioning on JDK 10

2018-04-03 Thread Rick Hegarty (JIRA)

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

Rick Hegarty commented on NETBEANS-539:
---

I just built and ran AnagramGame with JDK10 using Build #388 on Windows 10 and 
it worked fine; I could not reproduce this problem.

With respect to the four NetBeans log messages noted by Glenn in the previous 
comment, I also got the first three, but not the final one ("Refresh of custom 
indexer..."). Since I could not reproduce the failure I presume those messages 
are not relevant.

 

My environment:

*Product Version:* Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-388-on-20180402)
*Java:* 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12

*Runtime:* Java(TM) SE Runtime Environment 1.8.0_162-b12

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\johndoe\AppData\Roaming\NetBeans\dev

*Cache directory:* C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev

 

 

> Profiler Not Functioning on JDK 10
> --
>
> Key: NETBEANS-539
> URL: https://issues.apache.org/jira/browse/NETBEANS-539
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
>Reporter: Josh Juneau
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Testing the profiler with AnagramGame works fine with JDK8.  However, if 
> NetBeans 9 is running under JDK10, the profiler does not start when the 
> “Profile” button is pressed.  The text “Build Successful” is displayed in the 
> output window.



--
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-576) The FindBugs plugin works with JDK8 but not with JDK10

2018-04-02 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-576:
--
Description: 
[1] I created a trivial Java application with some issues for FindBugs to 
identify:
{quote}*package app;*

*public class App {*

*static String s1; int j; Boolean b1;*

*public static void main(String[] args) {*
     *System.out.println("JRE version: " + System.getProperty("java.version"));*
     *if (s1 == "abc") {*
     *}*
 *}*

*public boolean equals(App i) {*

    *int j = this.hashCode();*
     *return this.equals(new App());*
 *}*

*}*
{quote}
[2] When the application was run it displayed displayed: *JRE version: 
1.8.0_162*. 

[3]Then I ran *Source > Inspect...* using FindBugs (version 1.32) on the file 
*App.java*. FindBugs identified eight issues in the *Inspector* window, as 
shown in the attached screen shot *FindBugsJDK8.png*.

[4]Next I added JDK 10 as a Java platform, and amended the properties of the 
project as follows:
 - Libraries > Java Platform: *JDK 10*

 - Sources > Source/Binary Format: *JDK 10*

[5]As expected, when the application was run again it displayed: *JRE version: 
10* 

[6] However, when I ran *Source > Inspect...* using FindBugs on the file 
*App.java* again, using code compiled and run with JDK10, there was no FindBugs 
output in the *Inspector* window. See the attached screen shot 
*FindBugsJDK10.png*.

(My understanding is that FindBugs hasn't been updated for several years. Could 
NetBeans possibly use its successor, SpotBugs, as a plugin instead?)

 

Environment Details:

{{*Product Version:* Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-388-on-20180402)}}
{{*Java:* 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12}}{{*Runtime:* 
Java(TM) SE Runtime Environment 1.8.0_162-b12}}{{*System:* Windows 10 version 
10.0 running on amd64; Cp1252; en_US (nb)}}{{*User directory:* 
C:\Users\johndoe\AppData\Roaming\NetBeans\dev}}{{*Cache directory:* 
C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev}}

  was:
[1] I created a trivial Java application with some issues for FindBugs to 
identify:

 
{quote}*package app;*

*public class App {*

*static String s1; int j; Boolean b1;*

*public static void main(String[] args) {*
     *System.out.println("JRE version: " + System.getProperty("java.version"));*
     *if (s1 == "abc") {*
     *}*
 *}*

*public boolean equals(App i) {*

    *int j = this.hashCode();*
     *return this.equals(new App());*
 *}*

*}*
{quote}
[2] When the application was run it displayed displayed: *JRE version: 
1.8.0_162*. 

[3]Then I ran *Source > Inspect...* using FindBugs (version 1.32) on the file 
*App.java*. FindBugs identified eight issues in the *Inspector* window, as 
shown in the attached screen shot *FindBugsJDK8.png*.

[4]Next I added JDK 10 as a Java platform, and amended the properties of the 
project as follows:
 - Libraries > Java Platform: *JDK 10*

 - Sources > Source/Binary Format: *JDK 10*

[5]As expected, when the application was run again it displayed: *JRE version: 
10* 

[6] However, when I ran *Source > Inspect...* using FindBugs on the file 
*App.java* again, using code compiled and run with JDK10, there was no FindBugs 
output in the *Inspector* window. See the attached screen shot 
*FindBugsJDK10.png*.

(My understanding is that FindBugs hasn't been updated for several years. Could 
NetBeans possibly use its successor, SpotBugs, as a plugin instead?)

 

 

 


> The FindBugs plugin works with JDK8 but not with JDK10
> --
>
> Key: NETBEANS-576
> URL: https://issues.apache.org/jira/browse/NETBEANS-576
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - FindBugs
>Affects Versions: 9.0
>Reporter: Rick Hegarty
>Priority: Minor
> Attachments: FindBugsJDK10.png, FindBugsJDK8.png
>
>
> [1] I created a trivial Java application with some issues for FindBugs to 
> identify:
> {quote}*package app;*
> *public class App {*
> *static String s1; int j; Boolean b1;*
> *public static void main(String[] args) {*
>      *System.out.println("JRE version: " + 
> System.getProperty("java.version"));*
>      *if (s1 == "abc") {*
>      *}*
>  *}*
> *public boolean equals(App i) {*
>     *int j = this.hashCode();*
>      *return this.equals(new App());*
>  *}*
> *}*
> {quote}
> [2] When the application was run it displayed displayed: *JRE version: 
> 1.8.0_162*. 
> [3]Then I ran *Source > Inspect...* using FindBugs (version 1.32) on the file 
> *App.java*. FindBugs identified eight issues in the *Inspector* window, as 
> shown in the attached screen shot *FindBugsJDK8.png*.
> [4]Next I added JDK 10 as a Java platform, and amended the properties of the 
> project as follows:
>  - Libraries > Java Platform: *JDK 10*
>  - Sources > Source/Binary Format: *JDK 10*
> [5]As 

[jira] [Created] (NETBEANS-576) The FindBugs plugin works with JDK8 but not with JDK10

2018-04-02 Thread Rick Hegarty (JIRA)
Rick Hegarty created NETBEANS-576:
-

 Summary: The FindBugs plugin works with JDK8 but not with JDK10
 Key: NETBEANS-576
 URL: https://issues.apache.org/jira/browse/NETBEANS-576
 Project: NetBeans
  Issue Type: Bug
  Components: java - FindBugs
Affects Versions: 9.0
Reporter: Rick Hegarty






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

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

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



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

2018-03-28 Thread Rick Hegarty (JIRA)

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

Rick Hegarty commented on NETBEANS-461:
---

I retested the ten issues I had raised in a previous comment dated 15/Mar/18 
and everything works fine now, using Build #379. I think this bug can be 
closed. 

 

Environment details:

 
*Product Version:* Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-379-on-20180327)

*Java:* 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12

*Runtime:* Java(TM) SE Runtime Environment 1.8.0_162-b12

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\johndoe\AppData\Roaming\NetBeans\dev

*Cache directory:* C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev

 

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

[jira] [Updated] (NETBEANS-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-463:
--
Attachment: JavaApplication4.java

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-463:
--
Attachment: (was: JavaApplication4.java)

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-463:
--
Attachment: JavaApplication4.java

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-463:
--
Attachment: (was: JavaApplication4.java)

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty commented on NETBEANS-463:
---

Just to add that the *IllegalArgumentException* is not thrown in most cases of 
invalid *var* declarations. The only two scenarios I could find were two *var* 
declarations for instance variables like this:

*{color:#654982}var a = () -> "hello";{color}*

*{color:#654982}var e;{color}*

See the comments in the attached Java application below for more details.

 

 

NetBeans *Help -> About* details:

 
{color:#205081}*Product Version:* Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-375-on-20180320){color}

{color:#205081}*Java:* 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 
25.162-b12{color}

{color:#205081}*Runtime:* Java(TM) SE Runtime Environment 1.8.0_162-b12{color}

{color:#205081}*System:* Windows 10 version 10.0 running on amd64; Cp1252; 
en_US (nb){color}

{color:#205081}*User directory:* 
C:\Users\johndoe\AppData\Roaming\NetBeans\dev{color}

{color:#205081}*Cache directory:* 
C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev{color}

 

 

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-22 Thread Rick Hegarty (JIRA)

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

Rick Hegarty updated NETBEANS-463:
--
Attachment: JavaApplication4.java

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



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

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

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



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

2018-03-15 Thread Rick Hegarty (JIRA)

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

Rick Hegarty commented on NETBEANS-461:
---

I also see similar problems on Win 10 in the following ten scenarios unless 
*Tool > Options > Web Browser > Web Browser* is set to *Embedded WebKit 
Browser*:
1. Edit a Java source file, right click on a JDK method or class, then select 
*Open Javadoc*.
2. In the Projects panel select a project, right click and select *Generate 
Javadoc*.
3. In the Projects panel select a project, expand the Libraries node, right 
click on *JDK 1.8 (Default)* and select *Show Javadoc*.
4. In the Projects panel select a project using JUnit, expand the Test 
Libraries node, right click on *Junit 4.12* and select *Show Javadoc*.
5. In the Projects panel select a web project, right click and select *Run*.
6. Select Help > About then click on any of the URLs on the About page (e.g. 
*netbeans.apache.org*).
7. Select Help > Online Docs and Support.
8. Select Help > Javadoc Index Search.
9. Select Help > Javadoc References > select any submenu entry.
10. Select Window > Web > Web Browser.

In all cases the error is _java.lang.NoClassDefFoundError: Could not initialize 
class org.netbeans.modules.extbrowser.NbDdeBrowserImpl_

This is my environment:

Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-linux-366-on-20180314)
Java: 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12
Runtime: Java(TM) SE Runtime Environment 1.8.0_162-b12
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\johndoe\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\johndoe\AppData\Local\NetBeans\Cache\dev

Here is a stack trace with Chrome set as the browser when selecting *Help > 
Online Docs and Support*:

java.lang.NoClassDefFoundError: Could not initialize class 
org.netbeans.modules.extbrowser.NbDdeBrowserImpl
 at 
org.netbeans.modules.extbrowser.ChromeBrowser.createHtmlBrowserImpl(ChromeBrowser.java:85)
 at org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
 at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
 at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
 at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
 at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
 at org.netbeans.modules.url.URLDataObject.open(URLDataObject.java:227)
 at org.netbeans.modules.url.URLPresenter.actionPerformed(URLPresenter.java:159)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
 at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
 at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
 at java.awt.Component.processMouseEvent(Component.java:6533)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
 at java.awt.Component.processEvent(Component.java:6298)
 at java.awt.Container.processEvent(Container.java:2237)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2295)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
 at java.awt.Container.dispatchEventImpl(Container.java:2281)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
 at java.awt.EventQueue$4.run(EventQueue.java:733)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at