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

2018-03-27 Thread Tim Boudreau (JIRA)

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

Tim Boudreau commented on NETBEANS-373:
---

It's not "we" per-se - it's the AWT tree lock - a global lock baked into the 
bones of AWT and Swing, and the root cause of almost all the deadlocks I fixed 
over 11 years of working on it.  In short, it is _never_ __ safe to do 
_anything_ to AWT or Swing components on any thread other the event thread 
(even if it looks like it works, a different Swing look and feel may call 
different methods or the same methods in a different order, and far too many 
component methods will take the tree lock - exactly the problem here).

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.

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

[jira] [Updated] (NETBEANS-533) new JFrame is opening with Exception after commit to Git or Mercurial

2018-03-27 Thread Vldimir Orlyansky (JIRA)

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

Vldimir Orlyansky updated NETBEANS-533:
---
Environment: 
NetBeans build 379
JDK 8 and 10
Windows 10

  was:
NetBeans build 379 JDK 8 and 10
Windows 10


> new JFrame is opening with Exception after commit to Git or Mercurial
> -
>
> Key: NETBEANS-533
> URL: https://issues.apache.org/jira/browse/NETBEANS-533
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git, versioncontrol - Mercurial
>Affects Versions: 9.0
> Environment: NetBeans build 379
> JDK 8 and 10
> Windows 10
>Reporter: Vldimir Orlyansky
>Priority: Minor
> Attachments: NewJFrame2_7.dump, NewJFrame_1.dump
>
>
> Found through NetCat 9.0
> Problem with JFrame in project with version control.
> If i create new JFrame i can work with this without problem. When new JFrame 
> has status "new" i do not see any problem.
> After commit if i open JFrame again i have exception.
> Dump files i have attached to this Jira ticket.



--
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-346) Tabs, characters, and the right Margin don't line up

2018-03-27 Thread JIRA

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

Matthias Bläsing commented on NETBEANS-346:
---

I just checked with a master build from yesterday on these combinations:

OpenJDK 8u151 on Ubuntu Linux

Oracle JDK 10 on Ubuntu Linux

Oracle JDK 8 on Windows 10

On all these platforms I see correct alignment of one tab character and 8 
spaces and I also see the margin line exactly between the 80. and 81. character.

As I don't own a mac, here end my options to check this further. Thinks that 
might be relevant to check:
 * which JDK is installed (version, vendor)
 * is the selected editor font present on the system? (maybe you are seeing a 
fallback)
 * Check if it helps to switch the editor font to a different monospaced font

> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Critical
> Fix For: 9.0
>
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source 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-03-27 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-373:
--

My main question here is why do we need to hold a lock on the object while the 
dialog is visible? Also, would a heap dump help more?

> 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
> Attachments: 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] [Comment Edited] (NETBEANS-532) NPE running profiler

2018-03-27 Thread Gili (JIRA)

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

Gili edited comment on NETBEANS-532 at 3/27/18 5:08 PM:


This exception only occurs when running under JDK 10. JDK 9.0.4 works fine.


was (Author: cowwoc):
This exception only occurs when running under JDK 10.

> NPE running profiler
> 
>
> Key: NETBEANS-532
> URL: https://issues.apache.org/jira/browse/NETBEANS-532
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-242-on-20180323)
> 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_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Critical
>
> When running the profiler on a Maven project I get:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
>   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)
> {code}
> This issues 100% of the time.



--
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

Sorry, no. I'm wrong. Placing Netbeans in a folder with no space *does* fix 
this problem. I thought you were talking about the Maven directory (and this 
makes no difference).

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Gili (JIRA)

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

Gili commented on NETBEANS-245:
---

[~skygo] Yes. The issue is still there.

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {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] [Updated] (NETBEANS-532) NPE running profiler

2018-03-27 Thread Gili (JIRA)

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

Gili updated NETBEANS-532:
--
Environment: 
Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-242-on-20180323)
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_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

  was:
Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-242-on-20180323)
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_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

Maven 3.5.2

Description: 
When running the profiler on a Maven project I get:

{code}
java.lang.NullPointerException
at 
org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
at 
org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
at 
org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
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)
{code}

This issues 100% of the time.

  was:
When running the profiler on a Maven project I get:

{code}
java.lang.NullPointerException
at 
org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
at 
org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
at 
org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
at 
org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
at 
org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
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 

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

2018-03-27 Thread Tim Boudreau (JIRA)

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

Tim Boudreau commented on NETBEANS-373:
---

