[jira] [Commented] (NETBEANS-4620) NullPointerException - finding occurrences

2020-08-23 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4620:


Thanks for catching this and sorry for the inconvenience.

*Steps to reproduce*
 * Select longer text than "Find" text field length
 * Run Find([Ctrl] + [F])
 * Click any place in editor (clear selection)
 * Run Find([Ctrl] + [F])
 * NPE occurs

> NullPointerException - finding occurrences
> --
>
> Key: NETBEANS-4620
> URL: https://issues.apache.org/jira/browse/NETBEANS-4620
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1-beta1
> Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
> Runtime: Java(TM) SE Runtime Environment 12.0.2+10
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: Annotation 2020-07-23 115255.png, idelog-1.txt, 
> selfsampler.npss, uilog.xml
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Was testing 12.1 beta1 today, everything was great during my usual activity, 
> but then this happened. An exception icon has appeared and the IDE became 
> unresponsive for several minutes, not as much as to invoke the Windows' 
> WerFault dialog though, the mouse cursor has changed according to the area 
> (editor vs other UI), but I couldn't click anything, the UI appeared frozen 
> otherwise.
> I don't know if it's related to the update, but it didn't happen before.
> I was looking for text occurrences in a file (using Ctrl+F), then I must have 
> invoked some action shortcut by mistake because the content of the file have 
> changed - there used to be a normal assignment (disregard the editor cursor 
> position though, it has changed during my attempts to click anywhere):
> !Annotation 2020-07-23 115255.png!
> After some time the IDE became responsive again, but froze shortly after that 
> for some more time. It has been in such state until I closed it. By then it 
> has gradually consumed around 9 GB of RAM :)
> I was able to take a profiler snapshot and extract the exception details and 
> UI/IDE logs during the moments when the IDE was responsive, see the 
> attachments.
> Stack trace:
> {code}
> java.lang.NullPointerException at 
> java.desktop/javax.swing.text.JTextComponent.write(JTextComponent.java:1655) 
> at java.desktop/javax.swing.JEditorPane.getText(JEditorPane.java:1451) at 
> org.netbeans.modules.editor.search.SearchBar.showNumberOfMatches(SearchBar.java:1039)
>  at 
> org.netbeans.modules.editor.search.SearchBar$13.caretUpdate(SearchBar.java:502)
>  at 
> java.desktop/javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:412)
>  at 
> java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4489)
>  at 
> java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:4545)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6397) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
>  at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
>  at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at 
> java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at 
> java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
> java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
> 

[jira] [Created] (NETBEANS-4735) Detect Installed Java Platforms (SdkMan, Debian)

2020-08-23 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-4735:
-

 Summary: Detect Installed Java Platforms (SdkMan, Debian)
 Key: NETBEANS-4735
 URL: https://issues.apache.org/jira/browse/NETBEANS-4735
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Platform
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi


It would be good if the IDE would be able to detect system installed Java on 
it's boot time.



--
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-4734) BUG

2020-08-23 Thread Valeria Hidalgo (Jira)


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

Valeria Hidalgo updated NETBEANS-4734:
--
Description: 
When I try to run a Project, the following error appears:

 


  2020-08-17T22:09:03
  1597723743329
  3287
  1000
  2601
  
    java.lang.UnsupportedOperationException: command: clean, 
JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e153f83]
    
  org.netbeans.api.java.project.runner.JavaRunner
  execute
  303
  
${netBeansDir}modules/org-netbeans-modules-java-project-ui.jar
    
    
  org.netbeans.modules.maven.cos.CosChecker
  cleanGeneratedClassfiles
  293
  ${netBeansDir}modules/org-netbeans-modules-maven.jar
    
    
  org.netbeans.modules.maven.cos.CosChecker
  touchProject
  480
  ${netBeansDir}modules/org-netbeans-modules-maven.jar
    
    
  org.netbeans.modules.maven.cos.CosChecker
  checkRunConfig
  135
  ${netBeansDir}modules/org-netbeans-modules-maven.jar
    
    
  org.netbeans.modules.maven.execute.MavenCommandLineExecutor
  run
  215
  ${netBeansDir}modules/org-netbeans-modules-maven.jar
    
    
  org.netbeans.core.execution.RunClassThread
  run
  128
  ${netbeans.home}modules/org-netbeans-core-execution.jar
    
  
  2020-08-22T16:48:15
  1598136495071
  1420
  800
  70
  
