[jira] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2228:


Is your JDK the same as your colleagues' version? If no, please try changing it.

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log, image-2019-08-06-08-10-34-290.png, 
> image-2019-08-06-08-11-02-507.png, image-2019-08-06-08-11-54-193.png
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger commented on NETBEANS-2228:


There are some screenshots:

!image-2019-08-06-08-10-34-290.png!

!image-2019-08-06-08-11-02-507.png!

This happens after choosing the 'Netbeans' profile.

The editor window is on the right side:

!image-2019-08-06-08-11-54-193.png!

 

I assume there is something special on my pc as my colleagues with the same 
basic setting do not have the problem. Perhaps any important files were corrupt 
while the update procedure?

 

Thank you for your help so far. I understand that you cannot fix something you 
can´t reproduce.

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log, image-2019-08-06-08-10-34-290.png, 
> image-2019-08-06-08-11-02-507.png, image-2019-08-06-08-11-54-193.png
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



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

[jira] [Updated] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger updated NETBEANS-2228:
---
Attachment: image-2019-08-06-08-11-54-193.png

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log, image-2019-08-06-08-10-34-290.png, 
> image-2019-08-06-08-11-02-507.png, image-2019-08-06-08-11-54-193.png
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger updated NETBEANS-2228:
---
Attachment: image-2019-08-06-08-11-02-507.png

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log, image-2019-08-06-08-10-34-290.png, 
> image-2019-08-06-08-11-02-507.png, image-2019-08-06-08-11-54-193.png
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger updated NETBEANS-2228:
---
Attachment: image-2019-08-06-08-10-34-290.png

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log, image-2019-08-06-08-10-34-290.png
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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-2961) Cannot create java projects

2019-08-05 Thread JIRA


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

Juan Muñoz updated NETBEANS-2961:
-
 Attachment: image-2019-08-05-21-43-49-414.png
 image-2019-08-05-21-44-16-343.png
Description: 
Netbeans doesn't allow to create any java application
Notifies: Called DataObject.find on null


  was:Netbeans doesn't allow to create any java application


!image-2019-08-05-21-44-16-343.png!

> Cannot create java projects
> ---
>
> Key: NETBEANS-2961
> URL: https://issues.apache.org/jira/browse/NETBEANS-2961
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.0
> Environment: Open JDK 12.0.2
> Windows 10
>Reporter: Juan Muñoz
>Priority: Major
> Attachments: image-2019-08-05-21-43-49-414.png, 
> image-2019-08-05-21-44-16-343.png
>
>
> Netbeans doesn't allow to create any java application
> Notifies: Called DataObject.find on null



--
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-2961) Cannot create java projects

2019-08-05 Thread JIRA
Juan Muñoz created NETBEANS-2961:


 Summary: Cannot create java projects
 Key: NETBEANS-2961
 URL: https://issues.apache.org/jira/browse/NETBEANS-2961
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Maven
Affects Versions: 11.0
 Environment: Open JDK 12.0.2
Windows 10
Reporter: Juan Muñoz


Netbeans doesn't allow to create any java application



--
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] [Commented] (NETBEANS-2714) NetBeans gradle support does not recognize new subproject creation

2019-08-05 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2714:
--

You got it: NETBEANS-2960

> NetBeans gradle support does not recognize new subproject creation
> --
>
> Key: NETBEANS-2714
> URL: https://issues.apache.org/jira/browse/NETBEANS-2714
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Shevek
>Priority: Major
>
> If I switch git branches or otherwise cause a new subproject to appear in a 
> gradle project, NetBeans does not recognize that.
> I gather new NB watches the build.gradle(s) for changes, but it appears to 
> miss this one.
> This is a fairly common use case - the old gradle plugin did NOT watch for 
> changes, and one had to do a manual reload. The new gradle plugin does watch 
> for changes, and there is no reload option, so the only way to see a new 
> subproject is to restart the whole IDE (grrr, again).



--
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-2960) Need a force reload action for Gradle projects

2019-08-05 Thread Travis (JIRA)
Travis created NETBEANS-2960:


 Summary: Need a force reload action for Gradle projects
 Key: NETBEANS-2960
 URL: https://issues.apache.org/jira/browse/NETBEANS-2960
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Reporter: Travis
Assignee: Laszlo Kishalmi


I have a multi-project gradle build with a settings.gradle implementation that 
auto-detects the subprojects.  So whenever a subproject gets 
added/removed/renamed (either directly, or as the result of a git branch 
checkout), the root project build.gradle and settings.gradle do not need to be 
modified at all.

Currently, the gradle support assumes that projects only need to be reloaded 
when build.gradle or settings.gradle change, but my build breaks this 
assumption.

So the behavior in my case is that I am not even able to manually browse to a 
new subproject and open it, until after I make a meaningless edit to 
build.gradle or settings.gradle.  The new subproject folder is not even 
recognized as a gradle project in the "open project" dialog until I have 
touched one of those files.

This behavior is broken.  Ideally, projects that come and go would 
automatically get noticed, and the IDE would update immediately.  But assuming 
that's non-trivial to implement, it would be acceptable to simply add a 
manually-triggerable "force project reload" action somewhere in the GUI, so 
that the user can get back into a good state without the need to touch any 
files.

 

Thanks!



--
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-2960) Need a force reload action for Gradle projects

2019-08-05 Thread Travis (JIRA)


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

Travis updated NETBEANS-2960:
-
Affects Version/s: 11.1
   11.0

> Need a force reload action for Gradle projects
> --
>
> Key: NETBEANS-2960
> URL: https://issues.apache.org/jira/browse/NETBEANS-2960
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0, 11.1
>Reporter: Travis
>Assignee: Laszlo Kishalmi
>Priority: Minor
>
> I have a multi-project gradle build with a settings.gradle implementation 
> that auto-detects the subprojects.  So whenever a subproject gets 
> added/removed/renamed (either directly, or as the result of a git branch 
> checkout), the root project build.gradle and settings.gradle do not need to 
> be modified at all.
> Currently, the gradle support assumes that projects only need to be reloaded 
> when build.gradle or settings.gradle change, but my build breaks this 
> assumption.
> So the behavior in my case is that I am not even able to manually browse to a 
> new subproject and open it, until after I make a meaningless edit to 
> build.gradle or settings.gradle.  The new subproject folder is not even 
> recognized as a gradle project in the "open project" dialog until I have 
> touched one of those files.
> This behavior is broken.  Ideally, projects that come and go would 
> automatically get noticed, and the IDE would update immediately.  But 
> assuming that's non-trivial to implement, it would be acceptable to simply 
> add a manually-triggerable "force project reload" action somewhere in the 
> GUI, so that the user can get back into a good state without the need to 
> touch any files.
>  
> Thanks!



--
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] [Commented] (NETBEANS-2714) NetBeans gradle support does not recognize new subproject creation

2019-08-05 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2714:
---

[~Furrer] would you create another ticket to have a force reload on Gradle 
Project, that would be a quite simple addition.

This issue is also tackles some NetBeans core project manager dependencies. If 
the IDE is needed to be rebooted on switching branches, that's not a good sign. 
I guess some cache needs to be invalidated in such times.

> NetBeans gradle support does not recognize new subproject creation
> --
>
> Key: NETBEANS-2714
> URL: https://issues.apache.org/jira/browse/NETBEANS-2714
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Shevek
>Priority: Major
>
> If I switch git branches or otherwise cause a new subproject to appear in a 
> gradle project, NetBeans does not recognize that.
> I gather new NB watches the build.gradle(s) for changes, but it appears to 
> miss this one.
> This is a fairly common use case - the old gradle plugin did NOT watch for 
> changes, and one had to do a manual reload. The new gradle plugin does watch 
> for changes, and there is no reload option, so the only way to see a new 
> subproject is to restart the whole IDE (grrr, again).



