[jira] [Updated] (NETBEANS-618) JDK 10 Profiler: When profiling "Selected Classes", intermittant java.lang.ClassNotFoundException is thrown

2018-05-01 Thread JIRA

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

Jiří Kovalský updated NETBEANS-618:
---
Fix Version/s: (was: 9.0)

> JDK 10 Profiler:  When profiling "Selected Classes", intermittant 
> java.lang.ClassNotFoundException is thrown
> 
>
> Key: NETBEANS-618
> URL: https://issues.apache.org/jira/browse/NETBEANS-618
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: OS X 10.12.6
>Reporter: Josh Juneau
>Assignee: Laszlo Kishalmi
>Priority: Blocker
>  Labels: Java10, Java9, pull-request-available
>
> When profiling under JDK 10 and using "Selected Classes" option, the 
> following error is thrown after clicking "Apply" and the profiled application 
> starts up.  This occurred during one of the Profiler tests with the 
> AnagramGame.
>  
> java.lang.ClassNotFoundException: java/lang/reflect/WeakPairMap$Pair
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:291)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.initiateInstrumentation(ProfilerInterface.java:165)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.run(ProfilerInterface.java:117)
>    



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

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

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



[jira] [Commented] (NETBEANS-674) GUI designer failed to load

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi commented on NETBEANS-674:
--

Just guessing, Gradle?

> GUI designer failed to load
> ---
>
> Key: NETBEANS-674
> URL: https://issues.apache.org/jira/browse/NETBEANS-674
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Painting  Printing, guibuilder - Code
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Major
>  Labels: AssertionError, Exception, FormDesigner, Regression
> Fix For: 9.0
>
> Attachments: messages.log
>
>
> h2. expected
> * Clicked on {{Design}} in open Java Editor tab
> * Would expect design view to load
> h2. actual
> *  A pop-up about being too slow
> * When I looked at the log, there was actually an *Exception*
> h2.  Impact
> *  Could not use GUI designer
> **  Reloading file appears to work OK then
> h2.  supporting information
> *  messages.log
> * Exception stack trace
> --[ *stacktrace* ]--
> {noformat}
>  WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> SEVERE [global]
> java.lang.AssertionError
> at 
> org.netbeans.modules.nbform.FormDesignerTC.loadForm(FormDesignerTC.java:253)
> at 
> org.netbeans.modules.nbform.FormDesignerTC.access$300(FormDesignerTC.java:64)
> at 
> org.netbeans.modules.nbform.FormDesignerTC$PreLoadTask$1.run(FormDesignerTC.java:245)
> at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
> at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
> at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at java.base/java.security.AccessController.doPrivileged(Native 
> Method)
> at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
> at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING [org.netbeans.modules.java.navigation.ClassMemberPanelUI]: No 
> scheduled navigator update in 30,000ms, current state: SCHEDULED
> {noformat}



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

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

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



[jira] [Resolved] (NETBEANS-680) Erroneous Gradle Compile-on-Save activity

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi resolved NETBEANS-680.
--
Resolution: Invalid

Please raise this issue for the Gradle plugin.

Generally implement CoS is quite tricky especially with Gradle.

(I'm developing an other plugin, and after a few days voted for not to 
implement.)

> Erroneous Gradle Compile-on-Save activity
> -
>
> Key: NETBEANS-680
> URL: https://issues.apache.org/jira/browse/NETBEANS-680
> Project: NetBeans
>  Issue Type: Bug
>  Components: third-party - Other
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Major
>  Labels: Gradle, Regression, build-options, build-tools, 
> build.gradle, compile-on-save, project-options
> Attachments: image-2018-04-17-16-32-57-113.png, messages.log
>
>
> h2. expected
>  * To carry on my editing and testing without burdensome overheads
>  * Also don't want Settings and Options that are turned-off to be acted upon.
> h2. actual
>  * Looking at the log output, I see that something was logged for 
> {{Compile-on-Save}} (see below)
>  * I do not have Compile on save set in my Gradle / Project options (see 
> screenshot)
>  
> {panel:title=Gradle Compile settings}
> !image-2018-04-17-16-32-57-113.png!
> {panel}
>  
> .CompileOnSave errors
> {noformat}
> INFO [org.netbeans.core.windows.persistence]: 
> [PersistenceManager.getTopComponentForID] Problem when deserializing 
> TopComponent for tcID:'MultiView-java#002Eso2D0988CFtext#002Ehistory#007C'. 
> Reason: Top component MultiView-java#002Eso2D0988CFtext#002Ehistory#007C 
> could not be located or loaded from Components folder.
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@481f9ade, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,787 ms.
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@72d5f76d, 
> mimeType='text/x-editor-search', kitClass=null, length=10, version=16, 
> file=null
> WARNING [org.netbeans.modules.java.source.parsing.JavacParser]: Invalid or 
> deleted file: 
> Z:\$$$\SYSTEM\vcs-1523941566317\vcs-1523945354090\JPanelSpaDetails.java
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@495e185e, 
> mimeType='text/x-java', kitClass=null, length=5950, version=1, 
> file=org.netbeans.modules.java.JavaDataObject@65fca003[AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]]
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@4cbe101b, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,000 ms.
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@2151164c[javax/swing/JComboBox.java]
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from 

[jira] [Updated] (NETBEANS-680) Erroneous Gradle Compile-on-Save activity

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi updated NETBEANS-680:
-
Component/s: (was: platform - Plugin Manager)
 (was: platform - Options)
 (was: java - Project)
 third-party - Other

> Erroneous Gradle Compile-on-Save activity
> -
>
> Key: NETBEANS-680
> URL: https://issues.apache.org/jira/browse/NETBEANS-680
> Project: NetBeans
>  Issue Type: Bug
>  Components: third-party - Other
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Major
>  Labels: Gradle, Regression, build-options, build-tools, 
> build.gradle, compile-on-save, project-options
> Attachments: image-2018-04-17-16-32-57-113.png, messages.log
>
>
> h2. expected
>  * To carry on my editing and testing without burdensome overheads
>  * Also don't want Settings and Options that are turned-off to be acted upon.
> h2. actual
>  * Looking at the log output, I see that something was logged for 
> {{Compile-on-Save}} (see below)
>  * I do not have Compile on save set in my Gradle / Project options (see 
> screenshot)
>  
> {panel:title=Gradle Compile settings}
> !image-2018-04-17-16-32-57-113.png!
> {panel}
>  
> .CompileOnSave errors
> {noformat}
> INFO [org.netbeans.core.windows.persistence]: 
> [PersistenceManager.getTopComponentForID] Problem when deserializing 
> TopComponent for tcID:'MultiView-java#002Eso2D0988CFtext#002Ehistory#007C'. 
> Reason: Top component MultiView-java#002Eso2D0988CFtext#002Ehistory#007C 
> could not be located or loaded from Components folder.
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@481f9ade, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,787 ms.
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@72d5f76d, 
> mimeType='text/x-editor-search', kitClass=null, length=10, version=16, 
> file=null
> WARNING [org.netbeans.modules.java.source.parsing.JavacParser]: Invalid or 
> deleted file: 
> Z:\$$$\SYSTEM\vcs-1523941566317\vcs-1523945354090\JPanelSpaDetails.java
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@495e185e, 
> mimeType='text/x-java', kitClass=null, length=5950, version=1, 
> file=org.netbeans.modules.java.JavaDataObject@65fca003[AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]]
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@4cbe101b, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,000 ms.
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@2151164c[javax/swing/JComboBox.java]
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@28c00c9e, 