localhost:4848::[C:\Users\Usuario\Payara_Server1\glassfish;C:\Users\Usuario\Payara_Server1\glassfish\domains\domain1]deployer:pfv5ee8:localhost:4848:::__locations?null
  
    java.net.SocketTimeoutException: Read timed out


> BUG
> ---
>
> Key: NETBEANS-4734
> URL: https://issues.apache.org/jira/browse/NETBEANS-4734
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Valeria Hidalgo
>Priority: Major
>
> When I try to run a Project, the following error appears:
>  
> 
>   2020-08-17T22:09:03
>   1597723743329
>   3287
>   1000
>   2601
>   
>     java.lang.UnsupportedOperationException: command: clean, 
> JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e153f83]
>     
>   org.netbeans.api.java.project.runner.JavaRunner
>   execute
>   303
>   
> ${netBeansDir}modules/org-netbeans-modules-java-project-ui.jar
>     
>     
>   org.netbeans.modules.maven.cos.CosChecker
>   cleanGeneratedClassfiles
>   293
>   ${netBeansDir}modules/org-netbeans-modules-maven.jar
>     
>     
>   org.netbeans.modules.maven.cos.CosChecker
>   touchProject
>   480
>   ${netBeansDir}modules/org-netbeans-modules-maven.jar
>     
>     
>   org.netbeans.modules.maven.cos.CosChecker
>   checkRunConfig
>   135
>   ${netBeansDir}modules/org-netbeans-modules-maven.jar
>     
>     
>   
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor
>   run
>   215
>   ${netBeansDir}modules/org-netbeans-modules-maven.jar
>     
>     
>   org.netbeans.core.execution.RunClassThread
>   run
>   128
>   ${netbeans.home}modules/org-netbeans-core-execution.jar
>     
>   https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-4734) BUG

2020-08-23 Thread Valeria Hidalgo (Jira)
Valeria Hidalgo created NETBEANS-4734:
-

 Summary: BUG
 Key: NETBEANS-4734
 URL: https://issues.apache.org/jira/browse/NETBEANS-4734
 Project: NetBeans
  Issue Type: Bug
Reporter: Valeria Hidalgo


When I try to run a Project, the following error appears: 

 


  2020-08-22T16:48:15
  1598136495071
  1420
  800
  70
  
localhost:4848::[C:\Users\Usuario\Payara_Server1\glassfish;C:\Users\Usuario\Payara_Server1\glassfish\domains\domain1]deployer:pfv5ee8:localhost:4848:::__locations?null
  
    java.net.SocketTimeoutException: Read timed out



--
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-4627) Background color of search result in Find Tasks Editor makes the text unreadable

2020-08-23 Thread Karl Tauber (Jira)


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

Karl Tauber reassigned NETBEANS-4627:
-

Assignee: Karl Tauber

> Background color of search result in Find Tasks Editor makes the text 
> unreadable
> 
>
> Key: NETBEANS-4627
> URL: https://issues.apache.org/jira/browse/NETBEANS-4627
> Project: NetBeans
>  Issue Type: Improvement
>  Components: FlatLaf
>Affects Versions: 12.0
> Environment: OS: Windows 10
>Reporter: KoKo
>Assignee: Karl Tauber
>Priority: Minor
> Attachments: image-2020-07-24-08-54-11-502.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
>  Switch to FlatLaf Dark Theme and
> 1. Create a Bugzilla Task Repository
> 2. Right click the repository you create and select Find Tasks... in context 
> menu
> 3. Set some search condition
> 4. Click Search button
>   !image-2020-07-24-08-54-11-502.png!
>  



