[jira] [Resolved] (NETBEANS-4427) NetBeans NullPointerException

2020-06-17 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4427.
---
Resolution: Incomplete

> NetBeans NullPointerException
> -
>
> Key: NETBEANS-4427
> URL: https://issues.apache.org/jira/browse/NETBEANS-4427
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Sam Lalani
>Priority: Major
>
> I deleted all the NetBeans cache and restarted Apache NetBeans 12 and here is 
> the IDE Log:



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

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

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



[jira] [Resolved] (NETBEANS-3227) Can't login to the Plugin Portal with https

2020-06-17 Thread Jira


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

Matthias Bläsing resolved NETBEANS-3227.

Resolution: Fixed

Just tested login with github and google, both work on https.

> Can't login to the Plugin Portal with https
> ---
>
> Key: NETBEANS-3227
> URL: https://issues.apache.org/jira/browse/NETBEANS-3227
> Project: NetBeans
>  Issue Type: Improvement
>  Components: updatecenters - Pluginportal
>Reporter: Junichi Yamamoto
>Assignee: Jan Pirek
>Priority: Major
> Attachments: nb-plugin-portal-https-login.png
>
>
> We can login with http://netbeans-vm.apache.org/pluginportal/ but can't login 
> with https://netbeans-vm.apache.org/pluginportal/
>  !nb-plugin-portal-https-login.png! 



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

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

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



[jira] [Assigned] (NETBEANS-4465) update RAT license exceptions

2020-06-17 Thread Brad Walker (Jira)


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

Brad Walker reassigned NETBEANS-4465:
-

Assignee: Brad Walker

> update RAT license exceptions
> -
>
> Key: NETBEANS-4465
> URL: https://issues.apache.org/jira/browse/NETBEANS-4465
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When running the RAT report after a build has taken place, the report picks 
> up hundreds of generated files. These files do not have a license header and 
> it's really not necessary as they are generated by the build process..
> {code:java}
> [bwalker@localhost netbeans]$ $ANT_HOME/bin/ant -quiet rat 
> -Drat-report.haltonfailure=true
>  [echo] Bootstrapping NetBeans-specific Ant extensions...
>  [copy] Warning: Could not find file 
> /home/bwalker/src/netbeans/nbbuild/gitinfo.properties to copy.
>  [copy] Warning: Could not find file 
> /home/bwalker/src/netbeans/nbbuild/netbeansrelease.properties to copy.
>  [echo] Processing build with branch update-rat-exclusion and hash 
> aa266cbc66f0dbcc637db5ee13efff363ae68ecd
>  [echo] Building branch: update-rat-exclusion
> BUILD FAILED
> /home/bwalker/src/netbeans/nbbuild/build.xml:2220: Failed Rat test(s):
> Unapproved license in 825 file(s) 
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0/Filter.java
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/application/model_8/HandlerChainType.java
> ...
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0_frag/SessionConfigType.java
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/client/model_7_0/ResourceEnvRef.java
> Unapproved license in 1 file(s) 
> /tree/master/contrib/j2ee.jboss4/external/j2ee.jboss4-external-resources.txt
> Unapproved license in 3 file(s) 
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/vcs-1/gc.properties
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/4.10.2/gc.properties
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/buildOutputCleanup/cache.properties
> Unapproved license in 1 file(s) 
> /tree/master/webcommon/javascript2.jquery/external/jquery-api.xml
> Total time: 1 minute 22 seconds
> [bwalker@localhost netbeans]$ 
> {code}
> Let's look at a file for example:
> {code:java}
> /**
>  *This generated bean class SessionConfigType matches the schema element 
> 'session-configType'.
>  *  The root bean class is WebFragment
>  *
>  *===
>  *
>  *
>  *The session-configType defines the session parameters
>  *for this web application.
>  *
>  *Used in: web-app
>  *
>  *  
>  *===
>  * @Generated
>  */
> {code}
> So it's obvious this is a generated and should be ignored by the RAT report..



--
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-4464) Unit tests for Atoum not working on Windows

2020-06-17 Thread Jira


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