[jira] [Updated] (NETBEANS-680) Erroneous Gradle Compile-on-Save activity

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi updated NETBEANS-680:
-
Fix Version/s: (was: 9.0)

> Erroneous Gradle Compile-on-Save activity
> -
>
> Key: NETBEANS-680
> URL: https://issues.apache.org/jira/browse/NETBEANS-680
> Project: NetBeans
>  Issue Type: Bug
>  Components: third-party - Other
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Major
>  Labels: Gradle, Regression, build-options, build-tools, 
> build.gradle, compile-on-save, project-options
> Attachments: image-2018-04-17-16-32-57-113.png, messages.log
>
>
> h2. expected
>  * To carry on my editing and testing without burdensome overheads
>  * Also don't want Settings and Options that are turned-off to be acted upon.
> h2. actual
>  * Looking at the log output, I see that something was logged for 
> {{Compile-on-Save}} (see below)
>  * I do not have Compile on save set in my Gradle / Project options (see 
> screenshot)
>  
> {panel:title=Gradle Compile settings}
> !image-2018-04-17-16-32-57-113.png!
> {panel}
>  
> .CompileOnSave errors
> {noformat}
> INFO [org.netbeans.core.windows.persistence]: 
> [PersistenceManager.getTopComponentForID] Problem when deserializing 
> TopComponent for tcID:'MultiView-java#002Eso2D0988CFtext#002Ehistory#007C'. 
> Reason: Top component MultiView-java#002Eso2D0988CFtext#002Ehistory#007C 
> could not be located or loaded from Components folder.
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> WARNING 
> [org.netbeans.modules.java.preprocessorbridge.spi.CompileOnSaveAction]: More 
> than one binary directory for root: 
> file:/D:/work/products/FourAbs/FourAbsClientLibrary/src/main/java/
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@481f9ade, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,787 ms.
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@72d5f76d, 
> mimeType='text/x-editor-search', kitClass=null, length=10, version=16, 
> file=null
> WARNING [org.netbeans.modules.java.source.parsing.JavacParser]: Invalid or 
> deleted file: 
> Z:\$$$\SYSTEM\vcs-1523941566317\vcs-1523945354090\JPanelSpaDetails.java
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@495e185e, 
> mimeType='text/x-java', kitClass=null, length=5950, version=1, 
> file=org.netbeans.modules.java.JavaDataObject@65fca003[AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]]
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.navigation.ElementScanningTask@4cbe101b, phase: 
> ELEMENTS_RESOLVED, priority: 300] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 1,000 ms.
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@2151164c[javax/swing/JComboBox.java]
> WARNING [org.netbeans.modules.versioning.core.spi.VCSContext]: null 
> VCSFileProxy for FileObject 
> AbstractFileObject@6781f8d1[au/com/fourtel/util/client/JPanelDetail.java]
> WARNING [org.openide.util.WeakListenerImpl]: Can't remove 
> java.beans.PropertyChangeListener using method 
> org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener 
> from org.netbeans.modules.editor.NbEditorDocument@28c00c9e, 
> mimeType='text/x-java', kitClass=null, length=88835, version=1, 
> 

[jira] [Updated] (NETBEANS-589) Run file and debug file for Junit java file in Maven project is disabled

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi updated NETBEANS-589:
-
Priority: Minor  (was: Major)