--
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-4620) NullPointerException - finding occurrences

2020-08-23 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-4620:
--

Assignee: Junichi Yamamoto

> NullPointerException - finding occurrences
> --
>
> Key: NETBEANS-4620
> URL: https://issues.apache.org/jira/browse/NETBEANS-4620
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1-beta1
> Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
> Runtime: Java(TM) SE Runtime Environment 12.0.2+10
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: Annotation 2020-07-23 115255.png, idelog-1.txt, 
> selfsampler.npss, uilog.xml
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Was testing 12.1 beta1 today, everything was great during my usual activity, 
> but then this happened. An exception icon has appeared and the IDE became 
> unresponsive for several minutes, not as much as to invoke the Windows' 
> WerFault dialog though, the mouse cursor has changed according to the area 
> (editor vs other UI), but I couldn't click anything, the UI appeared frozen 
> otherwise.
> I don't know if it's related to the update, but it didn't happen before.
> I was looking for text occurrences in a file (using Ctrl+F), then I must have 
> invoked some action shortcut by mistake because the content of the file have 
> changed - there used to be a normal assignment (disregard the editor cursor 
> position though, it has changed during my attempts to click anywhere):
> !Annotation 2020-07-23 115255.png!
> After some time the IDE became responsive again, but froze shortly after that 
> for some more time. It has been in such state until I closed it. By then it 
> has gradually consumed around 9 GB of RAM :)
> I was able to take a profiler snapshot and extract the exception details and 
> UI/IDE logs during the moments when the IDE was responsive, see the 
> attachments.
> Stack trace:
> {code}
> java.lang.NullPointerException at 
> java.desktop/javax.swing.text.JTextComponent.write(JTextComponent.java:1655) 
> at java.desktop/javax.swing.JEditorPane.getText(JEditorPane.java:1451) at 
> org.netbeans.modules.editor.search.SearchBar.showNumberOfMatches(SearchBar.java:1039)
>  at 
> org.netbeans.modules.editor.search.SearchBar$13.caretUpdate(SearchBar.java:502)
>  at 
> java.desktop/javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:412)
>  at 
> java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4489)
>  at 
> java.desktop/javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:4545)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
>  at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6397) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
>  at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
>  at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at 
> java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at 
> java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
> java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at 
> 

[jira] [Commented] (NETBEANS-4623) NullPointerException in BasicTextUI.getPreferredSize

2020-08-23 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4623:


The cause seems my changes, sorry. I could reproduce NETBEANS-4620. So I 
created the [PR #2325|https://github.com/apache/netbeans/pull/2325] for it. I 
hope that it also fixes this. Sorry for the inconvenience...

> NullPointerException in BasicTextUI.getPreferredSize
> 
>
> Key: NETBEANS-4623
> URL: https://issues.apache.org/jira/browse/NETBEANS-4623
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1-beta3
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
> Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46
> System: Windows 10 version 10.0 running on amd64
>Reporter: Czukowski
>Assignee: Karl Tauber
>Priority: Major
> Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, 
> idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png
>
>
> Was testing 12.1 beta1 today, during my normal activity I noticed an error 
> icon in the status bar at the bottom. The IDE was responsive and everything 
> seemingly working so far.
> Upon clicking the icon, where the Notification panel would appear, only a 
> blank space appears instead of it. If I try to open a file from Project or 
> Files panels, similar things happen, editor tabs do open, but they are blank 
> and gray.
> Other IDE dialogs (that are not panels) can still be open without issues.
> The only way I've found to get rid of the issue is to restart the IDE. It did 
> happen a few times after that too, it wasn't clear which action has triggered 
> the issue.
>  !image-2020-07-23-14-53-04-101.png! 
> See the attachment for the IDE log, this error can be seen repeated there 
> multiple times.



--
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-4444) The selected text is not removed in the Find Combobox when text is input via IME

2020-08-23 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-:


[~DevCharly] Thank you for catching it. The cause seems to my change, sorry.

