[jira] [Commented] (NETBEANS-4569) Format Java code throws NullPointerException

2020-07-13 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-4569:


Yes

Formatting fails if a switch clause is present which also has a default case.

> Format Java code throws NullPointerException
> 
>
> Key: NETBEANS-4569
> URL: https://issues.apache.org/jira/browse/NETBEANS-4569
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Boris Heithecker
>Priority: Major
>
> Action Format code (Alt+Shift-F) sometimes fails due to a 
> NullPointerException thrown.
> Affects Java code. 
> I could not determine the exact pattern to reproduce this, but it definitely 
> depends on pieces of the source code. Commenting out parts of the affected 
> class sometimes helps. 
> I've been working with the same sources in 11.3 and didn't notice anything 
> like it.
> Stack trace: 
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:586)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2919)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:396)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2870)
>  
> Maybe it can be fixed easily by checking for null. 



--
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-4569) Format Java code throws NullPointerException

2020-07-10 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-4569:


This affects switch clauses which include a default case.

> Format Java code throws NullPointerException
> 
>
> Key: NETBEANS-4569
> URL: https://issues.apache.org/jira/browse/NETBEANS-4569
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Boris Heithecker
>Priority: Major
>
> Action Format code (Alt+Shift-F) sometimes fails due to a 
> NullPointerException thrown.
> Affects Java code. 
> I could not determine the exact pattern to reproduce this, but it definitely 
> depends on pieces of the source code. Commenting out parts of the affected 
> class sometimes helps. 
> I've been working with the same sources in 11.3 and didn't notice anything 
> like it.
> Stack trace: 
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:586)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2919)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:396)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2870)
>  
> Maybe it can be fixed easily by checking for null. 



--
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] [Created] (NETBEANS-4569) Format Java code throws NullPointerException

2020-07-10 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-4569:
--

 Summary: Format Java code throws NullPointerException
 Key: NETBEANS-4569
 URL: https://issues.apache.org/jira/browse/NETBEANS-4569
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Boris Heithecker


Action Format code (Alt+Shift-F) sometimes fails due to a NullPointerException 
thrown.

Affects Java code. 

I could not determine the exact pattern to reproduce this, but it definitely 
depends on pieces of the source code. Commenting out parts of the affected 
class sometimes helps. 

I've been working with the same sources in 11.3 and didn't notice anything like 
it.

Stack trace: 

java.lang.NullPointerExceptionjava.lang.NullPointerException at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:586)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2919)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:396)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2870)

 

Maybe it can be fixed easily by checking for null. 



--
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-4365) New Action in Module Development throws Exception in 12.0-beta4

2020-05-23 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-4365:


I've quick-quecked all the other API support wizards, and the error occurs only 
with "Always enabled action" and "Conditionally enabled action". The related 
templates are actionListener.javx and contextAction.javx in apisupport.wizards. 
The error occurs when the script iterates over a list of @ActionReference items 
(<#list REFERENCES as r>) and the reason could be (I''m not sure) that this 
list (REFERENCES) contains item objects which are not serializable, (which 
freemarker assumes them to be?). 

> New Action in Module Development throws Exception in 12.0-beta4
> ---
>
> Key: NETBEANS-4365
> URL: https://issues.apache.org/jira/browse/NETBEANS-4365
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Affects Versions: 12.0
>Reporter: Boris Heithecker
>Priority: Critical
>
> Steps to reproduce:
> Create an Ant-based NetBeans Module Project
> Add a new Action via New -> Action, fill in the forms, make sure the action 
> is registered as a Global Menu Item
> The IDE creates a java file. In place of the Menu Bar registration annotation 
> an exception message is printed. 
> This bug was not present in 11.3



--
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-4365) New Action in Module Development throws Exception in 12.0-beta4

2020-05-23 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-4365:


I was wrong guessing in my last comment. Just pulled in the lasted commits and 
saw that the code indeed has been touched. It's related to Freemarker being 
upgraded from 2.3.19 to 2.3.30. 

