[jira] [Commented] (NETBEANS-4475) Refactoring java file/class does not work

2020-06-20 Thread Helmut Leininger (Jira)


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

Helmut Leininger commented on NETBEANS-4475:


Additional info:

it works for several cases (e.g. the Anagram game). I could not make out the 
condition  zhat makes it fail. Maybe Gradle or multimoudule projects ?

> Refactoring java file/class does not work
> -
>
> Key: NETBEANS-4475
> URL: https://issues.apache.org/jira/browse/NETBEANS-4475
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.0
> Environment: NB 12.0, Windows 10, openjdk 14.0.1
>Reporter: Helmut Leininger
>Priority: Major
>
> I tried to copy and paste a java class file with refactoring.
> The new name for it is ignored and the new file gets a _1 _(__2, _3 ...) 
> appended to the original name. The contents of the file (class name) is not 
> changed at all.
>  



--
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-4475) Refactoring java file/class does not work

2020-06-20 Thread Helmut Leininger (Jira)
Helmut Leininger created NETBEANS-4475:
--

 Summary: Refactoring java file/class does not work
 Key: NETBEANS-4475
 URL: https://issues.apache.org/jira/browse/NETBEANS-4475
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring
Affects Versions: 12.0
 Environment: NB 12.0, Windows 10, openjdk 14.0.1
Reporter: Helmut Leininger


I tried to copy and paste a java class file with refactoring.

The new name for it is ignored and the new file gets a _1 _(__2, _3 ...) 
appended to the original name. The contents of the file (class name) is not 
changed at all.

 



--
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-2942) Gradle jvmargs are not inserted into distribution command script

2019-08-02 Thread Helmut Leininger (JIRA)
Helmut Leininger created NETBEANS-2942:
--

 Summary: Gradle jvmargs are not inserted into distribution command 
script
 Key: NETBEANS-2942
 URL: https://issues.apache.org/jira/browse/NETBEANS-2942
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: 11.0
 Environment: Gradle 5.5.1, Netbeans 11.1, openjdk12, Windows10
Reporter: Helmut Leininger
Assignee: Laszlo Kishalmi


build.gradle contains
{code:java}
run {
    jvmArgs(['--enable-preview'])
}{code}
This is taken into account when runnung from the IDE, but it is not inserted 
into the distribution (Zip file)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2941) Hint "convert rule to switch" not shown with Gradle - openjdk12 - --enable-preview

2019-08-02 Thread Helmut Leininger (JIRA)


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

Helmut Leininger updated NETBEANS-2941:
---
Summary: Hint "convert rule to switch" not shown with Gradle - openjdk12 - 
--enable-preview  (was: Hint "convert rule to switch" not shown with Gradle - 
Oopenjdk12 - --enable-preview)

> Hint "convert rule to switch" not shown with Gradle - openjdk12 - 
> --enable-preview
> --
>
> Key: NETBEANS-2941
> URL: https://issues.apache.org/jira/browse/NETBEANS-2941
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12
>Reporter: Helmut Leininger
>Assignee: Laszlo Kishalmi
>Priority: Minor
>  Labels: gradle, hints
>
> in the project's build.gradle are these specifications:
> {code:java}
> compileJava {
>     options.compilerArgs.addAll(['--enable-preview']) 
> }
> run {
>     jvmArgs(['--enable-preview'])
> }
>  
> {code}
> A program containing
> {code:java}
> switch (string) {
>      case"a123" -> System.out.println("a123");
>      ...
>  }{code}
> compiles and runs well in the IDE.
>  
> if "old" switch format like
> {code:java}
> switch (string) {
>      case "a123":  
>    System.out.println("a123");
>    break;
>      ...
>  }{code}
> is used, not hint
> {code:java}
> convert to rule switch{code}
> is shown
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2941) Hint "convert rule to switch" not shown with Gradle - Oopenjdk12 - --enable-preview

2019-08-02 Thread Helmut Leininger (JIRA)
Helmut Leininger created NETBEANS-2941:
--

 Summary: Hint "convert rule to switch" not shown with Gradle - 
Oopenjdk12 - --enable-preview
 Key: NETBEANS-2941
 URL: https://issues.apache.org/jira/browse/NETBEANS-2941
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: 11.0
 Environment: Gradle 5.5.1, Netbeans 11.1, Windows10, openjdk12
Reporter: Helmut Leininger
Assignee: Laszlo Kishalmi


in the project's build.gradle are these specifications:
{code:java}
compileJava {
    options.compilerArgs.addAll(['--enable-preview']) 
}

run {
    jvmArgs(['--enable-preview'])
}
 
{code}
A program containing
{code:java}
switch (string) {
     case"a123" -> System.out.println("a123");
     ...
 }{code}
compiles and runs well in the IDE.

 