> Run file and debug file for Junit java file in Maven project is disabled
> 
>
> Key: NETBEANS-589
> URL: https://issues.apache.org/jira/browse/NETBEANS-589
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 9.0
> Environment: Mac OSx Sierra
>Reporter: Manikantan Narender Nath
>Priority: Minor
> Fix For: 9.0
>
> Attachments: disabled-menu-items.png
>
>
> h2. Scenario:
> In maven projects, for Junit files, right click on the file in Project view 
> to bring up the context menu
> h3. Expected result
> Run File popup menu option is enabled
> Debug File popup menu option is enabled
> h3. Actual result
> Run File popup menu option is disabled
> Debug File popup menu option is disabled 
> h2. Test documents
> Test Spec: JUnit Testing Specification 
> ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2])
> Test suite(s)
> Running and debugging 
> ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2234)]
> Test cases
> Running a single test file using run 
> ([http://netbeans-vm.apache.org/synergy/client/app/#/case/5982/suite/2234/v/1)]
> Debugging II 
> ([http://netbeans-vm.apache.org/synergy/client/app/#/case/5987/suite/2234/v/1)]
>  
>  
>  



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

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

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



[jira] [Commented] (NETBEANS-618) JDK 10 Profiler: When profiling "Selected Classes", intermittant java.lang.ClassNotFoundException is thrown

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi commented on NETBEANS-618:
--

Moved up to Blocker as NETBEANS-620 is Blocker and this is most probably kill 
all profiling on JDK 10

> JDK 10 Profiler:  When profiling "Selected Classes", intermittant 
> java.lang.ClassNotFoundException is thrown
> 
>
> Key: NETBEANS-618
> URL: https://issues.apache.org/jira/browse/NETBEANS-618
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: OS X 10.12.6
>Reporter: Josh Juneau
>Assignee: Laszlo Kishalmi
>Priority: Blocker
>  Labels: Java10, Java9, pull-request-available
> Fix For: 9.0
>
>
> When profiling under JDK 10 and using "Selected Classes" option, the 
> following error is thrown after clicking "Apply" and the profiled application 
> starts up.  This occurred during one of the Profiler tests with the 
> AnagramGame.
>  
> java.lang.ClassNotFoundException: java/lang/reflect/WeakPairMap$Pair
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:291)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.initiateInstrumentation(ProfilerInterface.java:165)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.run(ProfilerInterface.java:117)
>    



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

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

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



[jira] [Updated] (NETBEANS-618) JDK 10 Profiler: When profiling "Selected Classes", intermittant java.lang.ClassNotFoundException is thrown

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi updated NETBEANS-618:
-
Priority: Blocker  (was: Critical)

> JDK 10 Profiler:  When profiling "Selected Classes", intermittant 
> java.lang.ClassNotFoundException is thrown
> 
>
> Key: NETBEANS-618
> URL: https://issues.apache.org/jira/browse/NETBEANS-618
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: OS X 10.12.6
>Reporter: Josh Juneau
>Assignee: Laszlo Kishalmi
>Priority: Blocker
>  Labels: Java10, Java9, pull-request-available
> Fix For: 9.0
>
>
> When profiling under JDK 10 and using "Selected Classes" option, the 
> following error is thrown after clicking "Apply" and the profiled application 
> starts up.  This occurred during one of the Profiler tests with the 
> AnagramGame.
>  
> java.lang.ClassNotFoundException: java/lang/reflect/WeakPairMap$Pair
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:291)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.initiateInstrumentation(ProfilerInterface.java:165)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.run(ProfilerInterface.java:117)
>    



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

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

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



[jira] [Commented] (NETBEANS-344) org.netbeans.core.windows.service.PresenterDecorator is not publicly accessible

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi commented on NETBEANS-344:
--

Just checked. There are no implementation of this abstract class and it is 
really not in a public package of that module.

Assigned to Jarda, as he is marked as author of this. It should be either 
removed, or properly exposed.

I could see a use for arranging/resizing dialogs on multi-monitor setup, though 
there is an other kind of implementation for that already in place.

> org.netbeans.core.windows.service.PresenterDecorator is not publicly 
> accessible
> ---
>
> Key: NETBEANS-344
> URL: https://issues.apache.org/jira/browse/NETBEANS-344
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 8.2, 9.0
>Reporter: Austin Stephens
>Assignee: Jaroslav Tulach
>Priority: Trivial
>
> The commit message for adding it states that it was added so other modules 
> could customize the displayed dialog, but it is module private.



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

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

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



[jira] [Commented] (NETBEANS-757) IllegalStateExcaption

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi commented on NETBEANS-757:
--

Please provide more information, otherwise I'm going to close this issue as 
Invalid.

> IllegalStateExcaption 
> --
>
> Key: NETBEANS-757
> URL: https://issues.apache.org/jira/browse/NETBEANS-757
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Thomas Skinner
>Assignee: Laszlo Kishalmi
>Priority: Major
>




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

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

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



[jira] [Assigned] (NETBEANS-757) IllegalStateExcaption

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi reassigned NETBEANS-757:


Assignee: Laszlo Kishalmi

> IllegalStateExcaption 
> --
>
> Key: NETBEANS-757
> URL: https://issues.apache.org/jira/browse/NETBEANS-757
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Thomas Skinner
>Assignee: Laszlo Kishalmi
>Priority: Major
>




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

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

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



[jira] [Resolved] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi resolved NETBEANS-620.
--
   Resolution: Duplicate
Fix Version/s: 9.0

Most probably happens due to java.lang.reflect.WeakPairMap has been moved under 
java.lang

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Priority: Blocker
>  Labels: BLOCKER
> Fix For: 9.0
>
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

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

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



[jira] [Resolved] (NETBEANS-756) netbeans crash on startup with java.lang.NullPointerException at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.ini

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi resolved NETBEANS-756.
--
Resolution: Not A Problem

Well, from the logs it seems that you are trying to install some modules into 
the IDE common area /usr/share/netbeans/8.1/ which is not writable by your user.

This usually happens if you install NetBeans from package. The recommended 
solution install the complete IDE to you home directory using it's installer or 
zip distribution.

 

> netbeans crash on startup with java.lang.NullPointerException at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage
> ---
>
> Key: NETBEANS-756
> URL: https://issues.apache.org/jira/browse/NETBEANS-756
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Carlos Miguel de Azevedo Morais
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> Extract from messages.log
> {code:java}
> Log Session: Tuesday, May 1, 2018 11:06:29 PM WEST
> >System Info:
>   Product Version = NetBeans IDE 8.1 (Build 20180221-debian-8.1)
>   Operating System    = Linux version 4.15.0-20-generic running on amd64
>   Java; VM; Vendor    = 1.8.0_162; OpenJDK 64-Bit Server VM 25.162-b12; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 
> 1.8.0_162-8u162-b12-1-b12
>   Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory  = /home/carlos
>   Current Directory   = /home/carlos
>   User Directory  = /home/carlos/.netbeans/8.1
>   Cache Directory = /home/carlos/.cache/netbeans/8.1
>   Installation    = /usr/share/netbeans/8.1/nb
>     /usr/share/netbeans/8.1/ide
>     /usr/share/netbeans/8.1/java
>     /usr/share/netbeans/8.1/apisupport
>     /usr/share/netbeans/8.1/harness
>     /usr/share/netbeans/8.1/platform
>   Boot & Ext. Classpath   = 
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/cldrdata.jar
>   Application Classpath   = 
> /usr/share/java/jcodings.jar:/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
>   Startup Classpath   = 
> /usr/share/netbeans/8.1/platform/core/org-openide-filesystems-compat8.jar:/usr/share/netbeans/8.1/platform/core/org-netbeans-libs-asm.jar:/usr/share/netbeans/8.1/platform/core/core.jar:/usr/share/netbeans/8.1/platform/core/org-openide-filesystems.jar:/usr/share/netbeans/8.1/platform/core/core-base.jar:/usr/share/netbeans/8.1/platform/core/asm-all-5.0.1.jar:/usr/share/netbeans/8.1/nb/core/org-netbeans-upgrader.jar:/usr/share/netbeans/8.1/nb/core/locale/core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/usr/share/netbeans/8.1/
> java.lang.NullPointerException
>     at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123)
>     at 
> org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:192)
>     at 
> 

[jira] [Assigned] (NETBEANS-756) netbeans crash on startup with java.lang.NullPointerException at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.ini

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi reassigned NETBEANS-756:


Assignee: Laszlo Kishalmi