> New Action in Module Development throws Exception in 12.0-beta4
> ---
>
> Key: NETBEANS-4365
> URL: https://issues.apache.org/jira/browse/NETBEANS-4365
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Affects Versions: 12.0
>Reporter: Boris Heithecker
>Priority: Critical
>
> Steps to reproduce:
> Create an Ant-based NetBeans Module Project
> Add a new Action via New -> Action, fill in the forms, make sure the action 
> is registered as a Global Menu Item
> The IDE creates a java file. In place of the Menu Bar registration annotation 
> an exception message is printed. 
> This bug was not present in 11.3



--
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-4365) New Action in Module Development throws Exception in 12.0-beta4

2020-05-22 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-4365:


No quick fix, at least for me. The related code in apisupport.wizards hasn't 
been touched for more than a year. It might be related to 
Proxy.newProxyInstance returning null at 
org.netbeans.modules.apisupport.project.ui.wizard.action.DataModel.createActionReference,
 so a jdk-related problem, but I've got no idea why.

> New Action in Module Development throws Exception in 12.0-beta4
> ---
>
> Key: NETBEANS-4365
> URL: https://issues.apache.org/jira/browse/NETBEANS-4365
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Affects Versions: 12.0
>Reporter: Boris Heithecker
>Priority: Critical
>
> Steps to reproduce:
> Create an Ant-based NetBeans Module Project
> Add a new Action via New -> Action, fill in the forms, make sure the action 
> is registered as a Global Menu Item
> The IDE creates a java file. In place of the Menu Bar registration annotation 
> an exception message is printed. 
> This bug was not present in 11.3



--
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] [Created] (NETBEANS-4365) New Action in Module Development throws Exception in 12.0-beta4

2020-05-22 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-4365:
--

 Summary: New Action in Module Development throws Exception in 
12.0-beta4
 Key: NETBEANS-4365
 URL: https://issues.apache.org/jira/browse/NETBEANS-4365
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Project
Affects Versions: 12.0
Reporter: Boris Heithecker


Steps to reproduce:

Create an Ant-based NetBeans Module Project

Add a new Action via New -> Action, fill in the forms, make sure the action is 
registered as a Global Menu Item

The IDE creates a java file. In place of the Menu Bar registration annotation 
an exception message is printed. 

This bug was not present in 11.3



--
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] [Created] (NETBEANS-3814) Move the donated files to a dedicated subfolder, create a first localization module

2020-02-08 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-3814:
--

 Summary: Move the donated files to a dedicated subfolder, create a 
first localization module
 Key: NETBEANS-3814
 URL: https://issues.apache.org/jira/browse/NETBEANS-3814
 Project: NetBeans
  Issue Type: Task
Reporter: Boris Heithecker


In [https://github.com/apache/netbeans-l10n], move the donation to a dedicated 
subfolder and create a module project for a first language as template 
(german), add l10nantext.jar 



--
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-3234) Apache NetBeans running on JDK 11 cannot access package classes

2020-02-06 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-3234:


Yes, it is. 

> Apache NetBeans running on JDK 11 cannot access package classes
> ---
>
> Key: NETBEANS-3234
> URL: https://issues.apache.org/jira/browse/NETBEANS-3234
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Boris Heithecker
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> If a package-info element is defined in some package, it cannot be properly 
> accessed at runtime:  
>  
> java.lang.Package p = AnyClass.class.getPackage();
>  
> should return a package object representing the actual package-info element 
> of that package. It is, for example, used by the JAXB runtime to read 
> XmlSchema annotations at package level. 
>  
> This has been tested in oracle jdk11.0.4. Class java.lang.Package in Java 11 
> has a private field called "packageInfo" of type "Class", which should 
> hold a reference to the actual package-info class object, i.e. 
> AnyPackage.package-info. In NetBeans, always wrongly references 
> "java.lang.Package$1PackageInfoProxy", which is a fallback reference set if 
> no actual package-info could be found. 
>  
> The reason is most likely that neither 
>  
> org.netbeans.JarClassLoader
> nor org.netbeans.ProxyClassLoader
> nor org.netbeans.StandardModule$OneModuleClassLoader (all in 
> platform/o.n.bootstrap)
>  
> override method "java.lang.ClassLoader.findClass(String name)". The default 
> implementation throws an exceptions which causes the above fallback reference 
> to be set. 
>  
> This is a serious issue. If it is not fixed, the platform will not be fully 
> comptabile, among others, with the JAXB RI and also JAX-WS RI. 