Tomáš Procházka updated NETBEANS-4464:
--
Labels: pull-request-available  (was: )

> Unit tests for Atoum not working on Windows
> ---
>
> Key: NETBEANS-4464
> URL: https://issues.apache.org/jira/browse/NETBEANS-4464
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unit tests for Atoum are not working on Windows.
> Run {{ant -f php/php.atoum tests}} on Windows and result is failed test.



--
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-4464) Unit tests for Atoum not working on Windows

2020-06-17 Thread Jira


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

Tomáš Procházka commented on NETBEANS-4464:
---

Directory separators had to be replaced with system-dependent value.
 Because Windows use \ as separator, replacement text has to be quoted.

> Unit tests for Atoum not working on Windows
> ---
>
> Key: NETBEANS-4464
> URL: https://issues.apache.org/jira/browse/NETBEANS-4464
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unit tests for Atoum are not working on Windows.
> Run {{ant -f php/php.atoum tests}} on Windows and result is failed test.



--
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-4465) update RAT license exceptions

2020-06-17 Thread Brad Walker (Jira)
Brad Walker created NETBEANS-4465:
-

 Summary: update RAT license exceptions
 Key: NETBEANS-4465
 URL: https://issues.apache.org/jira/browse/NETBEANS-4465
 Project: NetBeans
  Issue Type: Improvement
Reporter: Brad Walker


When running the RAT report after a build has taken place, the report picks up 
hundreds of generated files. These files do not have a license header and it's 
really not necessary as they are generated by the build process..

{code:java}
[bwalker@localhost netbeans]$ $ANT_HOME/bin/ant -quiet rat 
-Drat-report.haltonfailure=true
 [echo] Bootstrapping NetBeans-specific Ant extensions...
 [copy] Warning: Could not find file 
/home/bwalker/src/netbeans/nbbuild/gitinfo.properties to copy.
 [copy] Warning: Could not find file 
/home/bwalker/src/netbeans/nbbuild/netbeansrelease.properties to copy.
 [echo] Processing build with branch update-rat-exclusion and hash 
aa266cbc66f0dbcc637db5ee13efff363ae68ecd
 [echo] Building branch: update-rat-exclusion

BUILD FAILED
/home/bwalker/src/netbeans/nbbuild/build.xml:2220: Failed Rat test(s):
Unapproved license in 825 file(s) 
/tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0/Filter.java
/tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/application/model_8/HandlerChainType.java

...

/tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0_frag/SessionConfigType.java
/tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/client/model_7_0/ResourceEnvRef.java
Unapproved license in 1 file(s) 
/tree/master/contrib/j2ee.jboss4/external/j2ee.jboss4-external-resources.txt
Unapproved license in 3 file(s) 
/tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/vcs-1/gc.properties
/tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/4.10.2/gc.properties
/tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/buildOutputCleanup/cache.properties
Unapproved license in 1 file(s) 
/tree/master/webcommon/javascript2.jquery/external/jquery-api.xml

Total time: 1 minute 22 seconds
[bwalker@localhost netbeans]$ 
{code}

Let's look at a file for example:



{code:java}
/**
 *  This generated bean class SessionConfigType matches the schema element 
'session-configType'.
 *  The root bean class is WebFragment
 *
 *  ===
 *  
 *  
 *  The session-configType defines the session parameters
 *  for this web application.
 *  
 *  Used in: web-app
 *  
 *
 *  ===
 * @Generated
 */
{code}

So it's obvious this is a generated and should be ignored by the RAT report..




--
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-4464) Unit tests for Atoum not working on Windows

2020-06-17 Thread Jira
Tomáš Procházka created NETBEANS-4464:
-

 Summary: Unit tests for Atoum not working on Windows
 Key: NETBEANS-4464
 URL: https://issues.apache.org/jira/browse/NETBEANS-4464
 Project: NetBeans
  Issue Type: Bug
  Components: php - Code
Affects Versions: 12.0
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka


Unit tests for Atoum are not working on Windows.

Run {{ant -f php/php.atoum tests}} on Windows and result is failed test.



--
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-4463) Unit tests for Codeception not working on Windows