> netbeans crash on startup with java.lang.NullPointerException at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage
> ---
>
> Key: NETBEANS-756
> URL: https://issues.apache.org/jira/browse/NETBEANS-756
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Carlos Miguel de Azevedo Morais
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> Extract from messages.log
> {code:java}
> Log Session: Tuesday, May 1, 2018 11:06:29 PM WEST
> >System Info:
>   Product Version = NetBeans IDE 8.1 (Build 20180221-debian-8.1)
>   Operating System    = Linux version 4.15.0-20-generic running on amd64
>   Java; VM; Vendor    = 1.8.0_162; OpenJDK 64-Bit Server VM 25.162-b12; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 
> 1.8.0_162-8u162-b12-1-b12
>   Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory  = /home/carlos
>   Current Directory   = /home/carlos
>   User Directory  = /home/carlos/.netbeans/8.1
>   Cache Directory = /home/carlos/.cache/netbeans/8.1
>   Installation    = /usr/share/netbeans/8.1/nb
>     /usr/share/netbeans/8.1/ide
>     /usr/share/netbeans/8.1/java
>     /usr/share/netbeans/8.1/apisupport
>     /usr/share/netbeans/8.1/harness
>     /usr/share/netbeans/8.1/platform
>   Boot & Ext. Classpath   = 
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/cldrdata.jar
>   Application Classpath   = 
> /usr/share/java/jcodings.jar:/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
>   Startup Classpath   = 
> /usr/share/netbeans/8.1/platform/core/org-openide-filesystems-compat8.jar:/usr/share/netbeans/8.1/platform/core/org-netbeans-libs-asm.jar:/usr/share/netbeans/8.1/platform/core/core.jar:/usr/share/netbeans/8.1/platform/core/org-openide-filesystems.jar:/usr/share/netbeans/8.1/platform/core/core-base.jar:/usr/share/netbeans/8.1/platform/core/asm-all-5.0.1.jar:/usr/share/netbeans/8.1/nb/core/org-netbeans-upgrader.jar:/usr/share/netbeans/8.1/nb/core/locale/core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/usr/share/netbeans/8.1/
> java.lang.NullPointerException
>     at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123)
>     at 
> org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:192)
>     at 
> org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
>     at 
> org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
>     at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
>     at org.netbeans.modules.netbinox.Netbinox.init(Unknown Source)
>     at 

[jira] [Created] (NETBEANS-757) IllegalStateExcaption

2018-05-01 Thread Thomas Skinner (JIRA)
Thomas Skinner created NETBEANS-757:
---

 Summary: IllegalStateExcaption 
 Key: NETBEANS-757
 URL: https://issues.apache.org/jira/browse/NETBEANS-757
 Project: NetBeans
  Issue Type: Bug
Reporter: Thomas Skinner






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

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

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



[jira] [Commented] (NETBEANS-756) netbeans crash on startup with java.lang.NullPointerException at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.in

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-756:


>From your messages.log, it is clear that you are using NetBeans IDE 8.1.

> netbeans crash on startup with java.lang.NullPointerException at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage
> ---
>
> Key: NETBEANS-756
> URL: https://issues.apache.org/jira/browse/NETBEANS-756
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Carlos Miguel de Azevedo Morais
>Priority: Major
>
> Extract from messages.log
> {code:java}
> Log Session: Tuesday, May 1, 2018 11:06:29 PM WEST
> >System Info:
>   Product Version = NetBeans IDE 8.1 (Build 20180221-debian-8.1)
>   Operating System    = Linux version 4.15.0-20-generic running on amd64
>   Java; VM; Vendor    = 1.8.0_162; OpenJDK 64-Bit Server VM 25.162-b12; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 
> 1.8.0_162-8u162-b12-1-b12
>   Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory  = /home/carlos
>   Current Directory   = /home/carlos
>   User Directory  = /home/carlos/.netbeans/8.1
>   Cache Directory = /home/carlos/.cache/netbeans/8.1
>   Installation    = /usr/share/netbeans/8.1/nb
>     /usr/share/netbeans/8.1/ide
>     /usr/share/netbeans/8.1/java
>     /usr/share/netbeans/8.1/apisupport
>     /usr/share/netbeans/8.1/harness
>     /usr/share/netbeans/8.1/platform
>   Boot & Ext. Classpath   = 
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/cldrdata.jar
>   Application Classpath   = 
> /usr/share/java/jcodings.jar:/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
>   Startup Classpath   = 
> /usr/share/netbeans/8.1/platform/core/org-openide-filesystems-compat8.jar:/usr/share/netbeans/8.1/platform/core/org-netbeans-libs-asm.jar:/usr/share/netbeans/8.1/platform/core/core.jar:/usr/share/netbeans/8.1/platform/core/org-openide-filesystems.jar:/usr/share/netbeans/8.1/platform/core/core-base.jar:/usr/share/netbeans/8.1/platform/core/asm-all-5.0.1.jar:/usr/share/netbeans/8.1/nb/core/org-netbeans-upgrader.jar:/usr/share/netbeans/8.1/nb/core/locale/core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/usr/share/netbeans/8.1/
> java.lang.NullPointerException
>     at 
> org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123)
>     at 
> org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:192)
>     at 
> org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
>     at 
> org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
>     at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
>     at 

[jira] [Created] (NETBEANS-756) netbeans crash on startup with java.lang.NullPointerException at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.init

2018-05-01 Thread Carlos Miguel de Azevedo Morais (JIRA)
Carlos Miguel de Azevedo Morais created NETBEANS-756:


 Summary: netbeans crash on startup with 
java.lang.NullPointerException at 
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorageorg.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage
 Key: NETBEANS-756
 URL: https://issues.apache.org/jira/browse/NETBEANS-756
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 8.2
Reporter: Carlos Miguel de Azevedo Morais


Extract from messages.log
{code:java}
Log Session: Tuesday, May 1, 2018 11:06:29 PM WEST
>System Info:
  Product Version = NetBeans IDE 8.1 (Build 20180221-debian-8.1)
  Operating System    = Linux version 4.15.0-20-generic running on amd64
  Java; VM; Vendor    = 1.8.0_162; OpenJDK 64-Bit Server VM 25.162-b12; 
Oracle Corporation
  Runtime = OpenJDK Runtime Environment 
1.8.0_162-8u162-b12-1-b12
  Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory  = /home/carlos
  Current Directory   = /home/carlos
  User Directory  = /home/carlos/.netbeans/8.1
  Cache Directory = /home/carlos/.cache/netbeans/8.1
  Installation    = /usr/share/netbeans/8.1/nb
    /usr/share/netbeans/8.1/ide
    /usr/share/netbeans/8.1/java
    /usr/share/netbeans/8.1/apisupport
    /usr/share/netbeans/8.1/harness
    /usr/share/netbeans/8.1/platform
  Boot & Ext. Classpath   = 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/cldrdata.jar
  Application Classpath   = 
/usr/share/java/jcodings.jar:/usr/share/netbeans/8.1/platform/lib/boot.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/8.1/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
  Startup Classpath   = 