--
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-3771) Start work on integrating translations into Apache NetBeans

2020-01-30 Thread Boris Heithecker (Jira)


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

Boris Heithecker closed NETBEANS-3771.
--
Resolution: Done

> Start work on integrating translations into Apache NetBeans
> ---
>
> Key: NETBEANS-3771
> URL: https://issues.apache.org/jira/browse/NETBEANS-3771
> Project: NetBeans
>  Issue Type: Task
>Reporter: Boris Heithecker
>Assignee: Boris Heithecker
>Priority: Major
>
> This was only meant to provide an issue number for 
> [https://github.com/apache/netbeans-tools/pull/26]



--
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-3771) Start work on integrating translations into Apache NetBeans

2020-01-30 Thread Boris Heithecker (Jira)


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

Boris Heithecker updated NETBEANS-3771:
---
Description: This was only meant to provide an issue number for 
[https://github.com/apache/netbeans-tools/pull/26]

> Start work on integrating translations into Apache NetBeans
> ---
>
> Key: NETBEANS-3771
> URL: https://issues.apache.org/jira/browse/NETBEANS-3771
> Project: NetBeans
>  Issue Type: Task
>Reporter: Boris Heithecker
>Priority: Major
>
> This was only meant to provide an issue number for 
> [https://github.com/apache/netbeans-tools/pull/26]



--
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] [Assigned] (NETBEANS-3771) Start work on integrating translations into Apache NetBeans

2020-01-30 Thread Boris Heithecker (Jira)


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

Boris Heithecker reassigned NETBEANS-3771:
--

Assignee: Boris Heithecker

> Start work on integrating translations into Apache NetBeans
> ---
>
> Key: NETBEANS-3771
> URL: https://issues.apache.org/jira/browse/NETBEANS-3771
> Project: NetBeans
>  Issue Type: Task
>Reporter: Boris Heithecker
>Assignee: Boris Heithecker
>Priority: Major
>
> This was only meant to provide an issue number for 
> [https://github.com/apache/netbeans-tools/pull/26]



--
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] [Created] (NETBEANS-3771) Start work on integrating translations into Apache NetBeans

2020-01-30 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-3771:
--

 Summary: Start work on integrating translations into Apache 
NetBeans
 Key: NETBEANS-3771
 URL: https://issues.apache.org/jira/browse/NETBEANS-3771
 Project: NetBeans
  Issue Type: Task
Reporter: Boris Heithecker






--
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] [Created] (NETBEANS-3330) NetBeans IDE fails to add "nbbuild/netbeans" in the source tree as NetBeans platform

2019-11-03 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-3330:
--

 Summary: NetBeans IDE fails to add "nbbuild/netbeans" in the 
source tree as NetBeans platform
 Key: NETBEANS-3330
 URL: https://issues.apache.org/jira/browse/NETBEANS-3330
 Project: NetBeans
  Issue Type: Bug
Reporter: Boris Heithecker


To reproduce, go to "Tools->NetBeans Platforms->Add platform" and select 
nbbuild/netbeans in your local repository. The folder is recognized as a 
platform and I can add it as a NetBeans platform, but the modules list is 
either empty or contains only one single module "RCP Platform". No error 
messages. 



--
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] [Issue Comment Deleted] (NETBEANS-3234) Apache NetBeans running on JDK 11 cannot access package classes

2019-10-23 Thread Boris Heithecker (Jira)


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

Boris Heithecker updated NETBEANS-3234:
---
Comment: was deleted

(was: Are your sure your solution passes with the fix and does not without it?

I've tried it and changed my test case according to your suggestion. If I 
comment out the ProxyClassLoader.findClass(String name) override, the test 
still passes, regardless if run with java 8 or 11.0.4.

(I did some digging in the existing sources before as well, and, though I may 
not have been thorough enough, it seems to me that you can't easily create a 
unit test for this fix. You'd have have to change more code in ProxyClassLoader 
only for the sake of testing.))