2020-06-17 Thread Jira


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

Tomáš Procházka updated NETBEANS-4463:
--
Labels: pull-request-available  (was: )

> Unit tests for Codeception not working on Windows
> -
>
> Key: NETBEANS-4463
> URL: https://issues.apache.org/jira/browse/NETBEANS-4463
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Codeception
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Unit tests for Codeception module fail on Windows.
> Run {{ant -f php/php.codeception test}} and it results in build failure.



--
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-4463) Unit tests for Codeception not working on Windows

2020-06-17 Thread Jira


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

Tomáš Procházka updated NETBEANS-4463:
--
Description: 
Unit tests for Codeception module fail on Windows.

Run {{ant -f php/php.codeception test}} and it results in build failure.

  was:
Unit tests for Codeception module fail on Windows.

Run `ant -f php/php.codeception test` and it results in build failure.


> Unit tests for Codeception not working on Windows
> -
>
> Key: NETBEANS-4463
> URL: https://issues.apache.org/jira/browse/NETBEANS-4463
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Codeception
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>
> Unit tests for Codeception module fail on Windows.
> Run {{ant -f php/php.codeception test}} and it results in build failure.



--
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-4463) Unit tests for Codeception not working on Windows

2020-06-17 Thread Jira


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

Tomáš Procházka updated NETBEANS-4463:
--
Description: 
Unit tests for Codeception module fail on Windows.

Run `ant -f php/php.codeception test` and it results in build failure.

  was:Unit tests for Codeception module fail on Windows.


> Unit tests for Codeception not working on Windows
> -
>
> Key: NETBEANS-4463
> URL: https://issues.apache.org/jira/browse/NETBEANS-4463
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Codeception
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>
> Unit tests for Codeception module fail on Windows.
> Run `ant -f php/php.codeception test` and it results in build failure.



--
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-4463) Unit tests for Codeception not working on Windows

2020-06-17 Thread Jira
Tomáš Procházka created NETBEANS-4463:
-

 Summary: Unit tests for Codeception not working on Windows
 Key: NETBEANS-4463
 URL: https://issues.apache.org/jira/browse/NETBEANS-4463
 Project: NetBeans
  Issue Type: Bug
  Components: php - Codeception
Affects Versions: 12.0
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka


Unit tests for Codeception module fail on Windows.



--
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-4426) Fails with 'silent error'

2020-06-17 Thread Andy Gegg (Jira)


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

Andy Gegg commented on NETBEANS-4426:
-

I've created a repo on GitHub at github.com/kernowandy/gardennotebook.git.  
It's a private repo but I can change that if it makes things easier.

I hope I did it ok - my head still feels like it's full of cotton wool!

I really do appreciate the time and effort you're expending on this.  I would 
really like to use Maven - a lot of niggling problems would go away.

In outline, module spi describes a loadable service and includes a class (Trug 
- excuse the whimsy) to load the 'internal' service.  sqlimpl is the database 
handling service which itself uses service loader to find databases in the 
approved manner.  I cannot assume any given RDBMS is present.  The 2 json 
modules are a straight copy of the old javaee code before it disappeared, 
compiled as modules (and I'd really love to get rid of them and use the current 
version).  fxbeans is a bridging layer, gui is the  GUI and entry point.

The project also uses log4j2 and I bundle in a copy of hsqldb so that a 
non-technical user can run it out of the box.

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or 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



[jira] [Comment Edited] (NETBEANS-2277) Unable to load TLD

2020-06-17 Thread Nicola Isotta (Jira)


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

Nicola Isotta edited comment on NETBEANS-2277 at 6/17/20, 3:24 PM:
---

Seems like the cause is the jsp-config part in web.xml

If I comment this:
{code:java}

    
        *.jspf
        true
    

{code}
TLD loading works fine.