/usr/share/netbeans/8.1/platform/core/org-openide-filesystems-compat8.jar:/usr/share/netbeans/8.1/platform/core/org-netbeans-libs-asm.jar:/usr/share/netbeans/8.1/platform/core/core.jar:/usr/share/netbeans/8.1/platform/core/org-openide-filesystems.jar:/usr/share/netbeans/8.1/platform/core/core-base.jar:/usr/share/netbeans/8.1/platform/core/asm-all-5.0.1.jar:/usr/share/netbeans/8.1/nb/core/org-netbeans-upgrader.jar:/usr/share/netbeans/8.1/nb/core/locale/core_nb.jar
---
INFO [org.netbeans.modules.netbinox]: Install area set to 
file:/usr/share/netbeans/8.1/
java.lang.NullPointerException
    at 
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123)
    at 
org.eclipse.osgi.framework.internal.core.Framework.(Framework.java:192)
    at 
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
    at 
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
    at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
    at org.netbeans.modules.netbinox.Netbinox.init(Unknown Source)
    at org.netbeans.core.netigso.Netigso.prepare(Unknown Source)
    at org.netbeans.NetigsoHandle.turnOn(Unknown Source)
    at org.netbeans.ModuleManager.enable(Unknown Source)
INFO [null]: Last record repeated again.
    at org.netbeans.core.startup.ModuleList.installNew(Unknown Source)
    at org.netbeans.core.startup.ModuleList.trigger(Unknown Source)
    at org.netbeans.core.startup.ModuleSystem.restore(Unknown Source)
    at org.netbeans.core.startup.Main.getModuleSystem(Unknown Source)
INFO [null]: Last record repeated again.
   

[jira] [Commented] (NETBEANS-330) NetBeans 9.0 UC hosted on Apache infra

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-330:


Yes, it is a blocker and we need to figure this one out, here's the related 
discussion thread:

https://lists.apache.org/thread.html/5208ddf21695fc2adf2e89389dc7359d3f2ed3841e72b124f5f29b5f@%3Cdev.netbeans.apache.org%3E

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]
> (for the uninitiated: UC == Update Center)



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

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

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



[jira] [Commented] (NETBEANS-6) Add support for JUnit 5

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-6:
--

The question of whether NetBeans will have JUnit 5 support is not a question of 
'if' but 'when'. The 9.0 release that we're trying to wrap up is, just like the 
previous incubator releases of NetBeans, focused on getting the process right, 
i.e., the Apache process to which we're all new at the moment. I'd argue 
therefore that though JUnit 5 is the highest priority as soon as we get to 
implementing new features, it shouldn't hold up the 9.0 release, since it's an 
Apache incubator release, and that as soon as the 9.0 release is done, we 
should focus first and foremost on JUnit 5.

> Add support for JUnit 5
> ---
>
> Key: NETBEANS-6
> URL: https://issues.apache.org/jira/browse/NETBEANS-6
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - JUnit
>Reporter: Marc Philipp
>Priority: Major
>
> I’m a member of the JUnit team. We’re currently working on a major new 
> version: JUnit 5. It will require work by IDEs to support test execution and 
> reporting within the IDE. IntelliJ IDEA and Eclipse (on a branch) already 
> support the new JUnit Platform and the new Jupiter API to write tests.
> Are there any plans to add JUnit 5 support to Netbeans? If so, how can we 
> help?



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

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

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



[jira] [Commented] (NETBEANS-6) Add support for JUnit 5

2018-05-01 Thread Marc Philipp (JIRA)

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

Marc Philipp commented on NETBEANS-6:
-

[~johnmcdonnell] The JUnit team has started to collect some items in a Google 
Doc: 
[https://docs.google.com/document/d/1cGfnwVG62ulqXZIt9smI0ZA7LD-bn1aGUn21yqZN_bQ/edit?usp=sharing].
 I'd be happy to have a short meeting with you guys if you have any questions.

> Add support for JUnit 5
> ---
>
> Key: NETBEANS-6
> URL: https://issues.apache.org/jira/browse/NETBEANS-6
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - JUnit
>Reporter: Marc Philipp
>Priority: Major
>
> I’m a member of the JUnit team. We’re currently working on a major new 
> version: JUnit 5. It will require work by IDEs to support test execution and 
> reporting within the IDE. IntelliJ IDEA and Eclipse (on a branch) already 
> support the new JUnit Platform and the new Jupiter API to write tests.
> Are there any plans to add JUnit 5 support to Netbeans? If so, how can we 
> help?



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

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

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



[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-373:


OK, done: https://github.com/apache/incubator-netbeans/pull/530

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



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

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

For further information about the 

[jira] [Updated] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated NETBEANS-373:

Labels: pull-request-available  (was: )

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



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

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

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



[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-373:


Or tell me what exactly needs to be changed, i.e., provide line numbers and 
precise details, and I'll do it.

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



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

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

For further information about the NetBeans mailing lists, visit:

[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-373:


OK. Can you remove what in your opinion and the opinion of the others in this 
thread need to be removed and provide a pull request? I.e., clone the repo, 
change the file, and provide a pull request back to the repo?

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



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

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

[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-373:
--

It is at 
"refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/ParametersPanel.java"
I am more in favor of removing the synchronized things in the file in question. 
No one know why they are there.

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> EventDispatchThread.pumpEvents:109    
> EventDispatchThread.pumpEvents:101    
> EventDispatchThread.run:90   
> {code}
>  



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

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


[jira] [Updated] (NETBEANS-633) GUI Builder fails to load sub-panel with NLS / Respource bundle

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi updated NETBEANS-633:
-
Component/s: (was: guibuilder - Natural Layout)
 (was: guibuilder - Binding)
 third-party - Other

> GUI Builder fails to load sub-panel with NLS / Respource bundle
> ---
>
> Key: NETBEANS-633
> URL: https://issues.apache.org/jira/browse/NETBEANS-633
> Project: NetBeans
>  Issue Type: Bug
>  Components: third-party - Other
>Affects Versions: 8.2, 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Assignee: Laszlo Kishalmi
>Priority: Critical
>  Labels: GUI, MissingResourceException, Swing, 
> internationalization
> Attachments: image-2018-04-10-10-32-31-818.png, swing_bundles.7z
>
>
> h2. expected
>  * To be able to view and edit parent JPanel screen in Netbeans GUI Builder.
>  * This should be possible no matter what the sub-panels do
>  * If/when a resource is missing or unresolved some kind of place holder can 
> be used
> h2. actual
>  * We have several GUI JPanel-s which act as containers for a "details" 
> screen, sub-panel layouts.
>  * In one of the sub-panels we introduced a resource bundle to display 
> options for check-boxes.. 
>  * This details screen works as a sub-panel at run-time.
>  * This details screen works as in the GUI designer/builder fine.
>  * However whenever we load the parent panel, the container it fails with a 
> *{{MissingResourceException}}*.
> !image-2018-04-10-10-32-31-818.png!
>  
>  * This is somewhat of a SHOW STOPPER as far as internationalisation goes for 
> reusable GUI components I'm afraid.
>  * The situation is quite mysterious as well since the Resource file is 
> found, loaded and displayed by the detail JPanel screen which is IN THE SAME 
> java Package at runtime and design time.
>  * The resource bundle itself is in the {{resources/bundles}} folder of 
> common library (Gradle directory layout) and is "fixed" so to speak at design 
> time.
>  * I believe there is some fundamental flaw here because you must have 
> parents able to load sub-components with or without any resource strings.
>  
> h2. supporting information
> {noformat}
> --[ *stacktrace* ]--
> java.util.MissingResourceException: Can't find bundle for base name 
> bundles/SpaAssurancesText, locale en_AU
>     at 
> java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
>     at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.initComponents(JPanelSpaDetails.java:1608)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:148)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:141)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at 
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
>     at java.base/java.lang.Class.newInstance(Class.java:560)
>     at 
> org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:155)
>     at 
> org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:227)
>     at 
> org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:166)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:755)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:799)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> 