> Apache NetBeans running on JDK 11 cannot access package classes
> ---
>
> Key: NETBEANS-3234
> URL: https://issues.apache.org/jira/browse/NETBEANS-3234
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Boris Heithecker
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> If a package-info element is defined in some package, it cannot be properly 
> accessed at runtime:  
>  
> java.lang.Package p = AnyClass.class.getPackage();
>  
> should return a package object representing the actual package-info element 
> of that package. It is, for example, used by the JAXB runtime to read 
> XmlSchema annotations at package level. 
>  
> This has been tested in oracle jdk11.0.4. Class java.lang.Package in Java 11 
> has a private field called "packageInfo" of type "Class", which should 
> hold a reference to the actual package-info class object, i.e. 
> AnyPackage.package-info. In NetBeans, always wrongly references 
> "java.lang.Package$1PackageInfoProxy", which is a fallback reference set if 
> no actual package-info could be found. 
>  
> The reason is most likely that neither 
>  
> org.netbeans.JarClassLoader
> nor org.netbeans.ProxyClassLoader
> nor org.netbeans.StandardModule$OneModuleClassLoader (all in 
> platform/o.n.bootstrap)
>  
> override method "java.lang.ClassLoader.findClass(String name)". The default 
> implementation throws an exceptions which causes the above fallback reference 
> to be set. 
>  
> This is a serious issue. If it is not fixed, the platform will not be fully 
> comptabile, among others, with the JAXB RI and also JAX-WS RI. 



--
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-3234) Apache NetBeans running on JDK 11 cannot access package classes

2019-10-22 Thread Boris Heithecker (Jira)


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

Boris Heithecker commented on NETBEANS-3234:


Are your sure your solution passes with the fix and does not without it?

I've tried it and changed my test case according to your suggestion. If I 
comment out the ProxyClassLoader.findClass(String name) override, the test 
still passes, regardless if run with java 8 or 11.0.4.

(I did some digging in the existing sources before as well, and, though I may 
not have been thorough enough, it seems to me that you can't easily create a 
unit test for this fix. You'd have have to change more code in ProxyClassLoader 
only for the sake of testing.)

> Apache NetBeans running on JDK 11 cannot access package classes
> ---
>
> Key: NETBEANS-3234
> URL: https://issues.apache.org/jira/browse/NETBEANS-3234
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Boris Heithecker
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> If a package-info element is defined in some package, it cannot be properly 
> accessed at runtime:  
>  
> java.lang.Package p = AnyClass.class.getPackage();
>  
> should return a package object representing the actual package-info element 
> of that package. It is, for example, used by the JAXB runtime to read 
> XmlSchema annotations at package level. 
>  
> This has been tested in oracle jdk11.0.4. Class java.lang.Package in Java 11 
> has a private field called "packageInfo" of type "Class", which should 
> hold a reference to the actual package-info class object, i.e. 
> AnyPackage.package-info. In NetBeans, always wrongly references 
> "java.lang.Package$1PackageInfoProxy", which is a fallback reference set if 
> no actual package-info could be found. 
>  
> The reason is most likely that neither 
>  
> org.netbeans.JarClassLoader
> nor org.netbeans.ProxyClassLoader
> nor org.netbeans.StandardModule$OneModuleClassLoader (all in 
> platform/o.n.bootstrap)
>  
> override method "java.lang.ClassLoader.findClass(String name)". The default 
> implementation throws an exceptions which causes the above fallback reference 
> to be set. 
>  
> This is a serious issue. If it is not fixed, the platform will not be fully 
> comptabile, among others, with the JAXB RI and also JAX-WS RI. 



--
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] [Created] (NETBEANS-3234) Apache NetBeans running on JDK 11 cannot access package classes

2019-10-12 Thread Boris Heithecker (Jira)
Boris Heithecker created NETBEANS-3234:
--

 Summary: Apache NetBeans running on JDK 11 cannot access package 
classes
 Key: NETBEANS-3234
 URL: https://issues.apache.org/jira/browse/NETBEANS-3234
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
Reporter: Boris Heithecker


If a package-info element is defined in some package, it cannot be properly 
accessed at runtime:  
 
java.lang.Package p = AnyClass.class.getPackage();
 
should return a package object representing the actual package-info element of 
that package. It is, for example, used by the JAXB runtime to read XmlSchema 
annotations at package level. 
 