The root of the problem is here:
[http://hg.openjdk.java.net/jdk/jdk/file/ce86061aff12/src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessible.java#l102]

What's missing from the stack trace is how CAccessible gets a reference to the 
dialog or its contents, since that is missing from the stack trace.  Best guess 
is some code path through the bowels of the JDK when the dialog's native peer 
is created - ?

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

[jira] [Commented] (NETBEANS-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame

2018-03-27 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-348:
--

Ok. That makes sense. Removing blocker for 9.0

> Change DialogDisplayer.createDialog to be able to take a Window instead of a 
> Frame
> --
>
> Key: NETBEANS-348
> URL: https://issues.apache.org/jira/browse/NETBEANS-348
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Blocker
>
> Blocking since this would be an API change. Depends on NETBEANS-320.



--
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-03-27 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-373:
--

This will still render Netbeans nigh unusable to Mac users unless they decide 
to never use refactoring if using an up-to-date version of the JDK. This 
includes Java 9.

> 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
>
> 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-530) No Bind option on the popup to create Bindings

2018-03-27 Thread efrem mccrimon (JIRA)

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

efrem mccrimon commented on NETBEANS-530:
-

Thank you, I will update the Test Spec and remove it for NB 9.0

Thanks and regards,


Efrem Mc


On Tue, Mar 27, 2018 at 9:18 AM, Geertjan Wielenga (JIRA)


> No Bind option on the popup to create Bindings 
> ---
>
> Key: NETBEANS-530
> URL: https://issues.apache.org/jira/browse/NETBEANS-530
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Window 8.1, MacOs 10.11.6
>Reporter: efrem mccrimon
>Priority: Major
> Fix For: 8.2
>
> Attachments: no_bind_popup_item.JPG
>
>
> Trying to create bindings, created a textfield and Slider to demonstrate and 
> test basic bean binding.  From the Design view, I wanted to bind the slider 
> to the text field.
> Right-click the text field component and wanted to choose Bind.  There is not 
> Bind option on the popup menu.  It is not present in build #375, or #378.  It 
> is on NB 8.2 and NB 8.02.



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

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

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



[jira] [Created] (NETBEANS-530) No Bind option on the popup to create Bindings

2018-03-27 Thread efrem mccrimon (JIRA)
efrem mccrimon created NETBEANS-530:
---

 Summary: No Bind option on the popup to create Bindings 
 Key: NETBEANS-530
 URL: https://issues.apache.org/jira/browse/NETBEANS-530
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Code
Affects Versions: 9.0
 Environment: Window 8.1, MacOs 10.11.6
Reporter: efrem mccrimon
 Fix For: 8.2
 Attachments: no_bind_popup_item.JPG

Trying to create bindings, created a textfield and Slider to demonstrate and 
test basic bean binding.  From the Design view, I wanted to bind the slider to 
the text field.
Right-click the text field component and wanted to choose Bind.  There is not 
Bind option on the popup menu.  It is not present in build #375, or #378.  It 
is on NB 8.2 and NB 8.02.



--
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-245) Profiler fails to launch when using Maven 3.5.x

2018-03-27 Thread Eric Barboni (JIRA)

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

Eric Barboni commented on NETBEANS-245:
---

Hi Gili, 

do you have the same issue if NetBeans is put on a folder with no space in 
filename?

> Profiler fails to launch when using Maven 3.5.x
> ---
>
> Key: NETBEANS-245
> URL: https://issues.apache.org/jira/browse/NETBEANS-245
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> Profiler+Calibration+Run
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {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] [Updated] (NETBEANS-463) IllegalArgumentExcedption thrown if var type used for instance variables

2018-03-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated NETBEANS-463:

Labels: JDK10-LVTI pull-request-available  (was: JDK10-LVTI)

> IllegalArgumentExcedption thrown if var type used for instance variables
> 
>
> Key: NETBEANS-463
> URL: https://issues.apache.org/jira/browse/NETBEANS-463
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Reema Taneja
>Priority: Trivial
>  Labels: JDK10-LVTI, pull-request-available
> Attachments: JavaApplication4.java
>
>
> Var type can only be used for local variables but this exception should not 
> be thrown. We should display appropriate hint for invalid var usage.
> java.lang.IllegalArgumentException: Unsupported type: none, kind: NONE
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:294)
>  at 
> org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:148)
>  at 
> org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:476)
>  at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:296)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:153)
>  at 
> org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:55)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-27 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-492:


OK, done: [https://github.com/apache/incubator-netbeans/pull/467]

I disabled the QuickSearchProvider for JavaHelp so that the Quick Search text 
field continues to work for all other QuickSearchProviders, just not for 
JavaHelp (until JavaHelp is included at some point in the future).

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Geertjan Wielenga
>Priority: Critical
>  Labels: pull-request-available
> Attachments: exception.txt
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated NETBEANS-492:

Labels: pull-request-available  (was: )

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Geertjan Wielenga
>Priority: Critical
>  Labels: pull-request-available
> Attachments: exception.txt
>
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-27 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga reassigned NETBEANS-492:
--

Assignee: Geertjan Wielenga

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Geertjan Wielenga
>Priority: Critical
> Attachments: exception.txt
>
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-27 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-492:


I think rather than hiding the whole textfield, we should disable the 
QuickSearchProvider for JavaHelp. I can look into this.

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
> Attachments: exception.txt
>
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-491) Turn off exception reporter