--
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] [Commented] (NETBEANS-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2959:
-

What does “it still needs to be part of the New Project” mean?

It would be best if you’d do this kind of testing and commenting during the 
NetCAT process rather than after it’s been released. But if you do have issues, 
please, make separate issues and not all your comments in one issue, and try 
and make them as clear as possible.

When the call goes out in September for participating in checking and trying 
things out for 11.2, please do participate and don’t wait for after 11.2 has 
been released.

> Mavem pom.xml file for JavaFX projects is pre-Java 11
> -
>
> Key: NETBEANS-2959
> URL: https://issues.apache.org/jira/browse/NETBEANS-2959
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javafx - Project
>Affects Versions: 11.1
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 11.1
>
>
> As of Java 11 the JavaFX library is no longer part of the Java distribution. 
> When such a Maven project is selected the pom.xml file contains references to 
> the FX library pre-1.8 as well as the currently in limbo javafxpackager 
> (renamed to javapackager), This needs to be updated as soon as possible, The 
> New Project list could contain JavaFX Project up to Java 10 and JavaFX 
> Project from Java 11 and up. For my courses that start in two weeks I will 
> add an archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Kenneth Fogel (JIRA)


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

Kenneth Fogel commented on NETBEANS-2959:
-

Got it. Somehow, obviously my fault, my shortcut was running 11.0 and not 11.1, 
I can see OpenJavaFX in Samples. It still needs to be part of the New Project. 
I may also suggest a change to the pom file after I do some more testing.

Ken




> Mavem pom.xml file for JavaFX projects is pre-Java 11
> -
>
> Key: NETBEANS-2959
> URL: https://issues.apache.org/jira/browse/NETBEANS-2959
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javafx - Project
>Affects Versions: 11.1
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 11.1
>
>
> As of Java 11 the JavaFX library is no longer part of the Java distribution. 
> When such a Maven project is selected the pom.xml file contains references to 
> the FX library pre-1.8 as well as the currently in limbo javafxpackager 
> (renamed to javapackager), This needs to be updated as soon as possible, The 
> New Project list could contain JavaFX Project up to Java 10 and JavaFX 
> Project from Java 11 and up. For my courses that start in two weeks I will 
> add an archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2959:
-

In 11.1 go to the Samples category in the New Project dialog and choose 
OpenJFX. Not JavaFX.

> Mavem pom.xml file for JavaFX projects is pre-Java 11
> -
>
> Key: NETBEANS-2959
> URL: https://issues.apache.org/jira/browse/NETBEANS-2959
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javafx - Project
>Affects Versions: 11.1
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 11.1
>
>
> As of Java 11 the JavaFX library is no longer part of the Java distribution. 
> When such a Maven project is selected the pom.xml file contains references to 
> the FX library pre-1.8 as well as the currently in limbo javafxpackager 
> (renamed to javapackager), This needs to be updated as soon as possible, The 
> New Project list could contain JavaFX Project up to Java 10 and JavaFX 
> Project from Java 11 and up. For my courses that start in two weeks I will 
> add an archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Kenneth Fogel (JIRA)


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

Kenneth Fogel commented on NETBEANS-2959:
-

Sorry, it does not work. I tried a few of the samples for a New Project from 
Samples/JavaFX and I received the following error and the project could not be 
created. I'm using Java 12.

"The JDK you are using does not support JavaFX.."

Ken




> Mavem pom.xml file for JavaFX projects is pre-Java 11
> -
>
> Key: NETBEANS-2959
> URL: https://issues.apache.org/jira/browse/NETBEANS-2959
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javafx - Project
>Affects Versions: 11.1
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 11.1
>
>
> As of Java 11 the JavaFX library is no longer part of the Java distribution. 
> When such a Maven project is selected the pom.xml file contains references to 
> the FX library pre-1.8 as well as the currently in limbo javafxpackager 
> (renamed to javapackager), This needs to be updated as soon as possible, The 
> New Project list could contain JavaFX Project up to Java 10 and JavaFX 
> Project from Java 11 and up. For my courses that start in two weeks I will 
> add an archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2959:
-

Can you use the OpenJFX samples in 11.1, please? They’re in the New Project 
dialog under Samples.

> Mavem pom.xml file for JavaFX projects is pre-Java 11
> -
>
> Key: NETBEANS-2959
> URL: https://issues.apache.org/jira/browse/NETBEANS-2959
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javafx - Project
>Affects Versions: 11.1
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 11.1
>
>
> As of Java 11 the JavaFX library is no longer part of the Java distribution. 
> When such a Maven project is selected the pom.xml file contains references to 
> the FX library pre-1.8 as well as the currently in limbo javafxpackager 
> (renamed to javapackager), This needs to be updated as soon as possible, The 
> New Project list could contain JavaFX Project up to Java 10 and JavaFX 
> Project from Java 11 and up. For my courses that start in two weeks I will 
> add an archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2958) Upgrading from NB 8.2 to 11.1 won't load j2ee projects

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2958:
-

Also appears to be a problem with references to GlassFish 4 and Prelude 3, take 
a look in the log.txt you attached for these.

> Upgrading from NB 8.2 to 11.1  won't load j2ee projects
> ---
>
> Key: NETBEANS-2958
> URL: https://issues.apache.org/jira/browse/NETBEANS-2958
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: >Log Session: Monday, August 5, 2019 11:38:50 AM PDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 
> 25.201-b09; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_201-b09
>   Java Home   = C:\Program Files\Java\jdk1.8.0_201\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\kkrasnowsky
>   Current Directory   = C:\Program Files\NetBeans-11.1
>   User Directory  = C:\Users\kkrasnowsky\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\kkrasnowsky\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Program Files\NetBeans-11.1\netbeans\nb
>Reporter: Karl Krasnowsky
>Priority: Major
> Attachments: netbeansidelog.txt
>
>
> Attempt to migrate from netbeans 8.2 to 11.1 failed when trying to load 
> preexisting j2ee projects;
>  
> I've attached a copy of the IDE Log that was generated from this event, not 
> sure if or how I'm supposed to report the UI Log so I'll just leave that 
> until a request is made.



--
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] [Commented] (NETBEANS-2958) Upgrading from NB 8.2 to 11.1 won't load j2ee projects

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2958:
-

In your error messages it looks like you don’t have nb-javac installed. Can you 
restart with a fresh user directory and install nb-javac when prompted?

> Upgrading from NB 8.2 to 11.1  won't load j2ee projects
> ---
>
> Key: NETBEANS-2958
> URL: https://issues.apache.org/jira/browse/NETBEANS-2958
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: >Log Session: Monday, August 5, 2019 11:38:50 AM PDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 
> 25.201-b09; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_201-b09
>   Java Home   = C:\Program Files\Java\jdk1.8.0_201\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\kkrasnowsky
>   Current Directory   = C:\Program Files\NetBeans-11.1
>   User Directory  = C:\Users\kkrasnowsky\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\kkrasnowsky\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Program Files\NetBeans-11.1\netbeans\nb
>Reporter: Karl Krasnowsky
>Priority: Major
> Attachments: netbeansidelog.txt
>
>
> Attempt to migrate from netbeans 8.2 to 11.1 failed when trying to load 
> preexisting j2ee projects;
>  
> I've attached a copy of the IDE Log that was generated from this event, not 
> sure if or how I'm supposed to report the UI Log so I'll just leave that 
> until a request is made.



--
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-2959) Mavem pom.xml file for JavaFX projects is pre-Java 11

2019-08-05 Thread Kenneth Fogel (JIRA)
Kenneth Fogel created NETBEANS-2959:
---

 Summary: Mavem pom.xml file for JavaFX projects is pre-Java 11
 Key: NETBEANS-2959
 URL: https://issues.apache.org/jira/browse/NETBEANS-2959
 Project: NetBeans
  Issue Type: Improvement
  Components: javafx - Project
Affects Versions: 11.1
Reporter: Kenneth Fogel
 Fix For: 11.1