This has been tested in oracle jdk11.0.4. Class java.lang.Package in Java 11 
has a private field called "packageInfo" of type "Class", which should hold 
a reference to the actual package-info class object, i.e. 
AnyPackage.package-info. In NetBeans, always wrongly references 
"java.lang.Package$1PackageInfoProxy", which is a fallback reference set if no 
actual package-info could be found. 
 
The reason is most likely that neither 
 
org.netbeans.JarClassLoader
nor org.netbeans.ProxyClassLoader
nor org.netbeans.StandardModule$OneModuleClassLoader (all in 
platform/o.n.bootstrap)
 
override method "java.lang.ClassLoader.findClass(String name)". The default 
implementation throws an exceptions which causes the above fallback reference 
to be set. 
 
This is a serious issue. If it is not fixed, the platform will not be fully 
comptabile, among others, with the JAXB RI and also JAX-WS RI. 



--
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-2263) Integrate the localisation bundles from Oracle's 3rd donation into the current GitHub repository

2019-06-15 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-2263:


This is much more work than expected. More than 1300 license headers pending to 
be reviewed and fixed individually, one by one. Even after a couple of 
improvements on the conversion tool. 
We need it, esp. the german language pack, and I still feel committed to it. I 
can't resume work on it before July 20.

> Integrate the localisation bundles from Oracle's 3rd donation into the 
> current GitHub repository
> 
>
> Key: NETBEANS-2263
> URL: https://issues.apache.org/jira/browse/NETBEANS-2263
> Project: NetBeans
>  Issue Type: Task
>Reporter: Boris Heithecker
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>




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

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

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



[jira] [Created] (NETBEANS-2263) Integrate the localisation bundles from Oracle's 3rd donation into the current GitHub repository

2019-03-16 Thread Boris Heithecker (JIRA)
Boris Heithecker created NETBEANS-2263:
--

 Summary: Integrate the localisation bundles from Oracle's 3rd 
donation into the current GitHub repository
 Key: NETBEANS-2263
 URL: https://issues.apache.org/jira/browse/NETBEANS-2263
 Project: NetBeans
  Issue Type: Task
Reporter: Boris Heithecker






--
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-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-12 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-1232:


You don't happen by chance to use the same user directory for BOTH 
installations by configuration via start-up option or an entry in 
netbeans.conf? I'm just wondering, because you say it's "bad news" that the 
line of \us is added again after copying/importing settings. You shouldn't 
bother about the 8.2 settings files once you've imported into 9.0. They use 
different directories. 

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
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-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-11 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-1232:


Did you close the 8.2 installation before starting to import settings into 9.0? 
From the logs, it seems to me that access is blocked to the old settings files. 
The reason might be Windows still holding OS locks on them.

Boris

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
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-1111) Cannot run platform app with default jdk specified in netbeans.conf

2018-08-05 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-:


I've pulled / updated my sources, rebuild the platform, performed step 2 - 7. 
No failure. 

So, the fix simply hasn't been merged into the release branch? 

> Cannot run platform app with default jdk specified in netbeans.conf
> ---
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Boris Heithecker
>Priority: Major
>
> This
> https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel=16413839
> has not been integrated in the release (9.0)? 



--
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-1111) Cannot run platform app with default jdk specified in netbeans.conf

2018-08-04 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-:


Okay, should be reproducible like this:

1. Download Apache NetBeans 9.0 from 
https://netbeans.apache.org/download/nb90/nb90.html and unzip. 

2. Make sure you don't have a jdk on your PATH (!!!).

3. Run "bin/netbeans". You should get a warning "The JDK is missing and is 
required to run some NetBeans modules Please use the --jdkhome command line 
option to specify a JDK". Exit.

4. Specify a JDK 9 installation in "etc/netbeans.conf" 
(netbeans_jdkhome="somefolder/jdk-9.0.4")

5. Run "bin/netbeans". You shouldn't get a warning now as in step 3.

6. Create a new NetBeans Platform Appliction. Open the properties dialog, 
choose "Libraries" and select as "Java Platform" "JDK 9 (Default)" if not 
selected.

7. Run the application. It fails, outputting

"Cannot find java. Please use the --jdkhome switch.
Result: 2
BUILD SUCCESSFUL (total time: 1 second)"

8. Open Tools -> Java Platform. Click "Add platform". Select the folder of your 
JDK 9 installation, name it JDK9_Test (for example).