> The selected text is not removed in the Find Combobox when text is input via 
> IME
> 
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search
>Affects Versions: 12.0
> Environment: Ubuntu 20.04
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
> Attachments: find-combobox-with-ime.gif, find-combobox-without-ime.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> h2. Steps to reproduce
>  * Show the search bar [Ctrl] + [F]
>  * Input something
>  * Select all text
>  * Type something via IME
>  * Selected text is not removed
> h3. Without IME
> !find-combobox-without-ime.gif!
> h3. With IME
> !find-combobox-with-ime.gif!
>  
> I used the mozc as an IME: [https://github.com/google/mozc]



--
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] [Resolved] (NETBEANS-4656) Regression : Maven dependencies are not always refreshed

2020-08-23 Thread Mossroy (Jira)


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

Mossroy resolved NETBEANS-4656.
---
Resolution: Fixed

This appears to be fixed by an update proposed by the UI of Netbeans, upgrading 
the "Maven Projects" plugin, from 2.138 to 2.138.1

So, for anyone affected, just go to the Help menu, click "Check for updates", 
and install the updates.

Thanks for the fix!

> Regression : Maven dependencies are not always refreshed
> 
>
> Key: NETBEANS-4656
> URL: https://issues.apache.org/jira/browse/NETBEANS-4656
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
> Environment: Reproduced on 2 platforms :
> Windows 8.1, Java 11, Maven 3.3.9
> Ubuntu 20.04, Java 11, Maven 3.3.9
>Reporter: Mossroy
>Priority: Minor
>
> With a Maven project, if you define a dependency version in a property of a 
> parent module, changing this property in the parent module does not update 
> the dependencies in the GUI of the submodule. You need to restart Netbeans 
> for this change to be visible.
> It was working fine in Netbeans 11.0.
> Steps to reproduce :
>  * clone the test-case I uploaded on 
> [https://gitlab.com/mossroy/test-case-netbeans-maven-dependency-versions]
>  * open it and build it with Netbeans 12
>  * in the "projects" tab of Netbeans, open the child module, and see the 
> "dependencies" : there should be spring-core-5.2.8.RELEASE
>  * in the pom.xml of the parent module, change the spring.version property to 
> 5.2.7.RELEASE
>  * in the child module, in "dependencies", 5.2.8.RELEASE is still displayed. 
> It should have been changed to 5.2.7.RELEASE
> If the property is moved in the child module, it works fine.
> Workaround : restart NetBeans. Reloading the project is unfortunately not 
> enough.



--
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-4444) The selected text is not removed in the Find Combobox when text is input via IME

2020-08-23 Thread Karl Tauber (Jira)


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

Karl Tauber commented on NETBEANS-:
---

The fix for this issue seems to cause a regression.

See NETBEANS-4623.

https://issues.apache.org/jira/browse/NETBEANS-4623?focusedCommentId=17182666=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17182666

[~junichi11] could you have a look?

> The selected text is not removed in the Find Combobox when text is input via 
> IME
> 
>
> Key: NETBEANS-
> URL: https://issues.apache.org/jira/browse/NETBEANS-
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search
>Affects Versions: 12.0
> Environment: Ubuntu 20.04
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
> Attachments: find-combobox-with-ime.gif, find-combobox-without-ime.gif
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> h2. Steps to reproduce
>  * Show the search bar [Ctrl] + [F]
>  * Input something
>  * Select all text
>  * Type something via IME
>  * Selected text is not removed
> h3. Without IME
> !find-combobox-without-ime.gif!
> h3. With IME
> !find-combobox-with-ime.gif!
>  
> I used the mozc as an IME: [https://github.com/google/mozc]



--
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-4623) NullPointerException in BasicTextUI.getPreferredSize

2020-08-23 Thread Karl Tauber (Jira)


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

Karl Tauber commented on NETBEANS-4623:
---