As of Java 11 the JavaFX library is no longer part of the Java distribution. 
When such a Maven project is selected the pom.xml file contains references to 
the FX library pre-1.8 as well as the currently in limbo javafxpackager 
(renamed to javapackager), This needs to be updated as soon as possible, The 
New Project list could contain JavaFX Project up to Java 10 and JavaFX Project 
from Java 11 and up. For my courses that start in two weeks I will add an 
archetype for my students but this should be resolved soon.



--
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] [Commented] (NETBEANS-2958) Upgrading from NB 8.2 to 11.1 won't load j2ee projects

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2958:
-

How are you using Metro? Just trying to understand your use case.

> Upgrading from NB 8.2 to 11.1  won't load j2ee projects
> ---
>
> Key: NETBEANS-2958
> URL: https://issues.apache.org/jira/browse/NETBEANS-2958
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: >Log Session: Monday, August 5, 2019 11:38:50 AM PDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 
> 25.201-b09; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_201-b09
>   Java Home   = C:\Program Files\Java\jdk1.8.0_201\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\kkrasnowsky
>   Current Directory   = C:\Program Files\NetBeans-11.1
>   User Directory  = C:\Users\kkrasnowsky\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\kkrasnowsky\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Program Files\NetBeans-11.1\netbeans\nb
>Reporter: Karl Krasnowsky
>Priority: Major
> Attachments: netbeansidelog.txt
>
>
> Attempt to migrate from netbeans 8.2 to 11.1 failed when trying to load 
> preexisting j2ee projects;
>  
> I've attached a copy of the IDE Log that was generated from this event, not 
> sure if or how I'm supposed to report the UI Log so I'll just leave that 
> until a request is made.



--
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-2958) Upgrading from NB 8.2 to 11.1 won't load j2ee projects

2019-08-05 Thread Karl Krasnowsky (JIRA)


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

Karl Krasnowsky updated NETBEANS-2958:
--
Summary: Upgrading from NB 8.2 to 11.1  won't load j2ee projects  (was: 
Upgrading from NB 8.2 to 11.1  won't load j233 projects)

> Upgrading from NB 8.2 to 11.1  won't load j2ee projects
> ---
>
> Key: NETBEANS-2958
> URL: https://issues.apache.org/jira/browse/NETBEANS-2958
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: >Log Session: Monday, August 5, 2019 11:38:50 AM PDT
> >System Info: 
>   Product Version = Apache NetBeans IDE 11.1
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 
> 25.201-b09; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_201-b09
>   Java Home   = C:\Program Files\Java\jdk1.8.0_201\jre
>   System Locale; Encoding = en_US (nb); Cp1252
>   Home Directory  = C:\Users\kkrasnowsky
>   Current Directory   = C:\Program Files\NetBeans-11.1
>   User Directory  = C:\Users\kkrasnowsky\AppData\Roaming\NetBeans\11.1
>   Cache Directory = 
> C:\Users\kkrasnowsky\AppData\Local\NetBeans\Cache\11.1
>   Installation= C:\Program Files\NetBeans-11.1\netbeans\nb
>Reporter: Karl Krasnowsky
>Priority: Major
> Attachments: netbeansidelog.txt
>
>
> Attempt to migrate from netbeans 8.2 to 11.1 failed when trying to load 
> preexisting j2ee projects;
>  
> I've attached a copy of the IDE Log that was generated from this event, not 
> sure if or how I'm supposed to report the UI Log so I'll just leave that 
> until a request is made.



--
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-2958) Upgrading from NB 8.2 to 11.1 won't load j233 projects

2019-08-05 Thread Karl Krasnowsky (JIRA)
Karl Krasnowsky created NETBEANS-2958:
-

 Summary: Upgrading from NB 8.2 to 11.1  won't load j233 projects
 Key: NETBEANS-2958
 URL: https://issues.apache.org/jira/browse/NETBEANS-2958
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
 Environment: >Log Session: Monday, August 5, 2019 11:38:50 AM PDT
>System Info: 
  Product Version = Apache NetBeans IDE 11.1
  Operating System= Windows 10 version 10.0 running on amd64
  Java; VM; Vendor= 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 
25.201-b09; Oracle Corporation
  Runtime = Java(TM) SE Runtime Environment 1.8.0_201-b09
  Java Home   = C:\Program Files\Java\jdk1.8.0_201\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory  = C:\Users\kkrasnowsky
  Current Directory   = C:\Program Files\NetBeans-11.1
  User Directory  = C:\Users\kkrasnowsky\AppData\Roaming\NetBeans\11.1
  Cache Directory = 
C:\Users\kkrasnowsky\AppData\Local\NetBeans\Cache\11.1
  Installation= C:\Program Files\NetBeans-11.1\netbeans\nb
Reporter: Karl Krasnowsky
 Attachments: netbeansidelog.txt

Attempt to migrate from netbeans 8.2 to 11.1 failed when trying to load 
preexisting j2ee projects;

 

I've attached a copy of the IDE Log that was generated from this event, not 
sure if or how I'm supposed to report the UI Log so I'll just leave that until 
a request is made.



--
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] [Commented] (NETBEANS-2957) Netbeans freeze after completing write

2019-08-05 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2957:
-

Any file at all? Or a specific file type? Can you use a more recent JDK and 
11.1 instead of 11.0 to see if that helps?

> Netbeans freeze after completing write
> --
>
> Key: NETBEANS-2957
> URL: https://issues.apache.org/jira/browse/NETBEANS-2957
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment:   Product Version = Apache NetBeans IDE 11.0 
> (Build incubator-netbeans-release-404-on-20190319)
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 
> 25.212-b10; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10
>   Java Home   = C:\Program Files\Java\jdk1.8.0_212\jre
>Reporter: Daniel Adams
>Priority: Major
>
> Periodic freezing of netbeans after writing a file.  No error reported in log 
> or ui.  UI still shows file as modified.  Saved with ctrl-s.
> (Logs pasted in doc/text area as unable to attach)



--
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-2957) Netbeans freeze after completing write

2019-08-05 Thread Daniel Adams (JIRA)


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

Daniel Adams updated NETBEANS-2957:
---
Description: 
Periodic freezing of netbeans after writing a file.  No error reported in log 
or ui.  UI still shows file as modified.  Saved with ctrl-s.

(Logs pasted in doc/text area as unable to attach)

  was:
Periodic freezing of netbeans after writing a file.  No error reported in log 
or ui.

(Logs pasted in doc/text area as unable to attach)


> Netbeans freeze after completing write
> --
>
> Key: NETBEANS-2957
> URL: https://issues.apache.org/jira/browse/NETBEANS-2957
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment:   Product Version = Apache NetBeans IDE 11.0 
> (Build incubator-netbeans-release-404-on-20190319)
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 
> 25.212-b10; Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10
>   Java Home   = C:\Program Files\Java\jdk1.8.0_212\jre
>Reporter: Daniel Adams
>Priority: Major
>
> Periodic freezing of netbeans after writing a file.  No error reported in log 
> or ui.  UI still shows file as modified.  Saved with ctrl-s.
> (Logs pasted in doc/text area as unable to attach)



--
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-2957) Netbeans freeze after completing write

2019-08-05 Thread Daniel Adams (JIRA)
Daniel Adams created NETBEANS-2957:
--

 Summary: Netbeans freeze after completing write
 Key: NETBEANS-2957
 URL: https://issues.apache.org/jira/browse/NETBEANS-2957
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
 Environment: 
  Product Version = Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
  Operating System= Windows 10 version 10.0 running on amd64
  Java; VM; Vendor= 1.8.0_212; Java HotSpot(TM) 64-Bit Server VM 
25.212-b10; Oracle Corporation
  Runtime = Java(TM) SE Runtime Environment 1.8.0_212-b10
  Java Home   = C:\Program Files\Java\jdk1.8.0_212\jre

Reporter: Daniel Adams


Periodic freezing of netbeans after writing a file.  No error reported in log 
or ui.

(Logs pasted in doc/text area as unable to attach)



--
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] [Commented] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-05 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2953:
-

Additional Information:
Error seems to be in RunTimeDDCatalog which gets initialized without setting 
displayNameKey variable. Might be something wrong with layer.xml.

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
> 