9. Reopen the properties dialog of the NetBeans Platform application. Choose 
Libraries, select "JDK9_Test" as Java Platform.

10. Run the application. It should succeed now.

The same bug was present in one of the dev builds in March. I had submitted a 
report, but then I pulled and built the sources and it was fixed 
(https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel=16413839#comment-16413839).
 Now it reappears in the release.

> Cannot run platform app with default jdk specified in netbeans.conf
> ---
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Boris Heithecker
>Priority: Major
>
> This
> https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel=16413839
> has not been integrated in the release (9.0)? 



--
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-1111) Cannot run platform app with default jdk specified in netbeans.conf

2018-08-03 Thread Boris Heithecker (JIRA)


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

Boris Heithecker commented on NETBEANS-:


Ah, okay, need to specify: 

I've download release 9.0, opened my platform app, cleaned and build it and 
tried to run it with "default" JDK 9. I don't have a jdk in my system path 
environment. The jdk location is specified in "install-dir/etc/netbeans.conf".

I can't run the application, getting  "Cannot find java. Please use the 
--jdkhome switch." 

If a add the same java platform as another java platform (Tools -> java 
platforms -> add...) to run the application with it works. 

I had the same problem with one of the development builds in march. When I 
cloned and built the platform later, it was fixed. 

> Cannot run platform app with default jdk specified in netbeans.conf
> ---
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Boris Heithecker
>Priority: Major
>
> This
> https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel=16413839
> has not been integrated in the release (9.0)? 



--
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-1111) Cannot run platform app with default jdk specified in netbeans.conf

2018-08-03 Thread Boris Heithecker (JIRA)
Boris Heithecker created NETBEANS-:
--

 Summary: Cannot run platform app with default jdk specified in 
netbeans.conf
 Key: NETBEANS-
 URL: https://issues.apache.org/jira/browse/NETBEANS-
 Project: NetBeans
  Issue Type: Bug
Reporter: Boris Heithecker


This

https://issues.apache.org/jira/browse/NETBEANS-523?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel=16413839

has not been integrated in the release (9.0)? 



--
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-1110) Cannot add sources to NetBeans platform / File chooser dialog hangs when transversing folder with corrupted zip files

2018-08-03 Thread Boris Heithecker (JIRA)
Boris Heithecker created NETBEANS-1110:
--

 Summary: Cannot add sources to NetBeans platform / File chooser 
dialog hangs when transversing folder with corrupted zip files
 Key: NETBEANS-1110
 URL: https://issues.apache.org/jira/browse/NETBEANS-1110
 Project: NetBeans
  Issue Type: Bug
Reporter: Boris Heithecker


Trying to add sources to the development platform (Tools -> NetBeansPlatforms 
-> Sources -> Add zip/Folder) opens a file chooser dialog. The dialog hangs 
when switching to a folder which contains an arbitrary zip-File with 
non-default (utf-8) file name encoding. 

Here is the stack trace: 

 

SEVERE [global]
java.lang.IllegalArgumentException: MALFORMED
 at java.base/java.util.zip.ZipCoder.toString(ZipCoder.java:58)
 at java.base/java.util.zip.ZipFile.getZipEntry(ZipFile.java:551)
 at java.base/java.util.zip.ZipFile.access$900(ZipFile.java:76)
 at java.base/java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:499)
 at 
java.base/java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:489)
 at 
java.base/java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:469)
 at 
org.netbeans.modules.apisupport.project.queries.GlobalSourceForBinaryImpl$NetBeansSourcesParser.findNBRoot(GlobalSourceForBinaryImpl.java:326)
 at 
org.netbeans.modules.apisupport.project.queries.GlobalSourceForBinaryImpl$NetBeansSourcesParser.getInstance(GlobalSourceForBinaryImpl.java:298)
 at 
org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources.isValidNbSourceRoot(NbPlatformCustomizerSources.java:261)
 at 
org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources.access$500(NbPlatformCustomizerSources.java:47)
 at 
org.netbeans.modules.apisupport.project.ui.platform.NbPlatformCustomizerSources$6.accept(NbPlatformCustomizerSources.java:230)
 at java.desktop/javax.swing.JFileChooser.accept(JFileChooser.java:1638)
 at 
java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:303)
 at 