Fix for NETBEANS- (PR [2188|https://github.com/apache/netbeans/pull/2188]) 
is probably responsible for this issue (and for NETBEANS-4620 too).

The {{NullPointerException}} in {{BasicTextUI.modelToView()}} (e.g. in attached 
idelog-3.txt) occurs within the property change listener added to 
{{SearchComboBoxEditor}} at in above PR [at line 
137|https://github.com/junichi11/netbeans/blob/a44b5b225f4cf1fc72a5a82416e58a0b7cde3fa9/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java#L137].

See {{SearchComboBoxEditor$3.propertyChange()}} in following stack (from 
idelog-3.txt):
{noformat}
java.lang.NullPointerException
at 
java.desktop/javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1104)
at 
java.desktop/javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1089)
at 
java.desktop/javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1065)
at 
org.netbeans.modules.editor.search.SearchComboBoxEditor$ManageViewPositionListener.changed(SearchComboBoxEditor.java:290)
at 
org.netbeans.modules.editor.search.SearchComboBoxEditor$ManageViewPositionListener.removeUpdate(SearchComboBoxEditor.java:277)
at 
org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:91)
at 
java.desktop/javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:261)
at 
org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1650)
at org.netbeans.editor.BaseDocument.handleRemove(BaseDocument.java:1022)
at 
org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(BaseDocument.java:2639)
at 
java.desktop/javax.swing.text.DocumentFilter.remove(DocumentFilter.java:79)
at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:935)
at 
org.netbeans.modules.editor.search.SearchComboBoxEditor$3.propertyChange(SearchComboBoxEditor.java:137)
at 
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at 
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
at 
java.desktop/java.awt.Component.firePropertyChange(Component.java:8728)
at 
java.desktop/javax.swing.text.JTextComponent.setCaret(JTextComponent.java:604)
at org.netbeans.editor.BaseTextUI.uninstallUI(BaseTextUI.java:251)
{noformat}
At this time field {{BasicTextUI.editor}} is {{null}} and causes the NPE. And 
the NPE in {{modelToView()}} prevents the installation of a new UI for the text 
component, which causes subsequent NPEs e.g. in 
{{BasicTextUI.getPreferredSize()}}.

> NullPointerException in BasicTextUI.getPreferredSize
> 
>
> Key: NETBEANS-4623
> URL: https://issues.apache.org/jira/browse/NETBEANS-4623
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1-beta3
> Java: 14.0.2; Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46
> Runtime: Java(TM) SE Runtime Environment 14.0.2+12-46
> System: Windows 10 version 10.0 running on amd64
>Reporter: Czukowski
>Assignee: Karl Tauber
>Priority: Major
> Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt, 
> idelog-6.txt, idelog-7.txt, idelog-8.txt, image-2020-07-23-14-53-04-101.png
>
>
> Was testing 12.1 beta1 today, during my normal activity I noticed an error 
> icon in the status bar at the bottom. The IDE was responsive and everything 
> seemingly working so far.
> Upon clicking the icon, where the Notification panel would appear, only a 
> blank space appears instead of it. If I try to open a file from Project or 
> Files panels, similar things happen, editor tabs do open, but they are blank 
> and gray.
> Other IDE dialogs (that are not panels) can still be open without issues.
> The only way I've found to get rid of the issue is to restart the IDE. It did 
> happen a few times after that too, it wasn't clear which action has triggered 
> the issue.
>  !image-2020-07-23-14-53-04-101.png! 
> See the attachment for the IDE log, this error can be seen repeated there 
> multiple times.



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

[jira] [Commented] (NETBEANS-4723) [FlatLaF] Graphical glitch with --nosplash

2020-08-23 Thread Karl Tauber (Jira)


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

Karl Tauber commented on NETBEANS-4723:
---