[jira] [Updated] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-05 Thread Travis (JIRA)


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

Travis updated NETBEANS-2956:
-
Affects Version/s: 11.1
   11.0

> NullPointerException during Import Classes operation after pasting Java code 
> into Editor
> 
>
> Key: NETBEANS-2956
> URL: https://issues.apache.org/jira/browse/NETBEANS-2956
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Project is being built using OpenJDK 12
> Same on Windows 10 and Linux
> Same when Netbeans is running on either JDK 8 or OpenJDK 12
> Same on Netbeans 11.0 and Netbeans 11.1
> Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
> was working fine with the same project when it was built on JDK 8.  We 
> recently updated to JDK 12 and this problem appeared immediately at that time.
>  
> The problem happens reliably whenever I copy-paste code from one file to 
> another, and the code requires several imports to be added to the destination 
> file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
> button there, I immediately get the NullPointerException shown below.  After 
> the exception, the code is still pasted, but the necessary import lines do 
> not get added.  Furthermore, manually running "Source:Fix Imports..." 
> afterward also fails to add the necessary imports.
> This bug makes the IDE pretty unusable for ongoing development work.  This is 
> forcing me and others on my team, sadly, to use a different IDE for now, as 
> we have found no workaround yet.
>  
> java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
>  at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)
>  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.open

[jira] [Updated] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-05 Thread Travis (JIRA)


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

Travis updated NETBEANS-2956:
-
Component/s: java - Source

> NullPointerException during Import Classes operation after pasting Java code 
> into Editor
> 
>
> Key: NETBEANS-2956
> URL: https://issues.apache.org/jira/browse/NETBEANS-2956
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Project is being built using OpenJDK 12
> Same on Windows 10 and Linux
> Same when Netbeans is running on either JDK 8 or OpenJDK 12
> Same on Netbeans 11.0 and Netbeans 11.1
> Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
> was working fine with the same project when it was built on JDK 8.  We 
> recently updated to JDK 12 and this problem appeared immediately at that time.
>  
> The problem happens reliably whenever I copy-paste code from one file to 
> another, and the code requires several imports to be added to the destination 
> file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
> button there, I immediately get the NullPointerException shown below.  After 
> the exception, the code is still pasted, but the necessary import lines do 
> not get added.  Furthermore, manually running "Source:Fix Imports..." 
> afterward also fails to add the necessary imports.
> This bug makes the IDE pretty unusable for ongoing development work.  This is 
> forcing me and others on my team, sadly, to use a different IDE for now, as 
> we have found no workaround yet.
>  
> java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
>  at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)
>  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.ja

[jira] [Assigned] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-05 Thread Travis (JIRA)


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

Travis reassigned NETBEANS-2956:


Assignee: ARUNAVA SINHA

> NullPointerException during Import Classes operation after pasting Java code 
> into Editor
> 
>
> Key: NETBEANS-2956
> URL: https://issues.apache.org/jira/browse/NETBEANS-2956
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Project is being built using OpenJDK 12
> Same on Windows 10 and Linux
> Same when Netbeans is running on either JDK 8 or OpenJDK 12
> Same on Netbeans 11.0 and Netbeans 11.1
> Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
> Gradle 5.5
>Reporter: Travis
>Assignee: ARUNAVA SINHA
>Priority: Major
>
> I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
> was working fine with the same project when it was built on JDK 8.  We 
> recently updated to JDK 12 and this problem appeared immediately at that time.
>  
> The problem happens reliably whenever I copy-paste code from one file to 
> another, and the code requires several imports to be added to the destination 
> file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
> button there, I immediately get the NullPointerException shown below.  After 
> the exception, the code is still pasted, but the necessary import lines do 
> not get added.  Furthermore, manually running "Source:Fix Imports..." 
> afterward also fails to add the necessary imports.
> This bug makes the IDE pretty unusable for ongoing development work.  This is 
> forcing me and others on my team, sadly, to use a different IDE for now, as 
> we have found no workaround yet.
>  
> java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
>  at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)
>  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

[jira] [Commented] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-05 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2956:
--

By the way, I cannot share my source because it is proprietary.  I do not know 
if this problem only happens under certain cases, depending on exactly what 
source is being pasted.  I didn't spend time doing experiments to try to narrow 
down exactly when this exception does/doesn't happen.

> NullPointerException during Import Classes operation after pasting Java code 
> into Editor
> 
>
> Key: NETBEANS-2956
> URL: https://issues.apache.org/jira/browse/NETBEANS-2956
> Project: NetBeans
>  Issue Type: Bug
> Environment: Project is being built using OpenJDK 12
> Same on Windows 10 and Linux
> Same when Netbeans is running on either JDK 8 or OpenJDK 12
> Same on Netbeans 11.0 and Netbeans 11.1
> Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
> was working fine with the same project when it was built on JDK 8.  We 
> recently updated to JDK 12 and this problem appeared immediately at that time.
>  
> The problem happens reliably whenever I copy-paste code from one file to 
> another, and the code requires several imports to be added to the destination 
> file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
> button there, I immediately get the NullPointerException shown below.  After 
> the exception, the code is still pasted, but the necessary import lines do 
> not get added.  Furthermore, manually running "Source:Fix Imports..." 
> afterward also fails to add the necessary imports.
> This bug makes the IDE pretty unusable for ongoing development work.  This is 
> forcing me and others on my team, sadly, to use a different IDE for now, as 
> we have found no workaround yet.
>  
> java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
>  at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)
>  at org.openide.util.RequestPr

[jira] [Created] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-05 Thread Travis (JIRA)
Travis created NETBEANS-2956:


 Summary: NullPointerException during Import Classes operation 
after pasting Java code into Editor
 Key: NETBEANS-2956
 URL: https://issues.apache.org/jira/browse/NETBEANS-2956
 Project: NetBeans
  Issue Type: Bug
 Environment: Project is being built using OpenJDK 12

Same on Windows 10 and Linux
Same when Netbeans is running on either JDK 8 or OpenJDK 12
Same on Netbeans 11.0 and Netbeans 11.1
Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
Gradle 5.5
Reporter: Travis


I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
was working fine with the same project when it was built on JDK 8.  We recently 
updated to JDK 12 and this problem appeared immediately at that time.

 

The problem happens reliably whenever I copy-paste code from one file to 
another, and the code requires several imports to be added to the destination 
file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
button there, I immediately get the NullPointerException shown below.  After 
the exception, the code is still pasted, but the necessary import lines do not 
get added.  Furthermore, manually running "Source:Fix Imports..." afterward 
also fails to add the necessary imports.

This bug makes the IDE pretty unusable for ongoing development work.  This is 
forcing me and others on my team, sadly, to use a different IDE for now, as we 
have found no workaround yet.

 

java.lang.NullPointerException
 at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
 at org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
 at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
 at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
 at org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
 at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
 at 
org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
 at 
org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
 at 
org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
 at 
org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
 at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
 at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
 at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
 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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
 at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
 at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
 at 
org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
 at 
org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
 at 
org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.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-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-05 Thread Travis (JIRA)


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

Travis updated NETBEANS-2938:
-
Component/s: (was: java - Source)

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Minor
> Attachments: tiny-netbeans-gradle-demo-project.zip
>
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  [catch] at 
> org.netbean

[jira] [Closed] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-05 Thread Travis (JIRA)


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

Travis closed NETBEANS-2938.

Resolution: Not A Problem

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Minor
> Attachments: tiny-netbeans-gradle-demo-project.zip
>
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  [catch] at 
> org.netbeans.modules.pars

[jira] [Assigned] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-05 Thread Travis (JIRA)


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

Travis reassigned NETBEANS-2938:


Assignee: (was: ARUNAVA SINHA)

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Minor
> Attachments: tiny-netbeans-gradle-demo-project.zip
>
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcess

[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-05 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2938:
--

All of this happened when I was using the older Gradle plugin.  I tried 
uninstalling that, and re-installing the default Netbeans 11.1 plugins, and 
this problem went away.

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Assignee: ARUNAVA SINHA
>Priority: Minor
> Attachments: tiny-netbeans-gradle-demo-project.zip
>
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.im

[jira] [Commented] (NETBEANS-2714) NetBeans gradle support does not recognize new subproject creation

2019-08-05 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2714:
--

My multi-project has this same problem.  In my case, the settings.gradle is 
written using the trick so that it does not have to explicitly list all 
subprojects.  So when I switch branches, or when a subproject 
appears/disappears for any other reason, the settings.gradle naturally remains 
unchanged.  I wasn't even able to manually browse to a new subproject and open 
it without making a meaninless edit in settings.gradle.  The subproject's 
folder was not even recognized as a gradle project until I touched 
settings.gradle.

 

So I don't think requiring changes to build.gradle or settings.gradle in order 
to load new subprojects is a good feature.  Please do add a manual way to force 
project reload in the GUI, without touching any files.

> NetBeans gradle support does not recognize new subproject creation
> --
>
> Key: NETBEANS-2714
> URL: https://issues.apache.org/jira/browse/NETBEANS-2714
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Shevek
>Priority: Major
>
> If I switch git branches or otherwise cause a new subproject to appear in a 
> gradle project, NetBeans does not recognize that.
> I gather new NB watches the build.gradle(s) for changes, but it appears to 
> miss this one.
> This is a fairly common use case - the old gradle plugin did NOT watch for 
> changes, and one had to do a manual reload. The new gradle plugin does watch 
> for changes, and there is no reload option, so the only way to see a new 
> subproject is to restart the whole IDE (grrr, again).



--
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-2955) Menu font is ways too big on a HiDPI monitor

2019-08-05 Thread John Walker (JIRA)
John Walker created NETBEANS-2955:
-

 Summary: Menu font is ways too big on a HiDPI monitor
 Key: NETBEANS-2955
 URL: https://issues.apache.org/jira/browse/NETBEANS-2955
 Project: NetBeans
  Issue Type: Bug
 Environment: 3840x2160 monitor, Ubuntu 18.04, Unity-desktop, "Scale 
for menu and title bars" is set to 1.88
Reporter: John Walker
 Attachments: Screenshot from 2019-08-05 21-33-18.png, Screenshot from 
2019-08-05 21-34-47.png, Screenshot from 2019-08-05 21-36-49.png

Hi There,

My setup is: 3840x2160 monitor, Ubuntu 18.04, Unity-desktop, "Scale for menu 
and title bars" is set to 1.88. 

The netbeans font size of menus, Project Explorer etc is enormously huge.

This unexpected growth of size happens when I move the scaling ratio from 1.38 
to 1.5. 

I have already tried everything I was able to find on the topic, only switching 
from GTK+ worked. Please advice on how I can fix it.



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



[netbeans-mavenutils-nb-repository-plugin] branch master updated: Try to make README up to date with current Apache NetBeans

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 9803976  Try to make README up to date with current Apache NetBeans
9803976 is described below

commit 98039762da58ecd627425336e4442a8ff93864b9
Author: Eric Barboni 
AuthorDate: Mon Aug 5 17:31:23 2019 +0200

Try to make README up to date with current Apache NetBeans
---
 README.md | 22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index a974ec5..4d6715b 100755
--- a/README.md
+++ b/README.md
@@ -19,40 +19,34 @@
 
 -->
 
-#Apache NetBeans Repository plugin
+# Apache NetBeans Repository plugin
 
-The plugin is capable of populating the local or remote maven repository with 
module jars and NBM files from a given NetBeans installation. Useful for
+The plugin is capable of populating the local or remote maven repository with 
module jars and NBM files from a given Apache NetBeans installation. Useful for
 module development, modules with public APIs are separated from those without 
a public API.
 See the `populate` goal.
 