[jira] [Assigned] (NETBEANS-633) GUI Builder fails to load sub-panel with NLS / Respource bundle

2018-05-01 Thread Laszlo Kishalmi (JIRA)

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

Laszlo Kishalmi reassigned NETBEANS-633:


Assignee: Laszlo Kishalmi

> GUI Builder fails to load sub-panel with NLS / Respource bundle
> ---
>
> Key: NETBEANS-633
> URL: https://issues.apache.org/jira/browse/NETBEANS-633
> Project: NetBeans
>  Issue Type: Bug
>  Components: guibuilder - Binding, guibuilder - Natural Layout
>Affects Versions: 8.2, 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Assignee: Laszlo Kishalmi
>Priority: Critical
>  Labels: GUI, MissingResourceException, Swing, 
> internationalization
> Attachments: image-2018-04-10-10-32-31-818.png, swing_bundles.7z
>
>
> h2. expected
>  * To be able to view and edit parent JPanel screen in Netbeans GUI Builder.
>  * This should be possible no matter what the sub-panels do
>  * If/when a resource is missing or unresolved some kind of place holder can 
> be used
> h2. actual
>  * We have several GUI JPanel-s which act as containers for a "details" 
> screen, sub-panel layouts.
>  * In one of the sub-panels we introduced a resource bundle to display 
> options for check-boxes.. 
>  * This details screen works as a sub-panel at run-time.
>  * This details screen works as in the GUI designer/builder fine.
>  * However whenever we load the parent panel, the container it fails with a 
> *{{MissingResourceException}}*.
> !image-2018-04-10-10-32-31-818.png!
>  
>  * This is somewhat of a SHOW STOPPER as far as internationalisation goes for 
> reusable GUI components I'm afraid.
>  * The situation is quite mysterious as well since the Resource file is 
> found, loaded and displayed by the detail JPanel screen which is IN THE SAME 
> java Package at runtime and design time.
>  * The resource bundle itself is in the {{resources/bundles}} folder of 
> common library (Gradle directory layout) and is "fixed" so to speak at design 
> time.
>  * I believe there is some fundamental flaw here because you must have 
> parents able to load sub-components with or without any resource strings.
>  
> h2. supporting information
> {noformat}
> --[ *stacktrace* ]--
> java.util.MissingResourceException: Can't find bundle for base name 
> bundles/SpaAssurancesText, locale en_AU
>     at 
> java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
>     at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.initComponents(JPanelSpaDetails.java:1608)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:148)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:141)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at 
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
>     at java.base/java.lang.Class.newInstance(Class.java:560)
>     at 
> org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:155)
>     at 
> org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:227)
>     at 
> org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:166)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:755)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:799)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> 

[jira] [Updated] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga updated NETBEANS-620:
---
Priority: Blocker  (was: Critical)

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Priority: Blocker
>  Labels: BLOCKER
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



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

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

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



[jira] [Commented] (NETBEANS-633) GUI Builder fails to load sub-panel with NLS / Respource bundle

2018-05-01 Thread will mason (JIRA)

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

will mason commented on NETBEANS-633:
-

Hi.

I have attached a minimal example demonstrating this problem.  In the 
*{{GuiClient}}* project has the screens.
* *{{BigPanel}}* is a container for the *{{MainPanel}}* and another field.
* *{{MainPanel}}* includes a properties string from the {{GuiCommon}} project 
resources area
**  *{{bundles/commonStrings.properties}}*  
* GuiClient depends-on GuiCommon in the gradle build.
* Netbeans finds the correct properties file and programs with the same 
structure run quite nicely
**  I haven't run the example.  I just wanted to reproduce the designer error. 

If the problem can't be fixed directly; a suitable workaround would be to 
permit loading and design of the {{BigPanel}} container without barfing on  the 
{{bundles/commonStrings.properties}}.  For other resources there's a call to 
check if we are at design-time so missing resources don't crash.  Something 
like that would let changes be made _at least_.

*Project tree* ... {noformat}
  swing_bundles/
|
+-- GuiClient/
| |
| +-- src/
|  |
|  +-- main/
|  | |
|  : +-- java/
|  ... MainPanel.java
|  ... BigPanel.java
|
+-- GuiCommon/
  |
  +-- src/
   |
   +-- main/
   | |
   | +-- java/
   | |
   | +-- resources/
   |   |  
   |   + bundles/  
   |   |  
   |   +-- commonStrings.properties
   +-- test/
{noformat}

This is the stacktrace from a Netbeans 8.2 session on Linux.  I included this 
for comparison with the Netbeans 9.0-beta stacktrace posted originally.  The 
problem is in both versions.  It probably only makes sense to fix it for 
Netbeans 9.

-- *stacktrace* --
{noformat}
java.util.MissingResourceException: Can't find bundle for base name 
bundles/commonStrings, locale en_AU
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1573)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:782)
at ex.gui.bundles.MainPanel.initComponents(MainPanel.java:33)
at ex.gui.bundles.MainPanel.(MainPanel.java:18)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at 
org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:180)
at 
org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:252)
at 
org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:191)
at 
org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:780)
at 
org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:968)
at 
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:503)
at 
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:283)
at org.netbeans.modules.form.FormEditor$2.run(FormEditor.java:352)
at org.netbeans.modules.form.FormLAF$2.run(FormLAF.java:293)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:138)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:98)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:94)
at org.openide.util.Mutex.readAccess(Mutex.java:250)
at 
org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:276)
at 
org.netbeans.modules.form.FormEditor.loadFormData(FormEditor.java:349)
at 
org.netbeans.modules.nbform.FormEditorSupport.loadOpeningForm(FormEditorSupport.java:461)
at 
org.netbeans.modules.nbform.FormDesignerTC.loadForm(FormDesignerTC.java:279)
at 
org.netbeans.modules.nbform.FormDesignerTC.access$300(FormDesignerTC.java:87)
at 
org.netbeans.modules.nbform.FormDesignerTC$PreLoadTask$1.run(FormDesignerTC.java:268)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at 