FlatLaf uses {{java.util.ServiceLoader.load()}} (in 
[FlatLaf.getDefaults()|https://github.com/JFormDesigner/FlatLaf/blob/d134c3349951ce263f47bd341cc1718c27a2042f/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java#L276])
 to load a service from the "FlatLaf Look and Feel" module, which adds NetBeans 
specific UI defaults.

{{ServiceLoader.load()}} uses the context class loader of the current thread to 
locate the service. The current thread is "AWT-EventQueue-0" when FlatLaf is 
initialized, independent of whether splash screen is shown or not.

Loading service works with splash screen because at this time the AWT thread 
context class loader is {{ModuleManager$SystemClassLoader}}, which finds the 
service in the module.

But with {{--nosplash}}, the AWT thread context class loader is 
{{MainImpl$BootClassLoader}}, which does not find the service because it does 
not know modules.

So why is the AWT thread context class loader not yet set when using 
{{--nosplash}}?

> [FlatLaF] Graphical glitch with --nosplash
> --
>
> Key: NETBEANS-4723
> URL: https://issues.apache.org/jira/browse/NETBEANS-4723
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf, ide - UI
>Reporter: Patrik Karlström
>Priority: Major
> Attachments: Screenshot_20200818_192802.png, 
> Screenshot_20200818_192917.png
>
>
> Starting a platform application, the IDE included, with the --nosplash 
> argument makes the application look a bit off, true for both FlatLaF Dark & 
> Light.
>  
> From what I can tell, this is only visible with FlatLaf.
>  
> Confirmed on the mailing list
> [https://lists.apache.org/thread.html/r8d5e5501a32ef70cc09c21d730d62919adb14663c5a8ed0d3efb7534%40%3Cdev.netbeans.apache.org%3E]
>  



--
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-4733) Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser than 1.11

2020-08-23 Thread Szabolcs Hodosi (Jira)


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

Szabolcs Hodosi updated NETBEANS-4733:
--
Description: 
Hi NetBeans Developers,

Can you please take a look on this issue ?

I assume somewhere an IF condition for relation is reversed or negated somehow 
because the error message is non-sense.

See attached screenshot I made under Debian 10.

  was:
Hi NetBeans Developers,

Can you please take a look on this issue ?

I assume somewhere an IF condition for relation is reversed or negated somehow 
because the error message is non-sense.

!image-2020-08-23-10-43-20-353.png!


> Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser than 1.11
> --
>
> Key: NETBEANS-4733
> URL: https://issues.apache.org/jira/browse/NETBEANS-4733
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Szabolcs Hodosi
>Priority: Major
> Attachments: NetBeans-JNA-version-bug.png
>
>
> Hi NetBeans Developers,
> Can you please take a look on this issue ?
> I assume somewhere an IF condition for relation is reversed or negated 
> somehow because the error message is non-sense.
> See attached screenshot I made under Debian 10.



--
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-4733) Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser than 1.11

2020-08-23 Thread Szabolcs Hodosi (Jira)
Szabolcs Hodosi created NETBEANS-4733:
-

 Summary: Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser 
than 1.11
 Key: NETBEANS-4733
 URL: https://issues.apache.org/jira/browse/NETBEANS-4733
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Szabolcs Hodosi
 Attachments: NetBeans-JNA-version-bug.png

Hi NetBeans Developers,

Can you please take a look on this issue ?

I assume somewhere an IF condition for relation is reversed or negated somehow 
because the error message is non-sense.

!image-2020-08-23-10-43-20-353.png!



--
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-4733) Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser than 1.11

2020-08-23 Thread Szabolcs Hodosi (Jira)


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

Szabolcs Hodosi updated NETBEANS-4733:
--
Attachment: NetBeans-JNA-version-bug.png

> Cannot update NetBeans 12.1 - JNA 2.3 is reported lesser than 1.11
> --
>
> Key: NETBEANS-4733
> URL: https://issues.apache.org/jira/browse/NETBEANS-4733
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Szabolcs Hodosi
>Priority: Major
> Attachments: NetBeans-JNA-version-bug.png
>
>
> Hi NetBeans Developers,
> Can you please take a look on this issue ?
> I assume somewhere an IF condition for relation is reversed or negated 
> somehow because the error message is non-sense.
> !image-2020-08-23-10-43-20-353.png!



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