if "old" switch format like
{code:java}
switch (string) {
     case "a123":  
   System.out.println("a123");
   break;
     ...
 }{code}
is used, not hint
{code:java}
convert to rule switch{code}

is shown

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2786) NullPointer Exception in Refactoring if Move or Copy

2019-07-05 Thread Helmut Leininger (JIRA)


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

Helmut Leininger updated NETBEANS-2786:
---
Attachment: messages.zip

> NullPointer Exception in Refactoring if Move or Copy 
> -
>
> Key: NETBEANS-2786
> URL: https://issues.apache.org/jira/browse/NETBEANS-2786
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 11.1
> Environment: Windows 10
> Java 12
> Netbeans 11.1 beta
>Reporter: Helmut Leininger
>Priority: Major
> Attachments: 2019-07-02 17_28_03-Window.png, messages.zip, 
> messages.zip
>
>
> java.lang.NullPointerException if Refactoring if a package or class should be 
> moved to another package !2019-07-02 17_28_03-Window.png![^messages.zip]



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

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

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



[jira] [Commented] (NETBEANS-2786) NullPointer Exception in Refactoring if Move or Copy

2019-07-05 Thread Helmut Leininger (JIRA)


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

Helmut Leininger commented on NETBEANS-2786:


Still present in beta 3[^messages.zip]

> NullPointer Exception in Refactoring if Move or Copy 
> -
>
> Key: NETBEANS-2786
> URL: https://issues.apache.org/jira/browse/NETBEANS-2786
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 11.1
> Environment: Windows 10
> Java 12
> Netbeans 11.1 beta
>Reporter: Helmut Leininger
>Priority: Major
> Attachments: 2019-07-02 17_28_03-Window.png, messages.zip, 
> messages.zip
>
>
> java.lang.NullPointerException if Refactoring if a package or class should be 
> moved to another package !2019-07-02 17_28_03-Window.png![^messages.zip]



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

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

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



[jira] [Updated] (NETBEANS-2786) NullPointer Exception in Refactoring if Move or Copy

2019-07-02 Thread Helmut Leininger (JIRA)


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

Helmut Leininger updated NETBEANS-2786:
---
Attachment: messages.zip
2019-07-02 17_28_03-Window.png

> NullPointer Exception in Refactoring if Move or Copy 
> -
>
> Key: NETBEANS-2786
> URL: https://issues.apache.org/jira/browse/NETBEANS-2786
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 11.1
> Environment: Windows 10
> Java 12
> Netbeans 11.1 beta
>Reporter: Helmut Leininger
>Priority: Major
> Attachments: 2019-07-02 17_28_03-Window.png, messages.zip
>
>
> java.lang.NullPointerException if Refactoring if a package or class should be 
> moved to another package !2019-07-02 17_28_03-Window.png![^messages.zip]



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

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

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



[jira] [Created] (NETBEANS-2786) NullPointer Exception in Refactoring if Move or Copy

2019-07-02 Thread Helmut Leininger (JIRA)
Helmut Leininger created NETBEANS-2786:
--

 Summary: NullPointer Exception in Refactoring if Move or Copy 
 Key: NETBEANS-2786
 URL: https://issues.apache.org/jira/browse/NETBEANS-2786
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring
Affects Versions: 11.1
 Environment: Windows 10
Java 12
Netbeans 11.1 beta
Reporter: Helmut Leininger


java.lang.NullPointerException if Refactoring if a package or class should be 
moved to another package !2019-07-02 17_28_03-Window.png![^messages.zip]



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

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

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



[jira] [Created] (NETBEANS-2711) Manual editing of FXML file causes Error / persistent question for certificate

2019-06-17 Thread Helmut Leininger (JIRA)
Helmut Leininger created NETBEANS-2711:
--

 Summary: Manual editing of FXML file causes Error / persistent 
question for certificate
 Key: NETBEANS-2711
 URL: https://issues.apache.org/jira/browse/NETBEANS-2711
 Project: NetBeans
  Issue Type: Bug
 Environment: Windows 10, Netbeans 11, opnejdk 12, openjfx 12, 
Scenebuilder 11
Reporter: Helmut Leininger
 Attachments: 2019-06-17 16_03_42-Window.png, 2019-06-17 
16_04_08-Window.png

When trying to do a manual edit of a FXML file (created by Scenbuilder), 
Netbeans tries to download something, then asks twice for accepting a 
certificate from Oracle, and issues to messages:

17.06.2019, 16:03:19 : Retrieving Location: http://javafx.com/javafx/11.0.1 
Error: An I/O error occured. readHandshakeRecord

The cerificates (although accepted) are not stored for later reuse.
Note: the FXML files contain
xmlns="http://javafx.com/javafx/11.0.1; xmlns:fx="http://javafx.com/fxml/1;

The application may be compiled and executed, though.