java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:279)

 

Please insert a catch clause at 
org.netbeans.modules.apisupport.project.queries.GlobalSourceForBinaryImpl, line 
326



--
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-523) Running a simple NetBeans module fails

2018-03-26 Thread Boris Heithecker (JIRA)

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

Boris Heithecker commented on NETBEANS-523:
---

Yes, it has been fixed. I've cloned and build netbeans again and it works. 
Obviously, it's just not yet in the binaries bundle I downloaded yesterday. 

> Running a simple NetBeans module fails
> --
>
> Key: NETBEANS-523
> URL: https://issues.apache.org/jira/browse/NETBEANS-523
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Boris Heithecker
>Priority: Major
>
> Create a platform suite and a module using the wizard, leaving default 
> settings as they are. Add an action, also leaving suggested setting. 
> Right-clicking "run" on the module fails for me with: 
> "Cannot find java. Please use the --jdkhome switch.
> Result: 2"
> Note: I don't have a jdk in my system path environment. Jdk location is 
> specified in "install-dir/etc/netbeans.conf".
> Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" 
> gives the same result.
> Note 3: If I manually choose a different java platform (not the "default" 
> one) the application runs as expected. So the problem seems to be that the 
> "netbeans_jdkhome" in etc/netbeans.conf switch is not respected when 
> launching a netbeans platform app. 



--
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-523) Running a simple NetBeans module fails

2018-03-26 Thread Boris Heithecker (JIRA)

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

Boris Heithecker updated NETBEANS-523:
--
Description: 
Create a platform suite and a module using the wizard, leaving default settings 
as they are. Add an action, also leaving suggested setting. Right-clicking 
"run" on the module fails for me with: 

"Cannot find java. Please use the --jdkhome switch.

Result: 2"

Note: I don't have a jdk in my system path environment. Jdk location is 
specified in "install-dir/etc/netbeans.conf".

Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" 
gives the same result.

Note 3: If I manually choose a different java platform (not the "default" one) 
the application runs as expected. So the problem seems to be that the 
"netbeans_jdkhome" in etc/netbeans.conf switch is not respected when launching 
a netbeans platform app. 

  was:
Create a platform suite and a module using the wizard, leaving default settings 
as they are. Add an action, also leaving suggested setting. Right-clicking 
"run" on the module fails for me with: 

"Cannot find java. Please use the --jdkhome switch.

Result: 2"

Note: I don't have a jdk in my system path environment. Jdk location is 
specified in "install-dir/etc/netbeans.conf".

Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" 
gives the same result.


> Running a simple NetBeans module fails
> --
>
> Key: NETBEANS-523
> URL: https://issues.apache.org/jira/browse/NETBEANS-523
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Boris Heithecker
>Priority: Major
>
> Create a platform suite and a module using the wizard, leaving default 
> settings as they are. Add an action, also leaving suggested setting. 
> Right-clicking "run" on the module fails for me with: 
> "Cannot find java. Please use the --jdkhome switch.
> Result: 2"
> Note: I don't have a jdk in my system path environment. Jdk location is 
> specified in "install-dir/etc/netbeans.conf".
> Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" 
> gives the same result.
> Note 3: If I manually choose a different java platform (not the "default" 
> one) the application runs as expected. So the problem seems to be that the 
> "netbeans_jdkhome" in etc/netbeans.conf switch is not respected when 
> launching a netbeans platform app. 



--
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-523) Running a simple NetBeans module fails

2018-03-26 Thread Boris Heithecker (JIRA)
Boris Heithecker created NETBEANS-523:
-

 Summary: Running a simple NetBeans module fails
 Key: NETBEANS-523
 URL: https://issues.apache.org/jira/browse/NETBEANS-523
 Project: NetBeans
  Issue Type: Bug
Reporter: Boris Heithecker


Create a platform suite and a module using the wizard, leaving default settings 
as they are. Add an action, also leaving suggested setting. Right-clicking 
"run" on the module fails for me with: 

"Cannot find java. Please use the --jdkhome switch.

Result: 2"

Note: I don't have a jdk in my system path environment. Jdk location is 
specified in "install-dir/etc/netbeans.conf".

Note 2: Setting the location of the jdk in "install-dir/harness/etc/app.conf" 
gives the same result.



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