The problems is that my .jspf and .jsp are actually using xml syntax :(


was (Author: nicolaisotta):
Seems like the problem is the jsp-config part in web.xml

If I comment this:
{code:java}

    
        *.jspf
        true
    

{code}
TLD loading works fine.

The problems is that my jsp fragments are actually using xml syntax :(

> Unable to load TLD
> --
>
> Key: NETBEANS-2277
> URL: https://issues.apache.org/jira/browse/NETBEANS-2277
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 8.2, 11.0, 12.0
> Environment: Windows 10, JDK 8, Netbeans 11.0 vc3
>Reporter: Nicola Isotta
>Assignee: Nicola Isotta
>Priority: Major
> Attachments: JSF12JSPBug.zip, netbeans-bug.jpg
>
>
> The issue affects Ant Web project, and appeared in version 8.2 (8.1 is the 
> last version I can use with this type of projects).
> !netbeans-bug.jpg|width=833,height=457!
> I've attached a zipped project affected by the bug, because I was not able to 
> reproduce the problem with a project created from scratch.
>  



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

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

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



[jira] [Resolved] (NETBEANS-4222) Open up more of APIs in Node and PropertySheet

2020-06-17 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach resolved NETBEANS-4222.
---
Fix Version/s: 12.0
   Resolution: Won't Fix

I guess I scared the reporter enough... Sorry for that, I hope you will not 
give up on NetBeans, Markus.

> Open up more of APIs in Node and PropertySheet
> --
>
> Key: NETBEANS-4222
> URL: https://issues.apache.org/jira/browse/NETBEANS-4222
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Explorer, platform - Nodes
>Reporter: Markus Sunela
>Assignee: Jaroslav Tulach
>Priority: Minor
> Fix For: 12.0
>
>
> Currently it is hard to customize Node, Explorer and PropertySheet behavior, 
> because there are too many private instead of protected methods, package 
> private and final classes in the API.
> Some examples I have stumbled on include
>  * private doSetNodes method in PropertySheet (no way to override the use of 
> ProxyNodes)
>  * final and package private ProxyNode class
>  * package private constructor in ProxyNode
>  * package private getOriginalNodes method in ProxyNode
>  * package private and final {color:#00}ProxyProperty{color} class in 
> ProxyNode
>  * final Sheet class and its inner class Sheet.Set
>  * most private methods in Sheet and Sheet.Set should be protected instead
>  * PropertySupport.Reflection class should have getters for read and write 
> methods
> I wonder, what is the rationale for so strict and static API design? I would 
> assume the performance gains from these limitations are meager. Opening these 
> classes for sub-classing and modifications would result in much more flexible 
> system with much less code duplication.



--
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-3627) Java debugger fails to step-into

2020-06-17 Thread Daniel Ellis (Jira)


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

Daniel Ellis commented on NETBEANS-3627:


I'm running NB 11.2, and step-into doesn't work under this scenario:

I have web projects A & B, where project A communicates with project B. I start 
the debugger on project B. Project A is my entry point, and I have some 
breakpoints in project A. I can step over breakpoints in project A, but if I 
try to step-into, it acts as if I pressed "continue" in the debugger.

Now if I start the debugger on project A, step-into works as expected.

> Java debugger fails to step-into
> 
>
> Key: NETBEANS-3627
> URL: https://issues.apache.org/jira/browse/NETBEANS-3627
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 11.2
>Reporter: Mikhail
>Priority: Major
>
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.debugger.jpda.actions.JPDADebuggerActionProvider$1
> java.lang.IllegalArgumentException
>   at 
> org.netbeans.api.java.source.ElementUtilities.getBinaryName(ElementUtilities.java:204)
>   at 
> org.netbeans.modules.debugger.jpda.projects.AST2Bytecode.matchSourceTree2Bytecode(AST2Bytecode.java:185)
>   at 
> org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.computeOperations(EditorContextSupport.java:1056)
>   at 
> org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:187)
>   at 
> org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:179)
>   at 
> org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.runGuarded(PreferredCCParser.java:747)
>   at 
> org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.getOperations(PreferredCCParser.java:179)
>   at 
> org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.getOperations(EditorContextSupport.java:1408)
>   at 
> org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.getOperations(EditorContextImpl.java:765)
>   at 
> org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:186)
>   at 
> org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:82)
>   at 
> org.netbeans.modules.debugger.jpda.actions.JPDAMethodChooserUtils.init(JPDAMethodChooserUtils.java:116)
>   at 
> org.netbeans.modules.debugger.jpda.actions.JPDAMethodChooserUtils.init(JPDAMethodChooserUtils.java:93)
>   at 
> org.netbeans.modules.debugger.jpda.ui.actions.MethodChooserSupport.init(MethodChooserSupport.java:136)
>   at 
> org.netbeans.modules.debugger.jpda.ui.actions.JPDAMethodChooserFactoryUIImpl.initChooserUI(JPDAMethodChooserFactoryUIImpl.java:42)
>   at 
> org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.doMethodSelection(StepIntoActionProvider.java:174)
>   at 
> org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.runAction(StepIntoActionProvider.java:114)
>   at 
> org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider$1.run(StepIntoActionProvider.java:103)
>   at 
> org.netbeans.modules.debugger.jpda.actions.JPDADebuggerActionProvider$1.run(JPDADebuggerActionProvider.java:175)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(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-4462) Exception thrown on opening file