--
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-1081) Old icon in netbeans.exe VC3

2018-07-27 Thread Helmut Leininger (JIRA)
Helmut Leininger created NETBEANS-1081:
--

 Summary: Old icon in netbeans.exe VC3
 Key: NETBEANS-1081
 URL: https://issues.apache.org/jira/browse/NETBEANS-1081
 Project: NetBeans
  Issue Type: Bug
 Environment: Windows 10 64-bit
Reporter: Helmut Leininger


netbeans.exe still contains the old icon. Thisd should be replaced by the new 
one.



--
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-482) NoClassDefFoundError when trying to handle properties of JavaFX project

2018-06-24 Thread Helmut Leininger (JIRA)


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

Helmut Leininger commented on NETBEANS-482:
---

WFME in NB RC1

> NoClassDefFoundError when trying to handle properties of JavaFX project
> ---
>
> Key: NETBEANS-482
> URL: https://issues.apache.org/jira/browse/NETBEANS-482
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Property Editors
> Environment: Windows 10, 64-bit
> Java 9.0.4, an  Java 10
>Reporter: Helmut Leininger
>Priority: Critical
> Attachments: TestFX1.zip, messages.zip
>
>
> I installed Netbeans 9.0 from Apche incubating. Then, I ran the wizard to 
> cfreate a n application:
>  - New Project / JavaFX / JavaFX FXML application
> After the wizard has ebded, I tried to view / adapt the project properties:
>   -  right click on the project / Properties
> Then, click on "Run"
> --> Unexcpected Exception



--
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-482) NoClassDefFoundError when trying to handle properties of JavaFX project

2018-03-17 Thread Helmut Leininger (JIRA)

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

Helmut Leininger updated NETBEANS-482:
--
Attachment: messages.zip

> NoClassDefFoundError when trying to handle properties of JavaFX project
> ---
>
> Key: NETBEANS-482
> URL: https://issues.apache.org/jira/browse/NETBEANS-482
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Property Editors
> Environment: Windows 10, 64-bit
> Java 9.0.4, an  Java 10
>Reporter: Helmut Leininger
>Priority: Major
> Attachments: TestFX1.zip, messages.zip
>
>
> I installed Netbeans 9.0 from Apche incubating. Then, I ran the wizard to 
> cfreate a n application:
>  - New Project / JavaFX / JavaFX FXML application
> After the wizard has ebded, I tried to view / adapt the project properties:
>   -  right click on the project / Properties
> Then, click on "Run"
> --> Unexcpected Exception



--
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-262) JavaDoc can't be displayed in the browser

2018-02-16 Thread Helmut Leininger (JIRA)

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

Helmut Leininger commented on NETBEANS-262:
---

Problem still present in released Beta.
*Product Version:* Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-205-on-20180202)

*Java:* 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11

*Runtime:* Java(TM) SE Runtime Environment 9.0.4+11

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

*User directory:* C:\Users\hl\AppData\Roaming\NetBeans\beta

*Cache directory:* C:\Users\hl\AppData\Local\NetBeans\Cache\beta

> JavaDoc can't be displayed in the browser
> -
>
> Key: NETBEANS-262
> URL: https://issues.apache.org/jira/browse/NETBEANS-262
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-168-on-20180110)
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en (nb)
>Reporter: Thomas Kellerer
>Priority: Major
>
> When trying to display the JavaDocs for the class at the cursor location 
> ("Alt-F1") an exception is thrown:
> {noformat}java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>   at 
> org.netbeans.modules.extbrowser.FirefoxBrowser.createHtmlBrowserImpl(FirefoxBrowser.java:81)
>   at 
> org.netbeans.core.NbURLDisplayer.warmBrowserUp(NbURLDisplayer.java:100)
>   at org.netbeans.core.NbURLDisplayer.access$000(NbURLDisplayer.java:47)
>   at org.netbeans.core.NbURLDisplayer$1.run(NbURLDisplayer.java:59)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at org.netbeans.core.NbURLDisplayer.showURL(NbURLDisplayer.java:55)
>   at 
> org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:212)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:189)
>   at 
> org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:116)
>   at 
> org.netbeans.modules.editor.java.GoToSupport$2.run(GoToSupport.java:170)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> This is when using "Firefox" as the browser in the options dialog.
> When I try to configure the "Firefox" entry by clickin on "Edit" the 
> following exception is thrown:
> {noformat}java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.extbrowser.NbDdeBrowserImpl
>   at 
> org.netbeans.modules.extbrowser.SystemDefaultBrowser.defaultBrowserExecutable(SystemDefaultBrowser.java:144)
>   at 
> org.netbeans.modules.extbrowser.ExtWebBrowser.getBrowserExecutable(ExtWebBrowser.java:217)
> Caused: java.lang.reflect.InvocationTargetException
>   at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
>