[jira] [Comment Edited] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga edited comment on NETBEANS-373 at 5/1/18 11:38 AM:
-

I think [~timboudreau] has the most recent analysis of the way forward here:
{quote}The bug is really in the JDK.  Here we just need to find an effective 
workaround.  In this case, replanning the listener add to the event thread will 
do the job - we just need to verify what the actual code path and target 
component that's triggering the deadlock is.

Most likely it is the accessible component created by the dialog, simply 
because there is a decent chance of another thread getting hold of the dialog 
thanks to the native peer being assigned when pack() is called.{quote}
Also, [~jlahoda] comment:
{quote}My suggestion would be to delete the synchronized flag from the 
showDialog method; and also delete the "synchronized (this)" from 
cancelActionPerformed.{quote}
So where exactly in github.com/apache/incubator-netbeans is the file that needs 
to be fixed as outlined above?


was (Author: geertjanwielenga):
I think [~timboudreau] has the most recent analysis of the way forward here:
{quote}The bug is really in the JDK.  Here we just need to find an effective 
workaround.  In this case, replanning the listener add to the event thread will 
do the job - we just need to verify what the actual code path and target 
component that's triggering the deadlock is.

Most likely it is the accessible component created by the dialog, simply 
because there is a decent chance of another thread getting hold of the dialog 
thanks to the native peer being assigned when pack() is called.{quote}
Also, [~jlahoda] comment:
{quote}My suggestion would be to delete the synchronized flag from the 
showDialog method; and also delete the "synchronized (this)" from 
cancelActionPerformed.{quote}

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> 

[jira] [Comment Edited] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga edited comment on NETBEANS-373 at 5/1/18 11:37 AM:
-

I think [~timboudreau] has the most recent analysis of the way forward here:
{quote}The bug is really in the JDK.  Here we just need to find an effective 
workaround.  In this case, replanning the listener add to the event thread will 
do the job - we just need to verify what the actual code path and target 
component that's triggering the deadlock is.

Most likely it is the accessible component created by the dialog, simply 
because there is a decent chance of another thread getting hold of the dialog 
thanks to the native peer being assigned when pack() is called.{quote}
Also, [~jlahoda] comment:
{quote}My suggestion would be to delete the synchronized flag from the 
showDialog method; and also delete the "synchronized (this)" from 
cancelActionPerformed.{quote}


was (Author: geertjanwielenga):
I think [~timboudreau] has the most recent analysis of the way forward here:
{quote}The bug is really in the JDK.  Here we just need to find an effective 
workaround.  In this case, replanning the listener add to the event thread will 
do the job - we just need to verify what the actual code path and target 
component that's triggering the deadlock is.

Most likely it is the accessible component created by the dialog, simply 
because there is a decent chance of another thread getting hold of the dialog 
thanks to the native peer being assigned when pack() is called.{quote}

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> 