2020-06-17 Thread Nicholas Kings (Jira)
Nicholas Kings created NETBEANS-4462:


 Summary: Exception thrown on opening file
 Key: NETBEANS-4462
 URL: https://issues.apache.org/jira/browse/NETBEANS-4462
 Project: NetBeans
  Issue Type: Bug
Reporter: Nicholas Kings


---
>Log Session: Wednesday, June 17, 2020 3:13:35 PM BST
>System Info: 
  Product Version = Apache NetBeans IDE 12.0
  Operating System    = Windows 10 version 10.0 running on amd64
  Java; VM; Vendor    = 1.8.0_211; Java HotSpot(TM) 64-Bit Server VM 
25.211-b12; Oracle Corporation
  Runtime = Java(TM) SE Runtime Environment 1.8.0_211-b12
  Java Home   = C:\Program Files\Java\jdk1.8.0_211\jre
  System Locale; Encoding = en_GB (nb); Cp1252
  Home Directory  = C:\Users\nickj
  Current Directory   = C:\Program Files\NetBeans-12.0
  User Directory  = C:\Users\nickj\AppData\Roaming\NetBeans\12.0
  Cache Directory = C:\Users\nickj\AppData\Local\NetBeans\Cache\12.0
  Installation    = C:\Program Files\NetBeans-12.0\netbeans\nb
    C:\Program Files\NetBeans-12.0\netbeans\ergonomics
    C:\Program Files\NetBeans-12.0\netbeans\ide
    C:\Program Files\NetBeans-12.0\netbeans\extide
    C:\Program Files\NetBeans-12.0\netbeans\java
    C:\Program Files\NetBeans-12.0\netbeans\apisupport
    C:\Program Files\NetBeans-12.0\netbeans\webcommon
    C:\Program Files\NetBeans-12.0\netbeans\websvccommon
    C:\Program Files\NetBeans-12.0\netbeans\enterprise
    C:\Program Files\NetBeans-12.0\netbeans\profiler
    C:\Program Files\NetBeans-12.0\netbeans\php
    C:\Program Files\NetBeans-12.0\netbeans\harness
    C:\Program Files\NetBeans-12.0\netbeans\groovy
    C:\Program Files\NetBeans-12.0\netbeans\javafx
    C:\Program Files\NetBeans-12.0\netbeans\platform
  Boot & Ext. Classpath   = C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\resources.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jfr.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\classes;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\access-bridge-64.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\cldrdata.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\dnsns.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\jaccess.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\jfxrt.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\localedata.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\nashorn.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunec.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunjce_provider.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunmscapi.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunpkcs11.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\zipfs.jar
  Application Classpath   = C:\Program 
Files\NetBeans-12.0\netbeans\platform\lib\boot.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\lib\org-openide-modules.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program
 Files\NetBeans-12.0\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\lib\org-openide-util.jar;C:\Program 
Files\Java\jdk1.8.0_211\lib\dt.jar;C:\Program 
Files\Java\jdk1.8.0_211\lib\tools.jar
  Startup Classpath   = C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\asm-7.2.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\asm-commons-7.2.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\asm-tree-7.2.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\core-base.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\core.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program 
