[jira] [Commented] (NETBEANS-4553) java.lang.NullPointerException error

2020-07-07 Thread Kenneth Fajardo (Jira)


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

Kenneth Fajardo commented on NETBEANS-4553:
---

sir how can i attach log as a text file sorry im a newbie and install netbeans 
for my activity and requirement in my subject

> java.lang.NullPointerException error
> 
>
> Key: NETBEANS-4553
> URL: https://issues.apache.org/jira/browse/NETBEANS-4553
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Kenneth Fajardo
>Priority: Major
>
> -->Log
>  Session: Wednesday, July 8, 2020 at 1:59:23 PM Singapore Standard 
> Time>System Info:   Product Version         = Apache NetBeans IDE 12.0  
> Operating System        = Windows 7 version 6.1 running on amd64  Java; VM; 
> Vendor        = 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7; Oracle 
> Corporation  Runtime                 = Java(TM) SE Runtime Environment 
> 14.0.1+7  Java Home               = C:\Program Files\Java\jdk-14.0.1  System 
> Locale; Encoding = en_US (nb); Cp1252  Home Directory          = 
> C:\Users\samsung  Current Directory       = C:\netbeans\bin  User Directory   
>        = C:\Users\samsung\AppData\Roaming\NetBeans\12.0  Cache Directory      
>    = C:\Users\samsung\AppData\Local\NetBeans\Cache\12.0  Installation         
>    = C:\netbeans\nb                            C:\netbeans\ergonomics         
>                    C:\netbeans\ide                            
> C:\netbeans\extide                            C:\netbeans\java                
>             C:\netbeans\apisupport                            
> C:\netbeans\webcommon                            C:\netbeans\websvccommon     
>                        C:\netbeans\enterprise                            
> C:\netbeans\profiler                            C:\netbeans\php               
>              C:\netbeans\harness                            
> C:\netbeans\groovy                            C:\netbeans\javafx              
>               C:\netbeans\platform  Boot & Ext. Classpath   =   Application 
> Classpath   = 
> C:\netbeans\platform\lib\boot.jar;C:\netbeans\platform\lib\org-openide-modules.jar;C:\netbeans\platform\lib\org-openide-util-lookup.jar;C:\netbeans\platform\lib\org-openide-util-ui.jar;C:\netbeans\platform\lib\org-openide-util.jar
>   Startup Classpath       = 
> C:\netbeans\platform\core\asm-7.2.jar;C:\netbeans\platform\core\asm-commons-7.2.jar;C:\netbeans\platform\core\asm-tree-7.2.jar;C:\netbeans\platform\core\core-base.jar;C:\netbeans\platform\core\core.jar;C:\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\netbeans\platform\core\org-openide-filesystems.jar;C:\netbeans\nb\core\org-netbeans-upgrader.jar;C:\netbeans\nb\core\locale\core_nb.jar---WARNING
>  [org.netbeans.core.startup.NbEvents]: The extension 
> C:\netbeans\ide\modules\ext\jcodings-1.0.18.jar may be multiply loaded by 
> modules: [C:\netbeans\ide\modules\org-netbeans-libs-bytelist.jar, 
> C:\netbeans\ide\modules\org-netbeans-modules-textmate-lexer.jar]; see: 
> http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-pathINFO
>  [org.netbeans.modules.netbinox]: Install area set to 
> file:/C:/netbeans/WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is 
> deprecated.WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.WARNING 
> [org.openide.filesystems.Ordering]: Not all children in Services/ marked with 
> the position attribute: [AutoupdateType, Browsers, Bugtracking, 
> DiffProviders, Hidden, IndentEngine, Introspector, JavaHelp, MIMEResolver, 
> OptionProcessors, ProjectConvertors, PropertyEditorManager, 
> VersioningSystem], but some are: 
> [org-netbeans-modules-selenium2-SeleniumTestCreatorProvider.instance]INFO 
> [org.netbeans.core.startup.NbEvents]: Turning on modules: slf4j.jdk14 [1.7.28 
> 1.7.28] slf4j.api [1.7.28 1.7.28] org.openide.util.lookup [8.41 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util [9.15 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util.ui [9.16 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.modules [7.56 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] 
> org.netbeans.api.annotations.common/1 [1.35 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.file

[jira] [Commented] (NETBEANS-4553) java.lang.NullPointerException error

2020-07-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4553:


Could you please attach your log as a text file and write steps to reproduce it 
if possible?

> java.lang.NullPointerException error
> 
>
> Key: NETBEANS-4553
> URL: https://issues.apache.org/jira/browse/NETBEANS-4553
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Kenneth Fajardo
>Priority: Major
>
> -->Log
>  Session: Wednesday, July 8, 2020 at 1:59:23 PM Singapore Standard 
> Time>System Info:   Product Version         = Apache NetBeans IDE 12.0  
> Operating System        = Windows 7 version 6.1 running on amd64  Java; VM; 
> Vendor        = 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7; Oracle 
> Corporation  Runtime                 = Java(TM) SE Runtime Environment 
> 14.0.1+7  Java Home               = C:\Program Files\Java\jdk-14.0.1  System 
> Locale; Encoding = en_US (nb); Cp1252  Home Directory          = 
> C:\Users\samsung  Current Directory       = C:\netbeans\bin  User Directory   
>        = C:\Users\samsung\AppData\Roaming\NetBeans\12.0  Cache Directory      
>    = C:\Users\samsung\AppData\Local\NetBeans\Cache\12.0  Installation         
>    = C:\netbeans\nb                            C:\netbeans\ergonomics         
>                    C:\netbeans\ide                            
> C:\netbeans\extide                            C:\netbeans\java                
>             C:\netbeans\apisupport                            
> C:\netbeans\webcommon                            C:\netbeans\websvccommon     
>                        C:\netbeans\enterprise                            
> C:\netbeans\profiler                            C:\netbeans\php               
>              C:\netbeans\harness                            
> C:\netbeans\groovy                            C:\netbeans\javafx              
>               C:\netbeans\platform  Boot & Ext. Classpath   =   Application 
> Classpath   = 
> C:\netbeans\platform\lib\boot.jar;C:\netbeans\platform\lib\org-openide-modules.jar;C:\netbeans\platform\lib\org-openide-util-lookup.jar;C:\netbeans\platform\lib\org-openide-util-ui.jar;C:\netbeans\platform\lib\org-openide-util.jar
>   Startup Classpath       = 
> C:\netbeans\platform\core\asm-7.2.jar;C:\netbeans\platform\core\asm-commons-7.2.jar;C:\netbeans\platform\core\asm-tree-7.2.jar;C:\netbeans\platform\core\core-base.jar;C:\netbeans\platform\core\core.jar;C:\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\netbeans\platform\core\org-openide-filesystems.jar;C:\netbeans\nb\core\org-netbeans-upgrader.jar;C:\netbeans\nb\core\locale\core_nb.jar---WARNING
>  [org.netbeans.core.startup.NbEvents]: The extension 
> C:\netbeans\ide\modules\ext\jcodings-1.0.18.jar may be multiply loaded by 
> modules: [C:\netbeans\ide\modules\org-netbeans-libs-bytelist.jar, 
> C:\netbeans\ide\modules\org-netbeans-modules-textmate-lexer.jar]; see: 
> http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-pathINFO
>  [org.netbeans.modules.netbinox]: Install area set to 
> file:/C:/netbeans/WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is 
> deprecated.WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.WARNING 
> [org.openide.filesystems.Ordering]: Not all children in Services/ marked with 
> the position attribute: [AutoupdateType, Browsers, Bugtracking, 
> DiffProviders, Hidden, IndentEngine, Introspector, JavaHelp, MIMEResolver, 
> OptionProcessors, ProjectConvertors, PropertyEditorManager, 
> VersioningSystem], but some are: 
> [org-netbeans-modules-selenium2-SeleniumTestCreatorProvider.instance]INFO 
> [org.netbeans.core.startup.NbEvents]: Turning on modules: slf4j.jdk14 [1.7.28 
> 1.7.28] slf4j.api [1.7.28 1.7.28] org.openide.util.lookup [8.41 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util [9.15 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util.ui [9.16 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.modules [7.56 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] 
> org.netbeans.api.annotations.common/1 [1.35 
> 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.filesystems [9.18 
> 12.0-631bd69c

[jira] [Created] (NETBEANS-4553) java.lang.NullPointerException error

2020-07-07 Thread Kenneth Fajardo (Jira)
Kenneth Fajardo created NETBEANS-4553:
-

 Summary: java.lang.NullPointerException error
 Key: NETBEANS-4553
 URL: https://issues.apache.org/jira/browse/NETBEANS-4553
 Project: NetBeans
  Issue Type: Bug
Reporter: Kenneth Fajardo


-->Log
 Session: Wednesday, July 8, 2020 at 1:59:23 PM Singapore Standard Time>System 
Info:   Product Version         = Apache NetBeans IDE 12.0  Operating System    
    = Windows 7 version 6.1 running on amd64  Java; VM; Vendor        = 14.0.1; 
Java HotSpot(TM) 64-Bit Server VM 14.0.1+7; Oracle Corporation  Runtime         
        = Java(TM) SE Runtime Environment 14.0.1+7  Java Home               = 
C:\Program Files\Java\jdk-14.0.1  System Locale; Encoding = en_US (nb); Cp1252  
Home Directory          = C:\Users\samsung  Current Directory       = 
C:\netbeans\bin  User Directory          = 
C:\Users\samsung\AppData\Roaming\NetBeans\12.0  Cache Directory         = 
C:\Users\samsung\AppData\Local\NetBeans\Cache\12.0  Installation            = 
C:\netbeans\nb                            C:\netbeans\ergonomics                
            C:\netbeans\ide                            C:\netbeans\extide       
                     C:\netbeans\java                            
C:\netbeans\apisupport                            C:\netbeans\webcommon         
                   C:\netbeans\websvccommon                            
C:\netbeans\enterprise                            C:\netbeans\profiler          
                  C:\netbeans\php                            
C:\netbeans\harness                            C:\netbeans\groovy               
             C:\netbeans\javafx                            C:\netbeans\platform 
 Boot & Ext. Classpath   =   Application Classpath   = 
C:\netbeans\platform\lib\boot.jar;C:\netbeans\platform\lib\org-openide-modules.jar;C:\netbeans\platform\lib\org-openide-util-lookup.jar;C:\netbeans\platform\lib\org-openide-util-ui.jar;C:\netbeans\platform\lib\org-openide-util.jar
  Startup Classpath       = 
C:\netbeans\platform\core\asm-7.2.jar;C:\netbeans\platform\core\asm-commons-7.2.jar;C:\netbeans\platform\core\asm-tree-7.2.jar;C:\netbeans\platform\core\core-base.jar;C:\netbeans\platform\core\core.jar;C:\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\netbeans\platform\core\org-openide-filesystems.jar;C:\netbeans\nb\core\org-netbeans-upgrader.jar;C:\netbeans\nb\core\locale\core_nb.jar---WARNING
 [org.netbeans.core.startup.NbEvents]: The extension 
C:\netbeans\ide\modules\ext\jcodings-1.0.18.jar may be multiply loaded by 
modules: [C:\netbeans\ide\modules\org-netbeans-libs-bytelist.jar, 
C:\netbeans\ide\modules\org-netbeans-modules-textmate-lexer.jar]; see: 
http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-pathINFO
 [org.netbeans.modules.netbinox]: Install area set to file:/C:/netbeans/WARNING 
[org.netbeans.core.modules]: the modules [org.netbeans.modules.xml.text] use 
org.netbeans.modules.editor.deprecated.pre65formatting which is 
deprecated.WARNING [org.netbeans.core.modules]: the modules 
[org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
org.netbeans.modules.editor.structure which is deprecated.WARNING 
[org.openide.filesystems.Ordering]: Not all children in Services/ marked with 
the position attribute: [AutoupdateType, Browsers, Bugtracking, DiffProviders, 
Hidden, IndentEngine, Introspector, JavaHelp, MIMEResolver, OptionProcessors, 
ProjectConvertors, PropertyEditorManager, VersioningSystem], but some are: 
[org-netbeans-modules-selenium2-SeleniumTestCreatorProvider.instance]INFO 
[org.netbeans.core.startup.NbEvents]: Turning on modules: slf4j.jdk14 [1.7.28 
1.7.28] slf4j.api [1.7.28 1.7.28] org.openide.util.lookup [8.41 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util [9.15 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.util.ui [9.16 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.modules [7.56 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] 
org.netbeans.api.annotations.common/1 [1.35 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.filesystems [9.18 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.awt [7.76 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.netbeans.api.progress/1 
[1.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] 
org.netbeans.api.progress.nb [1.55 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.dialogs [7.50 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.nodes [7.53 
12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241] org.openide.windows [6.85 
12

[jira] [Resolved] (NETBEANS-2129) New Gradle Java Application doesn't check if Application exists in Path

2020-07-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-2129.
---
Resolution: Duplicate

Marked the the later one as primary as it is reported through netcat.

> New Gradle Java Application doesn't check if Application exists in Path
> ---
>
> Key: NETBEANS-2129
> URL: https://issues.apache.org/jira/browse/NETBEANS-2129
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: michael anderl
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> When I create a new gradle java application, NB doesn't check if there is an 
> existing java gradle application in the project folder. Instead it just 
> creates a new one inside the existing one.
> No error message like in NB9 or before
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-4514) Everytime I open Netbeans version 12.0 it lags completely. It takes about a minute for it to load.

2020-07-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4514:
---

If you have some dead links on the desktop/home folder, try to get rid of them.

> Everytime I open Netbeans version 12.0 it lags completely. It takes about a 
> minute for it to load.
> --
>
> Key: NETBEANS-4514
> URL: https://issues.apache.org/jira/browse/NETBEANS-4514
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: I have attached an image of the Laptop being used
>Reporter: Juan Paz
>Priority: Major
> Fix For: 12.0
>
> Attachments: IDE Log.txt, Laptop Info.PNG, UI Log.txt
>
>
> I'm getting lag when loading netbeans, about a minute before it completely 
> loads. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4185) PHP: Phpdoc is ignored when :self return type used

2020-07-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4185:
---
Component/s: (was: php - Refactoring)
 (was: php - Code Analysis)
 php - Editor
   Priority: Major  (was: Critical)

> PHP: Phpdoc is ignored when :self return type used
> --
>
> Key: NETBEANS-4185
> URL: https://issues.apache.org/jira/browse/NETBEANS-4185
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 11.0, 11.2
>Reporter: Michael Vorisek
>Assignee: Tomáš Procházka
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:php}
> class A
> {
> public $x;
> /**
>  * @return static
>  */
> public function x(): self { }
> }
> class B extends A
> {
> public $y;
> }
> $cl = new B();
> $cl->x()-> // ->y is not autohinted due to the "self" return type even if 
> documented with "static" return type
> {code}
> The return type of B::x() should be "B" (static) instead of "A" (self).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4552) java.lang.UnsupportedOperationException command: run

2020-07-07 Thread sun java (Jira)


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

sun java updated NETBEANS-4552:
---
Description: 
hello

when trying to run my modular project project i get this exception.

{color:#172b4d}*java.lang.UnsupportedOperationException: command: run, 
JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c]java.lang.UnsupportedOperationException:
 command: run, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c] at 
org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303) at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
 at 
org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
 at java.base/java.util.Optional.ifPresent(Optional.java:176) at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
 at 
org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
 at 
org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
 at 
org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
 at org.openide.util.Mutex.writeAccess(Mutex.java:285) at 
org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
 at 
org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
 at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316) 
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 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)*{color}

  was:
hello

when trying to run my project i get this exception.

{color:#172b4d}*java.lang.UnsupportedOperationException: command: run, 
JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c]java.lang.UnsupportedOperationException:
 command: run, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c] at 
org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303) at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
 at 
org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$S

[jira] [Updated] (NETBEANS-4290) SCSS highlighting error

2020-07-07 Thread Libor (Jira)


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

Libor updated NETBEANS-4290:

Affects Version/s: 12.0

> SCSS highlighting error
> ---
>
> Key: NETBEANS-4290
> URL: https://issues.apache.org/jira/browse/NETBEANS-4290
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 12.0, 11.2
> Environment: Win10
>Reporter: Libor
>Priority: Major
>  Labels: highlighter, sass
>
> Hello,
> for some time (I've been lazy/busy to report) the following code compiles 
> fine, but marks SCSS files in editor as broken.
> Example code:
> {code:java}
> $i: 1;
> .selector
> {
> &--#{$i}// <-- Unexpected token HASH_SYMBOL found
> {
> ...
> }
> &__#{$i}// <-- Unexpected token IDENT found
> {
> ...
> }
> }
> The real problem is, when a file is marked as with errors, compiler does not 
> always detect changes and does not recompile when some of imported files 
> changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Closed] (NETBEANS-2979) Does not save password

2020-07-07 Thread Clifford Dann (Jira)


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

Clifford Dann closed NETBEANS-2979.
---
Resolution: Resolved

Installing on fresh machine seems to work

> Does not save  password
> ---
>
> Key: NETBEANS-2979
> URL: https://issues.apache.org/jira/browse/NETBEANS-2979
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Keyring, platform - Other
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment: Mac OS X, 10.14.3, x86_64
>Reporter: Clifford Dann
>Priority: Major
>  Labels: security
> Attachments: IDE Log.txt, UI Log.txt
>
>
> Every time you click remember password.
> error is NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.keyring.mac.SecurityLibrary



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-2979) Does not save password

2020-07-07 Thread Clifford Dann (Jira)


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

Clifford Dann commented on NETBEANS-2979:
-

Got a brand new machine and install Netbeans and it seems to work, so it looks 
like it dose not like old versions of Netbeans installed.

 

> Does not save  password
> ---
>
> Key: NETBEANS-2979
> URL: https://issues.apache.org/jira/browse/NETBEANS-2979
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Keyring, platform - Other
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment: Mac OS X, 10.14.3, x86_64
>Reporter: Clifford Dann
>Priority: Major
>  Labels: security
> Attachments: IDE Log.txt, UI Log.txt
>
>
> Every time you click remember password.
> error is NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.keyring.mac.SecurityLibrary



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-4117) Project compiles and builds but will not run

2020-07-07 Thread Andy Gegg (Jira)


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

Andy Gegg commented on NETBEANS-4117:
-

This is an example of the 'Compile on Save' option being set without nb-javac 
installed.  As far as I'm concerned, this can be marked as closed.  Thank you 
for your time.

> Project compiles and builds but will not run
> 
>
> Key: NETBEANS-4117
> URL: https://issues.apache.org/jira/browse/NETBEANS-4117
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Affects Versions: 11.3
> Environment: Windows 10 (1910) Home.  Project also uses log4j2 
> (2.13.1) and hsqldb (2.4)
>Reporter: Andy Gegg
>Assignee: wes
>Priority: Major
>  Labels: newbie
> Attachments: messages.log
>
>
> I am trying to convert to Java14.  Project uses JavaFX and works fine on Java 
> 13.0.2.  I have updated JAVA_HOME and the PATH, netbeans.conf, the Java 
> Platform (now JDK 14 default), source format is JDK 14.  I have uninstalled 
> nb-javac (I assume this is done via Plugins manager).  I'm using JavaFX 14.  
> Project compiles and builds with no problem.  Run does nothing.  It appears a 
> critical error has occurred silently.
> A tiny test project compiles and builds ok.  I note subtle differences 
> between the 'Properties' pop-up for the test project (a Profile option, a 
> runtime platform option) and the failing project.
> If I change the Source format back to 13 and re-install nb-javac my project 
> runs ok (obviously, the test project does not!)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans-jenkins-lib] branch master updated: Fix missing comma

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 57d1147  Fix missing comma
57d1147 is described below

commit 57d1147aaa6d99ef64f19b696eac319fcc5ec2ee
Author: Laszlo Kishalmi 
AuthorDate: Tue Jul 7 08:27:52 2020 -0700

Fix missing comma
---
 meta/netbeansrelease.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index b31fef0..923ad98 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -241,7 +241,7 @@
 "version": "beta6",
 "vote":"1",
 "position": "6"
-}
+},
 "efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8": {
 "version": "u1",
 "position": "7"


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

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



[netbeans-jenkins-lib] branch master updated: Preparing for 12.0-u1 update release

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new ecd280e  Preparing for 12.0-u1 update release
ecd280e is described below

commit ecd280e880966acd4d02dbbddb5fef7a6ff22941
Author: Laszlo Kishalmi 
AuthorDate: Tue Jul 7 08:26:50 2020 -0700

Preparing for 12.0-u1 update release
---
 meta/netbeansrelease.json | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index c83291e..b31fef0 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -241,7 +241,11 @@
 "version": "beta6",
 "vote":"1",
 "position": "6"
-}
+}
+"efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8": {
+"version": "u1",
+"position": "7"
+}
 },
 "releasedate": {
 "day": "04",


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

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



[netbeans] branch release120 updated: [NETBEANS-4528] Setting classname for GradleTestcase

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch release120
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/release120 by this push:
 new efd543a  [NETBEANS-4528] Setting classname for GradleTestcase
efd543a is described below

commit efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8
Author: Laszlo Kishalmi 
AuthorDate: Thu Jul 2 21:50:58 2020 -0700

[NETBEANS-4528] Setting classname for GradleTestcase
---
 .../gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java 
b/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
index f28ffe7..d49a09f 100644
--- 
a/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
+++ 
b/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
@@ -34,6 +34,7 @@ public class GradleTestcase  extends JUnitTestcase {
 public GradleTestcase(JvmTestOperationDescriptor op, TestSession session) {
 super(op.getMethodName(), "TEST/JUNIT", session);  //NOI18N
 this.operation = op;
+setClassName(op.getClassName());
 }
 
 public JvmTestOperationDescriptor getOperation() {


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

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



[netbeans] branch release120 updated: [NETBEANS-4420] Fix IAE on tooltip images with unknown size.

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch release120
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/release120 by this push:
 new 802e926  [NETBEANS-4420] Fix IAE on tooltip images with unknown size.
802e926 is described below

commit 802e9264462e4dd346d2af254f64862675028e81
Author: Laszlo Kishalmi 
AuthorDate: Wed Jul 1 21:04:48 2020 -0700

[NETBEANS-4420] Fix IAE on tooltip images with unknown size.
---
 platform/openide.util.ui/manifest.mf  | 2 +-
 platform/openide.util.ui/src/org/openide/util/ImageUtilities.java | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/platform/openide.util.ui/manifest.mf 
b/platform/openide.util.ui/manifest.mf
index fd9ee98..0f3a393 100644
--- a/platform/openide.util.ui/manifest.mf
+++ b/platform/openide.util.ui/manifest.mf
@@ -1,5 +1,5 @@
 Manifest-Version: 1.0
 OpenIDE-Module: org.openide.util.ui
 OpenIDE-Module-Localizing-Bundle: org/openide/util/Bundle.properties
-OpenIDE-Module-Specification-Version: 9.16
+OpenIDE-Module-Specification-Version: 9.16.1
 
diff --git a/platform/openide.util.ui/src/org/openide/util/ImageUtilities.java 
b/platform/openide.util.ui/src/org/openide/util/ImageUtilities.java
index 5a24b70..d9d613c 100644
--- a/platform/openide.util.ui/src/org/openide/util/ImageUtilities.java
+++ b/platform/openide.util.ui/src/org/openide/util/ImageUtilities.java
@@ -811,8 +811,8 @@ public final class ImageUtilities {
 ensureLoaded(image1);
 ensureLoaded(image2);
 
-int w = Math.max(image1.getWidth(null), x + image2.getWidth(null));
-int h = Math.max(image1.getHeight(null), y + image2.getHeight(null));
+int w = Math.max(1, Math.max(image1.getWidth(null), x + 
image2.getWidth(null)));
+int h = Math.max(1, Math.max(image1.getHeight(null), y + 
image2.getHeight(null)));
 boolean bitmask = (image1 instanceof Transparency) && 
((Transparency)image1).getTransparency() != Transparency.TRANSLUCENT
 && (image2 instanceof Transparency) && 
((Transparency)image2).getTransparency() != Transparency.TRANSLUCENT;
 
@@ -1064,8 +1064,8 @@ public final class ImageUtilities {
 ImageUtilities.ensureLoaded(image);
 boolean bitmask = (image instanceof Transparency) && 
((Transparency) image).getTransparency() != Transparency.TRANSLUCENT;
 ColorModel model = colorModel(bitmask ? Transparency.BITMASK : 
Transparency.TRANSLUCENT);
-int w = image.getWidth(null);
-int h = image.getHeight(null);
+int w = Math.max(1, image.getWidth(null));
+int h = Math.max(1, image.getHeight(null));
 if (url == null) {
 Object value = image.getProperty("url", null);
 url = (value instanceof URL) ? (URL) value : null;


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

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



[netbeans] branch release120 updated: [NETBEANS-4438] Fix new action wizard

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch release120
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/release120 by this push:
 new 143ef55  [NETBEANS-4438] Fix new action wizard
143ef55 is described below

commit 143ef555d993c12983e1a09aacdf3513d8680f13
Author: Laszlo Kishalmi 
AuthorDate: Mon Jun 15 13:24:10 2020 -0700

[NETBEANS-4438] Fix new action wizard
---
 apisupport/apisupport.wizards/manifest.mf | 2 +-
 .../modules/apisupport/project/ui/wizard/action/DataModel.java| 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/apisupport/apisupport.wizards/manifest.mf 
b/apisupport/apisupport.wizards/manifest.mf
index 94563f2..87b2102 100644
--- a/apisupport/apisupport.wizards/manifest.mf
+++ b/apisupport/apisupport.wizards/manifest.mf
@@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
 OpenIDE-Module: org.netbeans.modules.apisupport.wizards
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/modules/apisupport/project/ui/wizard/common/Bundle.properties
 OpenIDE-Module-Layer: 
org/netbeans/modules/apisupport/project/ui/wizard/common/layer.xml
-OpenIDE-Module-Specification-Version: 1.28
+OpenIDE-Module-Specification-Version: 1.28.1
 
diff --git 
a/apisupport/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/action/DataModel.java
 
b/apisupport/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/action/DataModel.java
index 43e2a69..1489fae 100644
--- 
a/apisupport/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/action/DataModel.java
+++ 
b/apisupport/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/action/DataModel.java
@@ -621,7 +621,7 @@ final class DataModel extends 
BasicWizardIterator.BasicDataModel {
 this.edContextSeparatorBefore = separator;
 }
 
-static class ActionReferenceModel implements Serializable {
+public static class ActionReferenceModel implements Serializable {
 String parentPath;
 String name;
 int beforeSep;
@@ -630,7 +630,7 @@ final class DataModel extends 
BasicWizardIterator.BasicDataModel {
 
 public ActionReferenceModel(String parentPath, String name, int 
beforeSep, int afterSep, int position) {
 this.parentPath = parentPath;
-this.name = name;
+this.name = name != null ? name : "";
 this.beforeSep = beforeSep;
 this.afterSep = afterSep;
 this.position = position;
@@ -645,7 +645,7 @@ final class DataModel extends 
BasicWizardIterator.BasicDataModel {
 }
 
 public String name() {
-return name == null ? "" : name;
+return name;
 }
 
 public int separatorBefore() {
@@ -658,7 +658,7 @@ final class DataModel extends 
BasicWizardIterator.BasicDataModel {
 
 @Override
 public String toString() {
-return "ActionReferenceModel{" + "parentPath=" + parentPath + ", 
name=" + name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", 
position=" + position + '}';
+return "ActionReferenceModel{" + "path=" + parentPath + ", name=" 
+ name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", position=" 
+ position + '}';
 }
 
 


-
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-4503) Code completion does not work in functions declared inside methods

2020-07-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-4503.

Fix Version/s: 12.1
   Resolution: Fixed

> Code completion does not work in functions declared inside methods
> --
>
> Key: NETBEANS-4503
> URL: https://issues.apache.org/jira/browse/NETBEANS-4503
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 12.0
>Reporter: SL EF
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 12.1
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Example:
> {code:java}
>  class Test
> {
> private function testMethod()
> {
> function testFunction()
> {
> $e = new Exception();
> $e->; // will not work
> }
> }
> }
> {code}
> code completion will not work, but go to declaration still working fine
>  
> maybe this could be fixed like this 
> [NETBEANS-2992|https://issues.apache.org/jira/browse/NETBEANS-2992]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch release120 updated: [NETBEANS-4410] Fixed NPE on Certain Gradle Test Executions.

2020-07-07 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch release120
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/release120 by this push:
 new abc559e  [NETBEANS-4410] Fixed NPE on Certain Gradle Test Executions.
abc559e is described below

commit abc559e45c5c3a63c81efed2f7085eadacdaf957
Author: Laszlo Kishalmi 
AuthorDate: Mon Jun 15 07:58:44 2020 -0700

[NETBEANS-4410] Fixed NPE on Certain Gradle Test Executions.
---
 groovy/gradle.test/manifest.mf |  2 +-
 .../gradle/test/GradleTestProgressListener.java| 18 --
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/groovy/gradle.test/manifest.mf b/groovy/gradle.test/manifest.mf
index c236217..591f710 100644
--- a/groovy/gradle.test/manifest.mf
+++ b/groovy/gradle.test/manifest.mf
@@ -2,4 +2,4 @@ Manifest-Version: 1.0
 AutoUpdate-Show-In-Client: false
 OpenIDE-Module: org.netbeans.modules.gradle.test
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/modules/gradle/test/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.4
+OpenIDE-Module-Specification-Version: 1.4.1
diff --git 
a/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestProgressListener.java
 
b/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestProgressListener.java
index 1261dd2..7e20b06 100644
--- 
a/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestProgressListener.java
+++ 
b/groovy/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestProgressListener.java
@@ -134,12 +134,18 @@ public final class GradleTestProgressListener implements 
ProgressListener, Gradl
 TestOutputDescriptor desc = evt.getDescriptor();
 OperationDescriptor parent = desc.getParent();
 CoreManager manager = getManager();
-if (manager != null) {
-manager.displayOutput(session, desc.getMessage(), 
desc.getDestination().equals(Destination.StdErr));
-}
-if ((parent != null) && (parent instanceof 
JvmTestOperationDescriptor)) {
-Testcase tc = 
runningTests.get(getTestOpKey((JvmTestOperationDescriptor) parent));
-tc.addOutputLines(Arrays.asList(desc.getMessage().split("\\R")));
+String msg = desc.getMessage();
+if (msg != null && msg.endsWith("\n")) {
+msg = msg.substring(0, msg.length() - 1);
+if (manager != null) {
+manager.displayOutput(session, msg, 
desc.getDestination().equals(Destination.StdErr));
+}
+if ((parent != null) && (parent instanceof 
JvmTestOperationDescriptor)) {
+Testcase tc = 
runningTests.get(getTestOpKey((JvmTestOperationDescriptor) parent));
+if (tc != null) {
+tc.addOutputLines(Arrays.asList(msg.split("\\R")));
+}
+}
 }
 }
 


-
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-4552) java.lang.UnsupportedOperationException command: run

2020-07-07 Thread sun java (Jira)
sun java created NETBEANS-4552:
--

 Summary: java.lang.UnsupportedOperationException command: run
 Key: NETBEANS-4552
 URL: https://issues.apache.org/jira/browse/NETBEANS-4552
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: Windows 7 Pro SP1
OpenJDK 14 
Reporter: sun java


hello

when trying to run my project i get this exception.

{color:#172b4d}*java.lang.UnsupportedOperationException: command: run, 
JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c]java.lang.UnsupportedOperationException:
 command: run, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@52e7ee7c] at 
org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303) at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.bypassAntBuildScript(ActionProviderSupport.java:583)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$9.performCompileOnSave(JavaActionProvider.java:1591)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1310)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
 at 
org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
 at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
 at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
 at java.base/java.util.Optional.ifPresent(Optional.java:176) at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
 at 
org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
 at 
org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
 at 
org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
 at org.openide.util.Mutex.writeAccess(Mutex.java:285) at 
org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
 at 
org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
 at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316) 
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 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)*{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch master updated (9039b98 -> 8a9c63d)

2020-07-07 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 9039b98  Merge pull request #2182 from apache/hectorespert-patch-1
 new 8e5a4a6  [NETBEANS-4503] Code completion does not work in functions 
declared inside methods
 new 9fa8489  Find a VariableScope again if an unscanned scope is scanned
 new 8a9c63d  Merge pull request #2241 from 
junichi11/netbeans-4503-cc-in-nested-function

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


Summary of changes:
 .../php/editor/model/VariableScopeFinder.java  | 70 --
 .../testfiles/completion/lib/nb4503/nb4503.php | 83 ++
 .../lib/nb4503/nb4503.php.testNb4503_01.completion |  4 ++
 .../lib/nb4503/nb4503.php.testNb4503_02.completion |  4 ++
 .../lib/nb4503/nb4503.php.testNb4503_03.completion |  6 ++
 .../lib/nb4503/nb4503.php.testNb4503_04.completion |  9 +++
 .../lib/nb4503/nb4503.php.testNb4503_05.completion |  4 ++
 .../lib/nb4503/nb4503.php.testNb4503_06.completion |  7 ++
 .../completion/PHPCodeCompletionNb4503Test.java| 73 +++
 9 files changed, 256 insertions(+), 4 deletions(-)
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_01.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_02.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_03.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_04.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_05.completion
 create mode 100644 
php/php.editor/test/unit/data/testfiles/completion/lib/nb4503/nb4503.php.testNb4503_06.completion
 create mode 100644 
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletionNb4503Test.java


-
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-4551) IDE processing speed-slowness

2020-07-07 Thread John Magdy Lotfy (Jira)
John Magdy Lotfy created NETBEANS-4551:
--

 Summary: IDE processing speed-slowness
 Key: NETBEANS-4551
 URL: https://issues.apache.org/jira/browse/NETBEANS-4551
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Performance, ide - UI, ide - Welcome
Affects Versions: 11.3
 Environment: OS: Windows 8.1 N Pro x32-bit
RAM: 2GB

Reporter: John Magdy Lotfy






--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-2443) Can't start profiler

2020-07-07 Thread Chi Wai (Jira)


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

Chi Wai commented on NETBEANS-2443:
---

Profiling appears broken in NB12.0 but works fine in NB11.3.

The bundled Maven went from 3.3.9 to 3.6.3

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\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.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4550) NetBeans show error in test classes when we have module-info in test

2020-07-07 Thread Pavel_K (Jira)


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

Pavel_K updated NETBEANS-4550:
--
Description: 
Here is a test project [https://github.com/PashaTurok/jpms-resource-test1] that 
has module-info in src/test/java (it is possible starting from 
surefire/failsafe 3.0.0-M5.

When we do in-module testing the name of the src/test/java/module-info is the 
same as the name of src/main/java/module-info. For details see 
[https://sormuras.github.io/blog/2018-09-11-testing-in-the-modular-world.html]

However, NB works badly with such configuration it shows erros and doesn't fix 
imports etc. See the picture.  !Screenshot from 2020-07-07 13-44-17.png!

 

  was:
Here is a test project [https://github.com/PashaTurok/jpms-resource-test1] that 
has module-info in src/test/java (it is possible starting from 
surefire/failsafe 3.0.0-M5.

When we do in-module testing we the name of the src/test/java/module-info is 
the same as the name of src/main/java/module-info. For details see 
[https://sormuras.github.io/blog/2018-09-11-testing-in-the-modular-world.html]

However, NB works badly with such configuration it shows erros and doesn't fix 
imports etc. See the picture. !Screenshot from 2020-07-07 13-44-17.png!

 


> NetBeans show error in test classes when we have module-info in test
> 
>
> Key: NETBEANS-4550
> URL: https://issues.apache.org/jira/browse/NETBEANS-4550
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2020-07-07 13-44-17.png
>
>
> Here is a test project [https://github.com/PashaTurok/jpms-resource-test1] 
> that has module-info in src/test/java (it is possible starting from 
> surefire/failsafe 3.0.0-M5.
> When we do in-module testing the name of the src/test/java/module-info is the 
> same as the name of src/main/java/module-info. For details see 
> [https://sormuras.github.io/blog/2018-09-11-testing-in-the-modular-world.html]
> However, NB works badly with such configuration it shows erros and doesn't 
> fix imports etc. See the picture.  !Screenshot from 2020-07-07 13-44-17.png!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4550) NetBeans show error in test classes when we have module-info in test

2020-07-07 Thread Pavel_K (Jira)
Pavel_K created NETBEANS-4550:
-

 Summary: NetBeans show error in test classes when we have 
module-info in test
 Key: NETBEANS-4550
 URL: https://issues.apache.org/jira/browse/NETBEANS-4550
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Pavel_K
 Attachments: Screenshot from 2020-07-07 13-44-17.png

Here is a test project [https://github.com/PashaTurok/jpms-resource-test1] that 
has module-info in src/test/java (it is possible starting from 
surefire/failsafe 3.0.0-M5.

When we do in-module testing we the name of the src/test/java/module-info is 
the same as the name of src/main/java/module-info. For details see 
[https://sormuras.github.io/blog/2018-09-11-testing-in-the-modular-world.html]

However, NB works badly with such configuration it shows erros and doesn't fix 
imports etc. See the picture. !Screenshot from 2020-07-07 13-44-17.png!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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