[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-373:


I think [~timboudreau] has the most recent analysis of the way forward here:
{quote}The bug is really in the JDK.  Here we just need to find an effective 
workaround.  In this case, replanning the listener add to the event thread will 
do the job - we just need to verify what the actual code path and target 
component that's triggering the deadlock is.

Most likely it is the accessible component created by the dialog, simply 
because there is a decent chance of another thread getting hold of the dialog 
thanks to the native peer being assigned when pack() is called.{quote}

> Netbeans sometimes freezes when showing any refactor dialog when running with 
> jdk 1.8.0_152-b16 or later
> 
>
> Key: NETBEANS-373
> URL: https://issues.apache.org/jira/browse/NETBEANS-373
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 8.2, 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot 
> 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff
>
>
> Sometimes (or almost always), when you try to do some refactor action, 
> NetBeans freezes. It appears that a lock is obtained on a panel when the 
> dialog is shown, and the AppKit Thread tries to get the lock while trying to 
> add an accessible listener to it.
> AppKit Thread:
> {code:java}
> Container.addContainerListener:2142    
> Container$AccessibleAWTContainer.addPropertyChangeListener:3885    
> JComponent$AccessibleJComponent.addPropertyChangeListener:3765    
> Hidden Source Calls    
> CAccessible.addNotificationListeners:102    
> CAccessible.:84    
> CAccessible.getCAccessible:60
> {code}
> EDT Thread:
> {code:java}
> Hidden Source Calls    
> Unsafe.park    
> LockSupport.park:194    
> AbstractQueuedSynchronizer$ConditionObject.await:2062    
> EventQueue.getNextEvent:557    
> EventDispatchThread.pumpOneEventForFilters:173    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForFilter:117    
> WaitDispatchSupport$2.run:190    
> WaitDispatchSupport$4.run:235    
> WaitDispatchSupport$4.run:233    
> AccessController.doPrivileged    
> WaitDispatchSupport.enter:233    
> Dialog.show:1070    
> NbPresenter.superShow:1060    
> NbPresenter.doShow:1110    
> NbPresenter.run:1082    
> NbPresenter.run:105    
> NbMutexEventProvider$Event.doEventAccess:115    
> NbMutexEventProvider$Event.readAccess:75    
> LazyMutexImplementation.readAccess:71    
> Mutex.readAccess:193    
> NbPresenter.show:1067    
> Component.show:1669    
> Component.setVisible:1616    
> Window.setVisible:1017    
> Dialog.setVisible:1005    
> ParametersPanel.showDialog:674    
> RefactoringPanel.refresh:660    
> RefactoringPanel.:144    
> UI.openRefactoringUI:61    
> ContextAnalyzer$4.show:648    
> ContextAnalyzer$TextComponentTask.run:369    
> RefactoringActionsProvider.doFindUsages:232    
> ActionsImplementationFactory.doFindUsages:91    
> WhereUsedAction.performAction:52    
> RefactoringGlobalAction$ContextAction.actionPerformed:172    
> TopComponent.processKeyBinding:1151    
> JComponent.processKeyBindings:2963    
> JComponent.processKeyEvent:2863    
> Component.processEvent:6355    
> Container.processEvent:2259    
> Component.dispatchEventImpl:4961    
> Container.dispatchEventImpl:2317    
> Component.dispatchEvent:4793    
> KeyboardFocusManager.redispatchEvent:1955    
> DefaultKeyboardFocusManager.dispatchKeyEvent:827    
> DefaultKeyboardFocusManager.preDispatchKeyEvent:1096    
> DefaultKeyboardFocusManager.typeAheadAssertions:966    
> DefaultKeyboardFocusManager.dispatchEvent:792    
> Component.dispatchEventImpl:4842    
> Container.dispatchEventImpl:2317    
> Window.dispatchEventImpl:2758    
> Component.dispatchEvent:4793    
> EventQueue.dispatchEventImpl:766    
> EventQueue.access$500:97    
> EventQueue$3.run:717    
> EventQueue$3.run:711    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99    
> EventQueue$4.run:739    
> EventQueue$4.run:737    
> AccessController.doPrivileged    
> ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89    
> EventQueue.dispatchEvent:736    
> TimableEventQueue.dispatchEvent:136    
> EventDispatchThread.pumpOneEventForFilters:199    
> EventDispatchThread.pumpEventsForFilter:124    
> EventDispatchThread.pumpEventsForHierarchy:113    
> 

[jira] [Commented] (NETBEANS-633) GUI Builder fails to load sub-panel with NLS / Respource bundle

2018-05-01 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-633:


It's a Gradle project. Gradle is not supported by Apache NetBeans Git. Please 
reproduce the problem without Gradle and put a sample reproducing the problem 
on GitHub with a link to it here so it can be evaluated.

> GUI Builder fails to load sub-panel with NLS / Respource bundle
> ---
>
> Key: NETBEANS-633
> URL: https://issues.apache.org/jira/browse/NETBEANS-633
> Project: NetBeans
>  Issue Type: Bug
>  Components: guibuilder - Binding, guibuilder - Natural Layout
>Affects Versions: 8.2, 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Critical
>  Labels: GUI, MissingResourceException, Swing, 
> internationalization
> Attachments: image-2018-04-10-10-32-31-818.png, swing_bundles.7z
>
>
> h2. expected
>  * To be able to view and edit parent JPanel screen in Netbeans GUI Builder.
>  * This should be possible no matter what the sub-panels do
>  * If/when a resource is missing or unresolved some kind of place holder can 
> be used
> h2. actual
>  * We have several GUI JPanel-s which act as containers for a "details" 
> screen, sub-panel layouts.
>  * In one of the sub-panels we introduced a resource bundle to display 
> options for check-boxes.. 
>  * This details screen works as a sub-panel at run-time.
>  * This details screen works as in the GUI designer/builder fine.
>  * However whenever we load the parent panel, the container it fails with a 
> *{{MissingResourceException}}*.
> !image-2018-04-10-10-32-31-818.png!
>  
>  * This is somewhat of a SHOW STOPPER as far as internationalisation goes for 
> reusable GUI components I'm afraid.
>  * The situation is quite mysterious as well since the Resource file is 
> found, loaded and displayed by the detail JPanel screen which is IN THE SAME 
> java Package at runtime and design time.
>  * The resource bundle itself is in the {{resources/bundles}} folder of 
> common library (Gradle directory layout) and is "fixed" so to speak at design 
> time.
>  * I believe there is some fundamental flaw here because you must have 
> parents able to load sub-components with or without any resource strings.
>  
> h2. supporting information
> {noformat}
> --[ *stacktrace* ]--
> java.util.MissingResourceException: Can't find bundle for base name 
> bundles/SpaAssurancesText, locale en_AU
>     at 
> java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
>     at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.initComponents(JPanelSpaDetails.java:1608)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:148)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:141)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at 
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
>     at java.base/java.lang.Class.newInstance(Class.java:560)
>     at 
> org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:155)
>     at 
> org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:227)
>     at 
> org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:166)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:755)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:799)
>     at 
> 

[jira] [Updated] (NETBEANS-633) GUI Builder fails to load sub-panel with NLS / Respource bundle

2018-05-01 Thread will mason (JIRA)

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

will mason updated NETBEANS-633:

Attachment: swing_bundles.7z

> GUI Builder fails to load sub-panel with NLS / Respource bundle
> ---
>
> Key: NETBEANS-633
> URL: https://issues.apache.org/jira/browse/NETBEANS-633
> Project: NetBeans
>  Issue Type: Bug
>  Components: guibuilder - Binding, guibuilder - Natural Layout
>Affects Versions: 8.2, 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Critical
>  Labels: GUI, MissingResourceException, Swing, 
> internationalization
> Attachments: image-2018-04-10-10-32-31-818.png, swing_bundles.7z
>
>
> h2. expected
>  * To be able to view and edit parent JPanel screen in Netbeans GUI Builder.
>  * This should be possible no matter what the sub-panels do
>  * If/when a resource is missing or unresolved some kind of place holder can 
> be used
> h2. actual
>  * We have several GUI JPanel-s which act as containers for a "details" 
> screen, sub-panel layouts.
>  * In one of the sub-panels we introduced a resource bundle to display 
> options for check-boxes.. 
>  * This details screen works as a sub-panel at run-time.
>  * This details screen works as in the GUI designer/builder fine.
>  * However whenever we load the parent panel, the container it fails with a 
> *{{MissingResourceException}}*.
> !image-2018-04-10-10-32-31-818.png!
>  
>  * This is somewhat of a SHOW STOPPER as far as internationalisation goes for 
> reusable GUI components I'm afraid.
>  * The situation is quite mysterious as well since the Resource file is 
> found, loaded and displayed by the detail JPanel screen which is IN THE SAME 
> java Package at runtime and design time.
>  * The resource bundle itself is in the {{resources/bundles}} folder of 
> common library (Gradle directory layout) and is "fixed" so to speak at design 
> time.
>  * I believe there is some fundamental flaw here because you must have 
> parents able to load sub-components with or without any resource strings.
>  
> h2. supporting information
> {noformat}
> --[ *stacktrace* ]--
> java.util.MissingResourceException: Can't find bundle for base name 
> bundles/SpaAssurancesText, locale en_AU
>     at 
> java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
>     at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.initComponents(JPanelSpaDetails.java:1608)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:148)
>     at 
> au.com.fourtel.fourabs.client.spas.JPanelSpaDetails.(JPanelSpaDetails.java:141)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
>     at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at 
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
>     at java.base/java.lang.Class.newInstance(Class.java:560)
>     at 
> org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:155)
>     at 
> org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:227)
>     at 
> org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:166)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:755)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:799)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:943)
>     at 
> org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:799)
>     at 
>