Files\NetBeans-12.0\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program
 
Files\NetBeans-12.0\netbeans\platform\core\org-openide-filesystems.jar;C:\Program
 Files\NetBeans-12.0\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program 
Files\NetBeans-12.0\netbeans\nb\core\locale\core_nb.jar
---
INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program 
Files/NetBeans-12.0/netbeans/
WARNING [org.netbeans.core.modules]: the module

[jira] [Commented] (NETBEANS-2277) Unable to load TLD

2020-06-17 Thread Nicola Isotta (Jira)


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

Nicola Isotta commented on NETBEANS-2277:
-

Seems like the problem is the jsp-config part in web.xml

If I comment this:
{code:java}

    
        *.jspf
        true
    

{code}
TLD loading works fine.

The problems is that my jsp fragments are actually using xml syntax :(

> Unable to load TLD
> --
>
> Key: NETBEANS-2277
> URL: https://issues.apache.org/jira/browse/NETBEANS-2277
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 8.2, 11.0, 12.0
> Environment: Windows 10, JDK 8, Netbeans 11.0 vc3
>Reporter: Nicola Isotta
>Assignee: Nicola Isotta
>Priority: Major
> Attachments: JSF12JSPBug.zip, netbeans-bug.jpg
>
>
> The issue affects Ant Web project, and appeared in version 8.2 (8.1 is the 
> last version I can use with this type of projects).
> !netbeans-bug.jpg|width=833,height=457!
> I've attached a zipped project affected by the bug, because I was not able to 
> reproduce the problem with a project created from scratch.
>  



--
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-4461) Debug PHP file doesn't work

2020-06-17 Thread Florian Rival (Jira)


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

Florian Rival updated NETBEANS-4461:

Description: 
I have a problem when trying to debug a PHP file, I set a breakpoint, start the 
debugger, the debugger stop at the breakpoint, so far, so good.

Then I press F8 to step over and instead of going to the next line of code, the 
debugger  step over the current class  and stop at the line next to class call.

Sample PHP class call :
{code:java}
$res .= DG\MvSkin\ViewHelpers\Format\DateViewHelper::renderStatic($arguments); 
$res .= '';
{code}
 

The class (simplified) :
{code:java}
namespace DG\MvSkin\ViewHelpers\Format;

class DateViewHelper extends AbstractViewHelper implements CompilableInterface
{ 
public static function renderStatic(array $arguments)
{
$date = $arguments['date'];
$format = $arguments['format'];

return $date;
}
}{code}
 