2018-03-27 Thread JIRA

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

Jiří Kovalský commented on NETBEANS-491:


[~rtaneja], would you please be so kind and hide the button in question? Thanks 
a lot!

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Taneja
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-492) Quick Search for help throws java.lang.ClassNotFoundException

2018-03-27 Thread JIRA

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

Jiří Kovalský commented on NETBEANS-492:


If we cannot bundle the search engine fo 9.0 GA, then let's hide the Quick 
Search textfield not to disappoint our users looking for help in the IDE itself.

> Quick Search for help throws java.lang.ClassNotFoundException
> -
>
> Key: NETBEANS-492
> URL: https://issues.apache.org/jira/browse/NETBEANS-492
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Help System
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
> Attachments: exception.txt
>
>
> It is not possible to search for any help in the latest development builds of 
> Apache NetBeans. IDE just throws exception [1] instead of opening a window 
> with relevant help information.
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Standard help window is opened with relevant information.
> *Actual:*
> NetBeans opens an exception dialog.
> 
> [1] java.lang.ClassNotFoundException: javax.help.search.SearchEngine
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ...
> Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
> starting from ModuleCL@74a3b713[org.netbeans.modules.javahelp] with possible 
> defining loaders null and declared parents 
> [org.netbeans.MainImpl$BootClassLoader@87aac27, 
> ModuleCL@73eccb6d[org.openide.nodes] ...
> [snip]



--
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-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame

2018-03-27 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-348:


Is this really a blocker? 

> Change DialogDisplayer.createDialog to be able to take a Window instead of a 
> Frame
> --
>
> Key: NETBEANS-348
> URL: https://issues.apache.org/jira/browse/NETBEANS-348
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Blocker
>
> Blocking since this would be an API change. Depends on NETBEANS-320.



--
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-491) Turn off exception reporter

2018-03-27 Thread JIRA

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

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: Reema Taneja

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Taneja
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-348) Change DialogDisplayer.createDialog to be able to take a Window instead of a Frame

2018-03-27 Thread JIRA

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

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

> Change DialogDisplayer.createDialog to be able to take a Window instead of a 
> Frame
> --
>
> Key: NETBEANS-348
> URL: https://issues.apache.org/jira/browse/NETBEANS-348
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Blocker
>
> Blocking since this would be an API change. Depends on NETBEANS-320.



--
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-03-27 Thread JIRA

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

Jiří Kovalský commented on NETBEANS-373:


This is not fixed yet. Removing 9.0 version.

> 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
>
> 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] [Updated] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later

2018-03-27 Thread JIRA

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

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

> 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
>
> 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] [Assigned] (NETBEANS-491) Turn off exception reporter

2018-03-27 Thread JIRA

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

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: Reema Sardana

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Sardana
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-491) Turn off exception reporter

2018-03-27 Thread JIRA

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

Jiří Kovalský reassigned NETBEANS-491:
--

Assignee: (was: Reema Sardana)

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Critical
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



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