- To get access to a repository with NetBeans.org module artifacts and 
metadata, add 
[http://bits.netbeans.org/maven2/](http://bits.netbeans.org/maven2/) repository 
to your project POM
-or the repository manager you are using. The repository hosts binaries of 
NetBeans 6.5 and later.
-
- Also see: [Maven NBM development 
FAQs](http://wiki.netbeans.org/NetBeansDeveloperFAQ#Mavenized_Builds)
+ Also see: [Building from 
source](http://netbeans.apache.org/download/dev/index.html)
  
 ## HOWTO: Upload NetBeans release binaries to a Maven repository
 
 There is a `populate` goal that converts the NetBeans module information into 
Maven metadata
 and is capable of uploading the module jar file, javadoc, sources and nbm 
files to local
-and remote repositories. 
+and remote repositories.
 
-For a binary-only upload (jar files and nbm files only), it's possible to 
download the bits from official sites. See below for URLs.
+For a binary-only upload (jar files and nbm files only), it's possible to 
download the bits from official sites.
 
 For the complete upload, you will need to checkout the sources of the 
IDE/Platform you
-want to upload. See this FAQ entry on [HowTo checkout sources from 
Hg](http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial)
+want to upload. See this page [Building from 
source](http://netbeans.apache.org/download/dev/index.html)
 
 
  The goal has multiple input parameters that link the goal to binaries 
prepared beforehand.
 
 * `netbeansInstallDirectory` designates the base directory where resides the 
NetBeans installation
-that shall be uploaded. It can be either [downloaded as 
zip](http://www.netbeans.org/downloads/index.html) or built from sources.
+that shall be uploaded.
 Run `ant` in your local hg clone to build the distribution at 
`nbbuild/netbeans` sundirectory.
 
 * `netbeansNbmDirectory` designates the base directory where the nbm files are 
located.
-Run `ant build-nbms` in your local `hg clone` to build the nbms at 
`nbbuild/nbms` directory or download it from the
-[http://updates.netbeans.org/netbeans](http://updates.netbeans.org/netbeans) 
space eg.
-final *6.5* version at 
[http://updates.netbeans.org/netbeans/*6.5*/final/uc/](http://updates.netbeans.org/netbeans/6.5/final/uc/).
-Use a tool like `wget` to download the complete directory tree to a directory 
designated by the `netbeansNbmDirectory` parameter.
+Run `ant build-nbms` in your local `hg clone` to build the nbms at 
`nbbuild/nbms` directory.
 
 * `netbeansSourcesDirectory` designates the base directory containing zip 
files with module jar sources.
 Run `ant build-source-zips` in your local hg clone to build the nbms at 
`nbbuild/build/source-zips` directory.


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

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



[netbeans-jenkins-lib] branch master updated: Add pollSCM

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

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new fdaa74b  Add pollSCM
fdaa74b is described below

commit fdaa74b7a046c39a9f6d42a4a88dcf8242ed8b93
Author: Eric Barboni 
AuthorDate: Mon Aug 5 17:11:42 2019 +0200

Add pollSCM
---
 vars/asfStandardBuild.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index 81b1176..5d19fb1 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -45,6 +45,9 @@ def call(Map params = [:]) {
 
 pipeline {
 agent any
+   triggers {
+  pollSCM('H/5 * * * * ')
+   }
 stages{
 stage("Build"){
 agent { node { label 'ubuntu' } }


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

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



[netbeans-mavenutils-nbm-shared] 01/02: cleanup gitignore

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-shared.git

commit 366ba2339e327d896a157c31a9f9b1470c005f52
Author: Eric Barboni 
AuthorDate: Mon Aug 5 16:32:31 2019 +0200

cleanup gitignore
---
 .gitignore | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3bb462b..6dd1416 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,3 @@
 /target/
 /nbactions.xml
-/nbm-maven-plugin/target/
-/nb-repository-plugin/target/
-/nbm-shared/target/
-/nbm-maven-harness/target/
-/archetype/nbm-archetype/target/
-/archetype/nbm-suite-root/target/
-/archetype/netbeans-platform-app-archetype/target/
-/parent/target/
-/webskin/target/
-/netbeansparent/target/
\ No newline at end of file
+/nb-configuration.xml
\ No newline at end of file


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

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



[netbeans-mavenutils-nbm-shared] branch master updated (3495a5a -> 887a53c)

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

skygo pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-shared.git.


from 3495a5a  [maven-release-plugin] prepare for next development iteration
 new 366ba23  cleanup gitignore
 new 887a53c  description change

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore | 11 +--
 pom.xml|  2 +-
 2 files changed, 2 insertions(+), 11 deletions(-)


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

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



[netbeans-mavenutils-nbm-shared] 02/02: description change

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-shared.git

commit 887a53c6bbf18b47b0a446c6488668a18953c9fc
Author: Eric Barboni 
AuthorDate: Mon Aug 5 16:32:45 2019 +0200

description change
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index dfd52bb..f15a23d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@ under the License.
 jar
 
 Apache NetBeans Maven Utilities - NBM Shared lib Plugins 
Utilities
-Maven plugin for creating Maven Repository out of a Apache 
NetBeans installation (and other sources) for consumption by the projects using 
nbm-maven-plugin.
+Library used by nb-repository-plugin and nbm-maven-plugin to 
help building Apache NetBeans installation (and other sources).
 
 2005
 http://bits.netbeans.org/mavenutilities/nb-shared


-
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-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2228:


Thanks! Unfortunately, I can't reproduce it in my environment(although it is 
Linux).
*Product Version:* NetBeans IDE 8.2 (Build 201609300101)
***Java:* 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08
*Runtime:* Java(TM) SE Runtime Environment 1.8.0_202-b08
*System:* Linux version 4.16.0-041600-generic running on amd64; UTF-8;

It would be nice if you attach some screenshots.

BTW, we can't fix it for NetBeans 8.2 even if we can reproduce it in NetBeans 
8.2. 

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



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



[netbeans-mavenutils-nb-repository-plugin] 02/02: Documentation update

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git

commit dabc3f856314166fc5ffc04f65ffdac1bb9c5cf5
Author: Eric Barboni 
AuthorDate: Mon Aug 5 16:18:43 2019 +0200

Documentation update
---
 .../nbm/repository/PopulateRepositoryMojo.java   | 13 +++--
 src/site/apt/index.apt   |  8 ++--
 src/site/apt/repository.apt  | 20 +---
 3 files changed, 22 insertions(+), 19 deletions(-)

diff --git 
a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java 
b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
index 2df5b2f..d033023 100644
--- 
a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
+++ 
b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
@@ -94,13 +94,14 @@ import org.codehaus.plexus.util.StringUtils;
  * A goal for identifying NetBeans modules from the installation and 
populating the local
  * repository with them. Optionally you can also deploy to a remote repository.
  * 
- * If you are looking for an existing remote repository for NetBeans 
artifacts, check out
+ * If you are looking for an existing remote repository for NetBeans 
artifacts, check out https://search.maven.org/";>Maven Central. 
  * http://bits.netbeans.org/nexus/content/groups/netbeans/";>http://bits.netbeans.org/nexus/content/groups/netbeans/,
- * it contains API artifacts for multiple releases.
- * http://bits.netbeans.org/netbeans/trunk/maven-snapshot/";>http://bits.netbeans.org/netbeans/trunk/maven-snapshot/
- * may also be used for SNAPSHOT artifacts if you wish to test 
development builds.
- * 
- * See this http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/repository.html";>HOWTO
 on how to generate the NetBeans binaries required
+ * contains contains API artifacts for older NetBeans releases.
+ * https://repository.apache.org/content/groups/snapshots";>https://repository.apache.org/content/groups/snapshots
+ * may also be used for dev-SNAPSHOT artifacts if you wish to 
test development builds.
+ * 
+ * 
+ * See this HOWTO on how to generate the 
NetBeans binaries required
  * by this goal.
  * 
  *
diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt
index b9da158..5b5a4e2 100644
--- a/src/site/apt/index.apt
+++ b/src/site/apt/index.apt
@@ -29,8 +29,12 @@ NetBeans Repository plugin
 module development, modules with public APIs are separated from those without 
a public API.
 See the {{{./populate-mojo.html}<<>>}} goal and the 
{{{./repository.html}HOWTO document}} for details.
 
- To get access to a repository with NetBeans.org module artifacts and 
metadata, add 
{{{http://bits.netbeans.org/maven2/}http://bits.netbeans.org/maven2/}} 
repository to your project POM
-or the repository manager you are using. The repository hosts binaries of 
NetBeans 6.5 and later.
+ {{{https://search.maven.org/}Maven Central}} contains artefacts of Apache 
NetBeans 9.0 and later.
 
  Also see: 
{{{http://wiki.netbeans.org/NetBeansDeveloperFAQ#Mavenized_Builds}Maven NBM 
development FAQs}}
 
+Older NetBeans Version
+
+ To get access to a repository with NetBeans.org module artifacts and 
metadata, add 
{{{http://bits.netbeans.org/maven2/}http://bits.netbeans.org/maven2/}} 
repository to your project POM
+or the repository manager you are using. The repository hosts binaries from 
NetBeans 6.5 to NetBeans 8.2.
+
diff --git a/src/site/apt/repository.apt b/src/site/apt/repository.apt
index 66a64b1..4aa9a1c 100644
--- a/src/site/apt/repository.apt
+++ b/src/site/apt/repository.apt
@@ -30,9 +30,11 @@ HOWTO: Upload NetBeans release binaries to a Maven repository
 and is capable of uploading the module jar file, javadoc, sources and nbm 
files to local
 and remote repositories. See {{{./populate-mojo.html}<<>> goal}} 
description.
 
- For a binary-only upload (jar files and nbm files only), it's possible to 
download the bits from official sites. See below for URLs.
-For the complete upload, you will need to checkout the sources of the 
IDE/Platform you
-want to upload. See this FAQ entry on 
{{{http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial}HowTo checkout 
sources from Hg}}
+ For a binary-only upload (jar files and nbm files only), it's possible to 
download the bits from official sites. 
+See this page {{{http://netbeans.apache.org/download/dev/index.html}Building 
from source}}
+
+ For the complete upload, you will need to checkout the sources of the 
IDE/Platform you
+want to upload. See this page 
{{{http://netbeans.apache.org/download/dev/index.html}Building from source}}
 
  To have external dependencies correctly identified by their real GAV, you 
will need to download the index from central (or other) repository. 
 See {{{./download-mojo.html}<<>> goal}}
@@ -40,19 +42,15 @@ See {{{./do

[netbeans-mavenutils-nb-repository-plugin] 01/02: gitignore cleanup

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git

commit 7d634637963b01bb1dbc9f4abe9c69f36ffba792
Author: Eric Barboni 
AuthorDate: Mon Aug 5 16:18:18 2019 +0200

gitignore cleanup
---
 .gitignore | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3bb462b..6dd1416 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,3 @@
 /target/
 /nbactions.xml
-/nbm-maven-plugin/target/
-/nb-repository-plugin/target/
-/nbm-shared/target/
-/nbm-maven-harness/target/
-/archetype/nbm-archetype/target/
-/archetype/nbm-suite-root/target/
-/archetype/netbeans-platform-app-archetype/target/
-/parent/target/
-/webskin/target/
-/netbeansparent/target/
\ No newline at end of file
+/nb-configuration.xml
\ No newline at end of file


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

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



[netbeans-mavenutils-nb-repository-plugin] branch master updated (ccf0601 -> dabc3f8)

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

skygo pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git.


from ccf0601  Add repositoryId parameter to allow configuration
 new 7d63463  gitignore cleanup
 new dabc3f8  Documentation update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore   | 11 +--
 .../nbm/repository/PopulateRepositoryMojo.java   | 13 +++--
 src/site/apt/index.apt   |  8 ++--
 src/site/apt/repository.apt  | 20 +---
 4 files changed, 23 insertions(+), 29 deletions(-)


-
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-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger commented on NETBEANS-2228:


Preferences:
 * Netbeans 8.2
 * Win 7 64Bit
 * OpenJDK 8.0.212.04 (Hotspot)
 * another Fonts & Colors profile than 'Netbeans' is used

Steps to reproduce
 # Open a file in the Netbeans editor
 # Open the Fonts & Colors Options Window (Tools -> Options -> Fonts & Colors)
 # Change the profile to 'Netbeans'
 # Do not close the Options Window yet

That happens on my system:
 * Immediately after changing the profile, the Category list on the Syntax tab 
is cleared. In some cases, it is still filled, but the Color ComboBoxes on the 
right side are not editable any more after selecting a category
 * After changing to the Highlighting tab, the Category list on this tab is 
empty, too
 * Other tabs in the Fonts & Colors area seem to be working

Further steps:
 # apply the settings
 # close the options window
 # restart Netbeans (it still shows weird behaviour: the editor pane has lost 
every color, navigation panels are broken when selected)
 # open the IDE log
 # try to open a source code file

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)




[netbeans-mavenutils-nbm-maven-plugin] 01/02: remove useless gitignore entry

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git

commit da614b51ff9219af0dd29ac5453365006e4694e6
Author: Eric Barboni 
AuthorDate: Mon Aug 5 15:49:08 2019 +0200

remove useless gitignore entry
---
 .gitignore | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3bb462b..41d77da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,2 @@
 /target/
-/nbactions.xml
-/nbm-maven-plugin/target/
-/nb-repository-plugin/target/
-/nbm-shared/target/
-/nbm-maven-harness/target/
-/archetype/nbm-archetype/target/
-/archetype/nbm-suite-root/target/
-/archetype/netbeans-platform-app-archetype/target/
-/parent/target/
-/webskin/target/
-/netbeansparent/target/
\ No newline at end of file
+/nb-configuration.xml
\ No newline at end of file


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

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



[netbeans-mavenutils-nbm-maven-plugin] branch master updated (5388fdb -> d41cedc)

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

skygo pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git.


from 5388fdb  [maven-release-plugin] prepare for next development iteration
 new da614b5  remove useless gitignore entry
 new d41cedc  put Old repository at the end + Apache NetBeans

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore|  12 +-
 src/site/apt/index.apt.vm | 102 +++---
 2 files changed, 53 insertions(+), 61 deletions(-)


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

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



[netbeans-mavenutils-nbm-maven-plugin] 02/02: put Old repository at the end + Apache NetBeans

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

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git

commit d41cedc58477e7e37d9dc0bd31bdf7ebc840bd15
Author: Eric Barboni 
AuthorDate: Mon Aug 5 15:49:37 2019 +0200

put Old repository at the end + Apache NetBeans
---
 src/site/apt/index.apt.vm | 102 +++---
 1 file changed, 52 insertions(+), 50 deletions(-)

diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index e88303d..a09bc21 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -25,15 +25,12 @@
 
 NetBeans Module plugin
 
- This m2 plugin is able to create NetBeans module(plugin) artifacts. It 
registers a new packaging type <<>>. Any project with
+ This Apache Maven plugin is able to create Apache NetBeans module(plugin) 
artifacts. It registers a new packaging type <<>>. Any project with
 this packaging will be automatically turned into a NetBeans module project. 
Additionally it allows to create clusters of modules, generate
 an autoupdate site content or build and assemble an application on top of 
NetBeans platform.
 
  Note: The <<>> goal has been moved to it's own 
plugin {{{../nb-repository-plugin/index.html}nb-repository-plugin}}.
 
- To get access to a repository with NetBeans.org module artifacts and 
metadata, add 
{{{http://bits.netbeans.org/maven2/}http://bits.netbeans.org/maven2/}} 
repository to your project POM
-or the repository manager you are using. The repository hosts binaries of 
NetBeans 6.5 and later.
-
  Also see: 
{{{http://wiki.netbeans.org/NetBeansDeveloperFAQ#Mavenized_Builds}Maven NBM 
development FAQs}}
 
  Sample <<>> excerpts for creation of a NetBeans module:
@@ -68,22 +65,7 @@ or the repository manager you are using. The repository 
hosts binaries of NetBea
 
 
   
-
- 
-
-
-
-netbeans
-repository hosting netbeans.org api artifacts
-http://bits.netbeans.org/maven2/
-
-true
-
-
-false
-
-
-
+   
 +-+
 
  To build the project then, just type
@@ -93,13 +75,13 @@ mvn install
 
+---+
 
 
-Maven Dependency vs. NetBeans runtime dependency
+Maven Dependency vs. Apache NetBeans runtime dependency
 
- There are important differences between Maven's dependency mechanism and 
NetBeans runtime dependencies.
-Maven's dependencies are transitive, so at compile time you get not only 
direct dependencies you declared, but also
+ There are important differences between Maven's dependency mechanism and 
Apache NetBeans runtime dependencies.
+Apache Maven's dependencies are transitive, so at compile time you get not 
only direct dependencies you declared, but also
 dependencies of dependencies etc. In NetBeans, the module dependencies are 
non-transitive by nature, you have to explicitly declare all at runtime.
 Additionally next to module dependencies there are also library jars attached 
and shipped with the module's main artifact.
-In the NetBeans terminology there is a special sort of modules called "library 
wrappers". These library wrappers
+In the Apache NetBeans terminology there is a special sort of modules called 
"library wrappers". These library wrappers
 add the libraries on the module's classpath and allow other modules to depend 
on the libraries within the IDE's runtime.
 
  The ways in which the nbm-maven-plugin tries to adress these issues has 
changed over time.
@@ -107,11 +89,11 @@ add the libraries on the module's classpath and allow 
other modules to depend on
  The plugin walks the dependency tree to detect and identify module 
dependencies
 and classpath libraries.
 
-  A maven dependency is turned into a NetBeans runtime dependency when:
+  An Apache Maven dependency is turned into a Apache NetBeans runtime 
dependency when:
 
-* for NetBeans module dependencies (dependency jars that have the NetBeans 
specific entries in META-INF/MANIFEST.MF)
+* for Apache NetBeans module dependencies (dependency jars that have the 
Apache NetBeans specific entries in <<>>)
 
-* It's a direct dependency (non-transitive) and is a NetBeans module 
itself. Preferred way of declaring
+* It's a direct dependency (non-transitive) and is a Apache NetBeans 
module itself. Preferred way of declaring
 module dependencies. 
 
 * It's defined in existing (though optional) module.xml file in 
<<>> section.
@@ -141,9 +123,9 @@ If the classes depend on declared module dependency's 
private classes or on tran
 the build fails. That should prevent ClassNotFoundException's later at 
runtime, when the NetBeans module
 system constructs the classpath for the module based on our metadata generated.
 
-Using OSGi bundles in NetBeans platform based a

[jira] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2228:


[~and-mai] Could you please write your exact steps to reproduce it?

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger commented on NETBEANS-2228:


Hi [~junichi11], thank you for your advice. I already tried these things 
before. Deleting the user directory worked for a short time, because my scheme 
setting was changed by this action. After re-changing to the 'netbeans' scheme 
by hand, I had the problem again.

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2228:


Please try deleting your user and cache directories for your NB version(e.g. 
11.1) if possible. NOTE: Your settings are initialized if you delete your user 
directory.

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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] [Comment Edited] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger edited comment on NETBEANS-2228 at 8/5/19 11:51 AM:
-

I´m also struggling with this after updating to Netbeans 8.2 and OpenJDK 
8.0.212.04 (Hotspot).

I also imported external options which include the 'netbeans' color scheme. In 
my old setting, I used the 'netbeans 5.5' schme.

My 'netbeans' color scheme seems to be broken. The profile tabs are either 
empty or not editable.

The IDE log message states the known NPE.

The only thing that worked for me was to change the color scheme backc to 
'netbeans 5.5'. Any other solutions did not work.

Unfortunately, I´m not able to use a newer version of Netbeans.

System: Win 7 64Bit

 

Please tell me if you need further information


was (Author: and-mai):
I´m also struggling with this after updating to Netbeans 8.2 and OpenJDK 
8.0.212.04 (Hotspot). My 'netbeans' color scheme seems to be broken. The 
profile tabs are either empty or not editable.

The IDE log message states the known NPE.

The only thing that worked for me was to change the color scheme. Any other 
solutions did not work.

Unfortunately, I´m not able to use a newer version of Netbeans.

System: Win 7 64Bit

 

Please tell me if you need further information

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(E

[jira] [Commented] (NETBEANS-2228) Got NPE opening a file from PHP project

2019-08-05 Thread Andrea Mairegger (JIRA)


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

Andrea Mairegger commented on NETBEANS-2228:


I´m also struggling with this after updating to Netbeans 8.2 and OpenJDK 
8.0.212.04 (Hotspot). My 'netbeans' color scheme seems to be broken. The 
profile tabs are either empty or not editable.

The IDE log message states the known NPE.

The only thing that worked for me was to change the color scheme. Any other 
solutions did not work.

Unfortunately, I´m not able to use a newer version of Netbeans.

System: Win 7 64Bit

 

Please tell me if you need further information

> Got NPE opening a file from PHP project
> ---
>
> Key: NETBEANS-2228
> URL: https://issues.apache.org/jira/browse/NETBEANS-2228
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Windows 10
>Reporter: Renato Moutinho Silva
>Priority: Major
> Attachments: ide.log
>
>
> Was working on a PHP project without any issues. However, after closing 
> netbeans and starting it again, I started getting the NPE below on any file I 
> try to open:
> java.lang.NullPointerException
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:350)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:365)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:228)
>     at 
> org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:284)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at 
> org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:286)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addNotify(Container.java:2773)
>     at javax.swing.JComponent.addNotify(JComponent.java:4740)
>     at java.awt.Container.addImpl(Container.java:1121)
>     at java.awt.Container.add(Container.java:973)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
>     at 
> org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
> [catch] at 
> org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
>     at 
> org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
>     at 
> org.openide.text.CloneableEditorInitializer$1.run(CloneableEditorInitializer.java:84)
>     at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1551)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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-2954) Tabs dragging errors on scaled Windows desktop

2019-08-05 Thread Eugene Pliskin (JIRA)
Eugene Pliskin created NETBEANS-2954:


 Summary: Tabs dragging errors on scaled Windows desktop
 Key: NETBEANS-2954
 URL: https://issues.apache.org/jira/browse/NETBEANS-2954
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 11.0, 11.1
 Environment: Windows 10, desktop scale 125%
Reporter: Eugene Pliskin


On Windows 10 having desktop scaled to 125% I experience difficulties dragging 
tabs of two or more opened source files in NetBeans editor. Often cannot move 
the second source tab before the first tab. It looks like the dragged red tab 
outlines are not aligned with actual tabs widths. At 100% desktop scale the 
problem is not experienced.



--
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-2480) Not a usual UTF8 question!

2019-08-05 Thread Eugene Pliskin (JIRA)


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

Eugene Pliskin updated NETBEANS-2480:
-
Affects Version/s: 11.1
  Description: 
Non-ASCII characters completely filtered out of Gradle error messages, despite 
"netbeans_default_options" key in "netbeans.conf" file containing 
"-J-Dfile.encoding=UTF-8" clause.
  
 Attached are two build logs of the same Groovy source file with intentional 
error in it.
  
 1) NetBeans version 8.2 CORRECTLY reports an error:
 [Static type checking] - The variable [параметры] is undeclared.
  @ line 72, column 38.
    def платформы = rv.Платформы(параметры)
     ^
 2) While NetBeans versions 11.0 and 11.1 completely filteres out all non-ascii 
letters:
 [Static type checking] - The variable [] is undeclared.
  @ line 72, column 38.
    def  = rv.()
     ^
  
 Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS: 
-Dfile.encoding=UTF-8".
  
 Note also that outside of NetBeans this Gradle command:
  
     gradlew -x check build > a 2>&1
  
 produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
  

  was:
Non-ASCII characters completely filtered out of Gradle error messages, despite 
"netbeans_default_options" key in "netbeans.conf" file containing 
"-J-Dfile.encoding=UTF-8" clause.
  
Attached are two build logs of the same Groovy source file with intentional 
error in it.
  
 1) NetBeans version 8.2 CORRECTLY reports an error:
 [Static type checking] - The variable [параметры] is undeclared.
  @ line 72, column 38.
    def платформы = rv.Платформы(параметры)
     ^
 2) While NetBeans version 11.0 completely filteres out all non-ascii letters:
 [Static type checking] - The variable [] is undeclared.
  @ line 72, column 38.
    def  = rv.()
     ^
  
 Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS: 
-Dfile.encoding=UTF-8".
  
 Note also that outside of NetBeans this Gradle command:
  
     gradlew -x check build > a 2>&1
  
 produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
  


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



--
This message was sent by Atlassian JIRA
(v7.6.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] [Assigned] (NETBEANS-2906) Parsing of some Java source files fails under Windows

2019-08-05 Thread Heiko Wenzel (JIRA)


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

Heiko Wenzel reassigned NETBEANS-2906:
--

Assignee: Geertjan Wielenga

> Parsing of some Java source files fails under Windows
> -
>
> Key: NETBEANS-2906
> URL: https://issues.apache.org/jira/browse/NETBEANS-2906
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
>Reporter: Heiko Wenzel
>Assignee: Geertjan Wielenga
>Priority: Critical
> Attachments: exception.txt
>
>
> To see the bug:
> Open a java source File i.e. "javafx.scene.control.TableCell" with menu 
> action "File/open File"
> If you do so, you will see, that you get an exception and in the Netbeans 
> Navigator Tab (Ctrl-7) is nothing to see.
> The bigger problem is, that you cannot find and open these classes with 
> context menu "Navigate/ Goto Source" and the Javadoc also cannot display.
> But, if you do this in Linux - It works!
> Other Examples which work:
> javafx.beans.property.SimpleObjectProperty;
> javafx.beans.value.ChangeListener;
> and work not:
> javafx.application.Platform;
> javafx.scene.control.ScrollBar;
>  



--
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] [Closed] (NETBEANS-2483) Break points for maven based RCP module do not work property

2019-08-05 Thread Oliver Kleen (JIRA)


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

Oliver Kleen closed NETBEANS-2483.
--
Resolution: Fixed

The problem is no longer reproducible based on netbeans 11.1.

> Break points for maven based RCP module do not work property
> 
>
> Key: NETBEANS-2483
> URL: https://issues.apache.org/jira/browse/NETBEANS-2483
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 11.0
> Environment: java version "1.8.0_172"
> Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
> CentOS Orthogon Linux release 7.2.1511
> Kernel 3.10.0-327.el7.x86_64 on an x86_64
>Reporter: Oliver Kleen
>Priority: Major
> Fix For: Next
>
> Attachments: debugtest.tgz
>
>
> Setting break points for a maven based RCP module do not work properly if the 
> module does also deploy its sources as an artifact to the repository.
> It seem to be the case that the break points set in the sources of the opened 
> project are fully ignored. I.e. when starting the debugger the break points 
> do not trigger at all.
> However, if a break point is set for the read-only sources of the deployed 
> source code artifact (via dependency section of the main application) then 
> everything works as expected.
> The problem can be reproduced as follows:
>  * download the attached sample project
>  * tar -xzvf debugtest.tgz
>  * open the maven RCP project within netbeans
>  * clean and build
>  * open Installer.java from sub-module debugtest-sample
>  * set a break point for the run method of the @OnStart callback
>  * start the debugtest application  in debug mode
>  * bad: observe that the break point does not trigger
>  * remove the file 
> "com/mycompany/debugtest-sample/1.0-SNAPSHOT/debugtest-sample-1.0-SNAPSHOT-sources.jar"
>  from the local maven repository
>  * try to debug again
>  * good: observe that the break point triggers as expected
>  * therefore it is supposed that the problem is somehow related to the 
> deployed source artifact
>  
>  



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