If I set a breakpoint at line *$date = $arguments['date'];* and then press F8 
(it's the same with F7 or Ctrl+F7) then the debugger jump to line : *$res .= 
'';*  instead of next line.

Note : the function is a public static function.

The same use case works well with previous version (Netbeans 11).

 

 

  was:
I have a problem when trying to debug a PHP file, I set a breakpoint, start the 
debugger, the debugger stop at the breakpoint, so far, so good.

Then I press F8 to step over and instead of going to the next line of code, the 
debugger  step over the current class  and stop at the line next to class call.

Sample PHP class call :

 
{code:java}
$res .= DG\MvSkin\ViewHelpers\Format\DateViewHelper::renderStatic($arguments); 
$res .= '';
{code}
The class (simplified) :

 

 
{code:java}
namespace DG\MvSkin\ViewHelpers\Format;

class DateViewHelper extends AbstractViewHelper implements CompilableInterface
{ 
public static function renderStatic(array $arguments)
{
$date = $arguments['date'];
$format = $arguments['format'];

return $date;
}
}{code}
 

If I set a breakpoint at line *$date = $arguments['date'];* and then press F8 
(it's the same with F7 or Ctrl+F7) the the debugger goes to line : *$res .= 
'';*  instead of next line.

Note : the function is a public static function.

The same use case works well with previous version (Netbeans 11).

 

 


> Debug PHP file doesn't work
> ---
>
> Key: NETBEANS-4461
> URL: https://issues.apache.org/jira/browse/NETBEANS-4461
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0.1
> Environment: Netbeans 12.0
> PHP 7.1
> Chromium Version 83.0.4103.61
> NetBeans Connector 1.1.5
>Reporter: Florian Rival
>Priority: Major
>  Labels: Debug
>
> I have a problem when trying to debug a PHP file, I set a breakpoint, start 
> the debugger, the debugger stop at the breakpoint, so far, so good.
> Then I press F8 to step over and instead of going to the next line of code, 
> the debugger  step over the current class  and stop at the line next to class 
> call.
> Sample PHP class call :
> {code:java}
> $res .= 
> DG\MvSkin\ViewHelpers\Format\DateViewHelper::renderStatic($arguments); 
> $res .= '';
> {code}
>  
> The class (simplified) :
> {code:java}
> namespace DG\MvSkin\ViewHelpers\Format;
> class DateViewHelper extends AbstractViewHelper implements CompilableInterface
> { 
> public static function renderStatic(array $arguments)
> {
> $date = $arguments['date'];
> $format = $arguments['format'];
> 
> return $date;
> }
> }{code}
>  
> If I set a breakpoint at line *$date = $arguments['date'];* and then press F8 
> (it's the same with F7 or Ctrl+F7) then the debugger jump to line : *$res .= 
> '';*  instead of next line.
> Note : the function is a public static function.
> The same use case works well with previous version (Netbeans 11).
>  
>  



--
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-4461) Debug PHP file doesn't work

2020-06-17 Thread Florian Rival (Jira)
Florian Rival created NETBEANS-4461:
---

 Summary: Debug PHP file doesn't work
 Key: NETBEANS-4461
 URL: https://issues.apache.org/jira/browse/NETBEANS-4461
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0.1
 Environment: Netbeans 12.0
PHP 7.1
Chromium Version 83.0.4103.61
NetBeans Connector 1.1.5
Reporter: Florian Rival


I have a problem when trying to debug a PHP file, I set a breakpoint, start the 
debugger, the debugger stop at the breakpoint, so far, so good.

Then I press F8 to step over and instead of going to the next line of code, the 
debugger  step over the current class  and stop at the line next to class call.

Sample PHP class call :

 
{code:java}
$res .= DG\MvSkin\ViewHelpers\Format\DateViewHelper::renderStatic($arguments); 
$res .= '';
{code}
The class (simplified) :

 

 
{code:java}
namespace DG\MvSkin\ViewHelpers\Format;

class DateViewHelper extends AbstractViewHelper implements CompilableInterface
{ 
public static function renderStatic(array $arguments)
{
$date = $arguments['date'];
$format = $arguments['format'];

return $date;
}
}{code}
 

If I set a breakpoint at line *$date = $arguments['date'];* and then press F8 
(it's the same with F7 or Ctrl+F7) the the debugger goes to line : *$res .= 
'';*  instead of next line.

Note : the function is a public static function.

The same use case works well with previous version (Netbeans 11).

 

 



--
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: Fix tests for Neon language

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

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


The following commit(s) were added to refs/heads/master by this push:
 new d49fd82  Fix tests for Neon language
 new 0d66999  Merge pull request #2190 from KacerCZ/neon-tests-fix
d49fd82 is described below

commit d49fd82fd6495da1e46b7a73f05baac5ea28a696
Author: Tomas Prochazka 
AuthorDate: Sun Jun 14 23:18:46 2020 +0200

Fix tests for Neon language

Test data were created from scratch
Enabled test in Travis CI
---
 .travis.yml|  2 +-
 .../testfiles/actions/toggleComment/toggle_01.neon | 10 
 .../toggleComment/toggle_01.neon.toggleComment | 10 
 .../testfiles/actions/toggleComment/toggle_02.neon | 10 
 .../toggleComment/toggle_02.neon.toggleComment | 10 
 .../testfiles/actions/toggleComment/toggle_03.neon | 10 
 .../toggleComment/toggle_03.neon.toggleComment | 10 
 .../testfiles/actions/toggleComment/toggle_04.neon | 10 
 .../toggleComment/toggle_04.neon.toggleComment | 10 
 .../neon/actions/ToggleCommentActionTest.java  | 30 +++---
 10 files changed, 96 insertions(+), 16 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 951385b..afdce8f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -665,7 +665,7 @@ matrix:
 - ant $OPTS build
   script:
 - ant $OPTS -f php/hudson.php test
-#- ant $OPTS -f php/languages.neon test
+- ant $OPTS -f php/languages.neon test
 - ant $OPTS -f php/php.api.annotation test
 - ant $OPTS -f php/php.api.documentation test
 - ant $OPTS -f php/php.api.executable test
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon
new file mode 100644
index 000..d98c0b1
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon
@@ -0,0 +1,10 @@
+#
+# File ^for toggle comment tests.
+#
+parameters:
+   title: Blog
+   # theme: lightning
+
+services:
+   articleManager:
+   class: ArticleManager
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon.toggleComment
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon.toggleComment
new file mode 100644
index 000..4db1507
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_01.neon.toggleComment
@@ -0,0 +1,10 @@
+#
+ File ^for toggle comment tests.
+#
+parameters:
+   title: Blog
+   # theme: lightning
+
+services:
+   articleManager:
+   class: ArticleManager
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon
new file mode 100644
index 000..3c3f18c
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon
@@ -0,0 +1,10 @@
+#
+# File for toggle comment tests.
+#^
+parameters:
+   title: Blog
+   # theme: lightning
+
+services:
+   articleManager:
+   class: ArticleManager
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon.toggleComment
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon.toggleComment
new file mode 100644
index 000..c5be533
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_02.neon.toggleComment
@@ -0,0 +1,10 @@
+#
+# File for toggle comment tests.
+^
+parameters:
+   title: Blog
+   # theme: lightning
+
+services:
+   articleManager:
+   class: ArticleManager
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon
new file mode 100644
index 000..e427ec1
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon
@@ -0,0 +1,10 @@
+#
+# File for toggle comment tests.
+#
+parameters:
+   title: Blog
+   # theme: ^lightning
+
+services:
+   articleManager:
+   class: ArticleManager
diff --git 
a/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon.toggleComment
 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon.toggleComment
new file mode 100644
index 000..6a7fafe
--- /dev/null
+++ 
b/php/languages.neon/test/unit/data/testfiles/actions/toggleComment/toggle_03.neon.toggleComment
@@ -0,0 +1,10 @@
+#
+# File for toggle comment tests.
+#
+parameters:
+   title: Blog
+theme: ^l

[jira] [Created] (NETBEANS-4460) C++ Code Completion not working

2020-06-17 Thread Holger Weber (Jira)
Holger Weber created NETBEANS-4460:
--

 Summary: C++ Code Completion not working
 Key: NETBEANS-4460
 URL: https://issues.apache.org/jira/browse/NETBEANS-4460
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 11.3, 11.2, 12.0
 Environment: Windows 10, msys64
Reporter: Holger Weber


Sometimes the Code Completion doesn't work. So creating a derived class and try 
to auto complete a constructor just shows "Please wait.." tool tip and a 
notification is created.

Part of Log:

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.spi.editor.completion.support.AsyncCompletionTask
java.lang.ClassCastException: org.openide.util.ImageUtilities$ToolTipImage 
cannot be cast to java.desktop/javax.swing.ImageIcon
 at 
org.netbeans.modules.cnd.refactoring.completion.overridemethod.CsmOverrideMethodCompletionItem.(CsmOverrideMethodCompletionItem.java:112)
 at 
org.netbeans.modules.cnd.refactoring.completion.overridemethod.CsmOverrideMethodCompletionItem.createImplementItem(CsmOverrideMethodCompletionItem.java:139)
 at 
org.netbeans.modules.cnd.refactoring.completion.overridemethod.CsmOverrideMethodCompletionProvider$Query.getItems(CsmOverrideMethodCompletionProvider.java:242)
 at 
org.netbeans.modules.cnd.refactoring.completion.overridemethod.CsmOverrideMethodCompletionProvider$Query.query(CsmOverrideMethodCompletionProvider.java:125)
 at 
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(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