[incubator-netbeans] branch master updated: [NETBEANS-461] Better and more correct way to copy the extbrowser DLLs from the archive into the build. (#464)

2018-03-27 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c43c13e  [NETBEANS-461] Better and more correct way to copy the 
extbrowser DLLs from the archive into the build. (#464)
c43c13e is described below

commit c43c13ee240c4409fe74623d09624a4dfd73bc06
Author: Jan Lahoda 
AuthorDate: Tue Mar 27 12:43:33 2018 +0200

[NETBEANS-461] Better and more correct way to copy the extbrowser DLLs from 
the archive into the build. (#464)
---
 extbrowser/build.xml| 6 --
 extbrowser/nbproject/project.properties | 2 ++
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/extbrowser/build.xml b/extbrowser/build.xml
index 0d4c371..3df5dbd 100644
--- a/extbrowser/build.xml
+++ b/extbrowser/build.xml
@@ -22,12 +22,6 @@
 
 
 
-
-
-
-
-
-
 
 
 
diff --git a/extbrowser/nbproject/project.properties 
b/extbrowser/nbproject/project.properties
index 3a67448..c00637d 100644
--- a/extbrowser/nbproject/project.properties
+++ b/extbrowser/nbproject/project.properties
@@ -18,6 +18,8 @@
 javadoc.arch=${basedir}/arch.xml
 # test.unit.cp.extra and/or test.unit.run.cp.extra
 javac.source=1.7
+release.external/extbrowser-dlls-18.03.15.zip!/extbrowser.dll=modules/lib/extbrowser.dll
+release.external/extbrowser-dlls-18.03.15.zip!/extbrowser64.dll=modules/lib/extbrowser64.dll
 test.config.stableBTD.includes=**/*Test.class
 test.config.stableBTD.excludes=\
 **/ExtWebBrowserTest.class,\

-- 
To stop receiving notification emails like this one, please contact
geert...@apache.org.

-
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-502) nb-javac Does Not Install

2018-03-27 Thread will mason (JIRA)

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

will mason commented on NETBEANS-502:
-

I have been running Netbeans 9 with java 8 since this bug was entered.  Today, 
after a day or so of use I was again prompted for {{nb-javac library}} and this 
time it loaded (seemingly).

I am unsure how/IF  I  can check on what modules are present in Netbeans after 
start-up.

So I gave Netbeans 9  a run with JDK 10.0 after that and didn't get a message 
(yet) about the nb-javac.  

Mysteriously though, the About box reports Netbeans at level {{8.2 patch 2}}, 
as shown below.


{code:java}
Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-205-on-20180202)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
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\watchdog
Cache directory: Z:\tmp\.other\cache\netbeans\watchdog-09
{code}


> nb-javac Does Not Install 
> --
>
> Key: NETBEANS-502
> URL: https://issues.apache.org/jira/browse/NETBEANS-502
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor, platform - Module System, platform - 
> Plugin Manager
>Affects Versions: 9.0
> Environment: >Log Session: Friday, March 23, 2018 at 11:39:24 AM 
> Australian Eastern Daylight Time
> >System Info:
>   Product Version = Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 10; Java HotSpot(TM) 64-Bit Server VM 10+46; 
> Oracle Corporation
>   Runtime = Java(TM) SE Runtime Environment 10+46
>   Java Home   = b:\lang\java\jdk\v10\v10.00\x64
>   System Locale; Encoding = en_AU (nb); Cp1252
>   Home Directory  = C:\Users\wmason
>   Current Directory   = D:\work\products\watchdog\r08.00.00--repeater
>   User Directory  = Z:\tmp\.other\user\netbeans\v09.00-beta\watchdog
>   Cache Directory = Z:\tmp\.other\cache\netbeans\watchdog-09
>   Installation= B:\dev\netbeans\v09.00-beta\nb
> B:\dev\netbeans\v09.00-beta\ide
> B:\dev\netbeans\v09.00-beta\extide
> B:\dev\netbeans\v09.00-beta\java
> B:\dev\netbeans\v09.00-beta\apisupport
> B:\dev\netbeans\v09.00-beta\websvccommon
> B:\dev\netbeans\v09.00-beta\profiler
> B:\dev\netbeans\v09.00-beta\harness
> B:\dev\netbeans\v09.00-beta\groovy
> B:\dev\netbeans\v09.00-beta\javafx
> B:\dev\netbeans\v09.00-beta\platform
>Reporter: will mason
>Priority: Major
>  Labels: javac, load-failure, regresion
>
> Using Java 10 on Windows 10.
> h3. expectation
> _expectation_ #1
> * Click "Install nb-javac" module 
> * nb-javac module is installed
> * restart netbeans
> * nb-javac module functions correctly
> * I get on with my work.
> Failing that ...
> * I expect to see a URL where I can download nb-javac
> * Expect a install sheet on web or in the readme or help area
> * A clear process on how to  install something like nb-javac, since I gather 
> it is not a plugin.
>*  I checked available plugins no {{nb-javac}} was seen.
> _expectation _#2
> *  Whe/If module load or other actions is blocked by something like  the 
> absent Kenai link for CoolEditorActions 
> * I'd like a pop-up or error message defining the problem.
> * I prefer it it then allows me to skip that problem and continue
> * I want something in the log to say: Loading nb-javac and nb-javac 
> loaded/failed because 
> * I'd like some kind of message saying were to go
> h3. problem(s)
> # n-javac can not be loaded 
> # module load fails on missing plugin location -- No message or chance to 
> skip.
> When I started NetBeans the first time – There is a _very small_ message to 
> load  "nb-javac" with the instruction "click me".  There is NO information 
> about that action,  a URL or Plutin name, etc.
> * see: [NETBEANS-244 -- *nb-javac notification under JDK9 is very easy to 
> overlook*|https://issues.apache.org/jira/browse/NETBEANS-244]
> I clicked this action.  The download failed with this message:
>   {color:#205081}*Resolve "nb-javac library" Reference Problem*
>   Check your proxy settings or try again later. The server may be 
>  unavailable at the moment. You may also want to make sure that your 
>  firewall is not blocking network traffic.{color}
>