[jira] [Updated] (NETBEANS-2243) JUnit Test Spec - Run Again fails

2019-03-11 Thread Bailey Campbell (JIRA)


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

Bailey Campbell updated NETBEANS-2243:
--
Description: 
h3. Steps
 # For the *JUnitSampleProjectMaven* project:
 ** In the *Test Results* window select the node for the *testDivide* test, 
right-click and select *Run Again* from popup menu.
h3. Expected result:

 * Only the *testDivide()* method test is run.
 * The *Test Results* window contains only the result of that failed test.

Actual result:
 * No tests executed.

*NOTE:*

*If the option Test FIle is selected, ie only the Calculator.java file is test, 
the Run Again works.*

 

  was:
h3. Steps
 # For the *JUnitSampleProjectMaven* project:
 ** In the *Test Results* window select the node for the *testDivide* test, 
right-click and select *Run Again* from popup menu.
h3. Expected result:
 * Only the *testDivide()* method test is run.
 * The *Test Results* window contains only the result of that failed test.

Actual result:
 * No tests executed.


Build output:

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0


BUILD FAILURE

Total time: 3.333 s
Finished at: 2019-03-11T21:17:06-03:00
Final Memory: 7M/34M

Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-cli) on 
project JUnitSampleProjectMaven: No tests were executed! (Set 
-DfailIfNoTests=false to ignore this error.) -> [Help 1]

 


> JUnit Test Spec - Run Again fails
> -
>
> Key: NETBEANS-2243
> URL: https://issues.apache.org/jira/browse/NETBEANS-2243
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 11.0
>Reporter: Bailey Campbell
>Priority: Major
>
> h3. Steps
>  # For the *JUnitSampleProjectMaven* project:
>  ** In the *Test Results* window select the node for the *testDivide* test, 
> right-click and select *Run Again* from popup menu.
> h3. Expected result:
>  * Only the *testDivide()* method test is run.
>  * The *Test Results* window contains only the result of that failed test.
> Actual result:
>  * No tests executed.
> *NOTE:*
> *If the option Test FIle is selected, ie only the Calculator.java file is 
> test, the Run Again works.*
>  



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

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

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



[jira] [Created] (NETBEANS-2243) JUnit Test Spec - Run Again fails

2019-03-11 Thread Bailey Campbell (JIRA)
Bailey Campbell created NETBEANS-2243:
-

 Summary: JUnit Test Spec - Run Again fails
 Key: NETBEANS-2243
 URL: https://issues.apache.org/jira/browse/NETBEANS-2243
 Project: NetBeans
  Issue Type: Bug
  Components: java - JUnit
Affects Versions: 11.0
Reporter: Bailey Campbell


h3. Steps
 # For the *JUnitSampleProjectMaven* project:
 ** In the *Test Results* window select the node for the *testDivide* test, 
right-click and select *Run Again* from popup menu.
h3. Expected result:
 * Only the *testDivide()* method test is run.
 * The *Test Results* window contains only the result of that failed test.

Actual result:
 * No tests executed.


Build output:

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0


BUILD FAILURE

Total time: 3.333 s
Finished at: 2019-03-11T21:17:06-03:00
Final Memory: 7M/34M

Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-cli) on 
project JUnitSampleProjectMaven: No tests were executed! (Set 
-DfailIfNoTests=false to ignore this error.) -> [Help 1]

 



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

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

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



[jira] [Created] (NETBEANS-2242) Plugin named org.netbeans.libs.oracle.jsparser is needed and not found

2019-03-11 Thread Jose (JIRA)
Jose created NETBEANS-2242:
--

 Summary: Plugin named org.netbeans.libs.oracle.jsparser is needed 
and not found
 Key: NETBEANS-2242
 URL: https://issues.apache.org/jira/browse/NETBEANS-2242
 Project: NetBeans
  Issue Type: Bug
  Components: javascript - Libraries
Affects Versions: 11.0
 Environment: Fedora 29 JDK Oracle 8u202
Reporter: Jose
 Attachments: NetBeans11.png

The plugin named org.netbeans.libs.oracle.jsparser is needed and not found in 
NetBeans-vc3 hence the Java Web and EE plugin can not be activated. This happen 
with both artifacts; the binary and the compiled sources.



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

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

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



[jira] [Created] (NETBEANS-2241) Improve the Language Server Protocol client in NetBeans

2019-03-11 Thread Jan Lahoda (JIRA)
Jan Lahoda created NETBEANS-2241:


 Summary: Improve the Language Server Protocol client in NetBeans
 Key: NETBEANS-2241
 URL: https://issues.apache.org/jira/browse/NETBEANS-2241
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - Code
Reporter: Jan Lahoda


NetBeans contains a rudimentary client for the Language Server Protocol (see 
ide/lsp.client). It would be awesome if the client's abilities to be enhanced 
so that it would cover all the abilities of the protocol. Also, it might be 
possible to add binding for some LSP servers/language implementations.



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

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

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



[jira] [Comment Edited] (NETBEANS-2240) NPE thrown when refactoring a class

2019-03-11 Thread Thomas Kellerer (JIRA)


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

Thomas Kellerer edited comment on NETBEANS-2240 at 3/11/19 5:49 PM:


Any refactoring that does not affect private members will do (as mentioned 
"rename class" or "rename method")
As documented in the logfile I am using OpenJDK 11.0.2  64bit on Windows 10, 
but the project is set to run on/compile to Java 8


was (Author: shammat):
Any refactoring that does not affect private members will do (as mentioned 
"rename class" or "rename method")
As documented in the logfile I am using OpenJDK 11.0.2  64bit on Windows 10

> NPE thrown when refactoring a class
> ---
>
> Key: NETBEANS-2240
> URL: https://issues.apache.org/jira/browse/NETBEANS-2240
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: CommentsTest.dump, messages.log
>
>
> Whenever I refactor a class (e.g rename, move), or public methods of a class 
> NB 11 throws a NPE. 
> This is a multi-module Maven project.
> The Java source that is mentioned in the error message is always a test class 
> using TestNG. I don't seem to get that error with projects that do not use 
> TestNG.
> Doing the refactoring with NetBeans 10 on the same project works without 
> problems.
> Due to legal reasons I can not attach the source code that is part of the 
> dump file - I had to remove everything related to the "real" source and tried 
> to replace some path names revealing private information. I hope the files 
> are useful nevertheless



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

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

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



[jira] [Commented] (NETBEANS-2240) NPE thrown when refactoring a class

2019-03-11 Thread Thomas Kellerer (JIRA)


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

Thomas Kellerer commented on NETBEANS-2240:
---

Any refactoring that does not affect private members will do (as mentioned 
"rename class" or "rename method")
As documented in the logfile I am using OpenJDK 11.0.2  64bit on Windows 10

> NPE thrown when refactoring a class
> ---
>
> Key: NETBEANS-2240
> URL: https://issues.apache.org/jira/browse/NETBEANS-2240
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: CommentsTest.dump, messages.log
>
>
> Whenever I refactor a class (e.g rename, move), or public methods of a class 
> NB 11 throws a NPE. 
> This is a multi-module Maven project.
> The Java source that is mentioned in the error message is always a test class 
> using TestNG. I don't seem to get that error with projects that do not use 
> TestNG.
> Doing the refactoring with NetBeans 10 on the same project works without 
> problems.
> Due to legal reasons I can not attach the source code that is part of the 
> dump file - I had to remove everything related to the "real" source and tried 
> to replace some path names revealing private information. I hope the files 
> are useful nevertheless



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

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

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



[jira] [Commented] (NETBEANS-2240) NPE thrown when refactoring a class

2019-03-11 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2240:
-

Step by step instructions for how to reproduce, so that we're all on exactly 
the same page about this problem. Also, which JDK specifically should be used 
to reproduce this on which operating system.

> NPE thrown when refactoring a class
> ---
>
> Key: NETBEANS-2240
> URL: https://issues.apache.org/jira/browse/NETBEANS-2240
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
>Reporter: Thomas Kellerer
>Priority: Major
> Attachments: CommentsTest.dump, messages.log
>
>
> Whenever I refactor a class (e.g rename, move), or public methods of a class 
> NB 11 throws a NPE. 
> This is a multi-module Maven project.
> The Java source that is mentioned in the error message is always a test class 
> using TestNG. I don't seem to get that error with projects that do not use 
> TestNG.
> Doing the refactoring with NetBeans 10 on the same project works without 
> problems.
> Due to legal reasons I can not attach the source code that is part of the 
> dump file - I had to remove everything related to the "real" source and tried 
> to replace some path names revealing private information. I hope the files 
> are useful nevertheless



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

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

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



[jira] [Created] (NETBEANS-2240) NPE thrown when refactoring a class

2019-03-11 Thread Thomas Kellerer (JIRA)
Thomas Kellerer created NETBEANS-2240:
-

 Summary: NPE thrown when refactoring a class
 Key: NETBEANS-2240
 URL: https://issues.apache.org/jira/browse/NETBEANS-2240
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: 11.0
Reporter: Thomas Kellerer
 Attachments: CommentsTest.dump, messages.log

Whenever I refactor a class (e.g rename, move), or public methods of a class NB 
11 throws a NPE. 

This is a multi-module Maven project.

The Java source that is mentioned in the error message is always a test class 
using TestNG. I don't seem to get that error with projects that do not use 
TestNG.

Doing the refactoring with NetBeans 10 on the same project works without 
problems.

Due to legal reasons I can not attach the source code that is part of the dump 
file - I had to remove everything related to the "real" source and tried to 
replace some path names revealing private information. I hope the files are 
useful nevertheless




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

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

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



[jira] [Resolved] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

2019-03-11 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach resolved NETBEANS-2160.
---
Resolution: Fixed

PR [https://github.com/apache/incubator-netbeans/pull/1160] has been integrated 
into master.

It is also marked for cherry picking.

> Platform project runs with JDK 11.0.1 but not with JDK 11.0.2
> -
>
> Key: NETBEANS-2160
> URL: https://issues.apache.org/jira/browse/NETBEANS-2160
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0, 11.0
>Reporter: Artur Sonnenhohl
>Assignee: Jaroslav Tulach
>Priority: Critical
>  Labels: pull-request-available
> Fix For: Next
>
> Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, 
> messages.log
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The attached app3.zip is reproducing the problem:
> The problem is related to loading modules from the IDE cluster into Netbeans.
> Error:
> 1) Import app3.zip
> 2) Compile and run the project hangs
> Success:
> 1) Import app3.zip
> 2) Disable module External Execution Process into IDE cluster.
> 3) Compile and run the project runs successfully.
>  
> I think Netbeans is not detecting modules conflicts/dependencies, i don't 
> know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1.
>  
>  
>  
> 
> Our application based on the Netbeans Platform RCP isn't unable to boot 
> hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, 
> i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 
> and JDK8 it runs perfectlly.
> The error that happens is:
> java.lang.ExceptionInInitializerError
>      at 
> org.netbeans.core.windows.view.ui.toolbars.DnDSupport.(DnDSupport.java:95)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375)
>      at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220)
>      at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304)
>      at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276)
>      at 
> org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542)
>      at 
> org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517)
>      at 
> org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162)
>      at 
> org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250)
>      at 
> org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239)
>      at 
> org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176)
>      at 
> org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96)
>      at org.netbeans.core.windows.Central.setVisible(Central.java:115)
>      at 
> org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907)
>      at 
> org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80)
>      at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215)
>      at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>      at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>      at java.base/java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>      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)
>  Caused by: java.lang.RuntimeException: failed to load system cursor: 
> 

[jira] [Updated] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

2019-03-11 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach updated NETBEANS-2160:
--
Fix Version/s: Next

> Platform project runs with JDK 11.0.1 but not with JDK 11.0.2
> -
>
> Key: NETBEANS-2160
> URL: https://issues.apache.org/jira/browse/NETBEANS-2160
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0, 11.0
>Reporter: Artur Sonnenhohl
>Assignee: Jaroslav Tulach
>Priority: Critical
>  Labels: pull-request-available
> Fix For: Next
>
> Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, 
> messages.log
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The attached app3.zip is reproducing the problem:
> The problem is related to loading modules from the IDE cluster into Netbeans.
> Error:
> 1) Import app3.zip
> 2) Compile and run the project hangs
> Success:
> 1) Import app3.zip
> 2) Disable module External Execution Process into IDE cluster.
> 3) Compile and run the project runs successfully.
>  
> I think Netbeans is not detecting modules conflicts/dependencies, i don't 
> know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1.
>  
>  
>  
> 
> Our application based on the Netbeans Platform RCP isn't unable to boot 
> hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, 
> i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 
> and JDK8 it runs perfectlly.
> The error that happens is:
> java.lang.ExceptionInInitializerError
>      at 
> org.netbeans.core.windows.view.ui.toolbars.DnDSupport.(DnDSupport.java:95)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375)
>      at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220)
>      at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304)
>      at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276)
>      at 
> org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542)
>      at 
> org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517)
>      at 
> org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162)
>      at 
> org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250)
>      at 
> org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239)
>      at 
> org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176)
>      at 
> org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96)
>      at org.netbeans.core.windows.Central.setVisible(Central.java:115)
>      at 
> org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907)
>      at 
> org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80)
>      at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215)
>      at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>      at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>      at java.base/java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>      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)
>  Caused by: java.lang.RuntimeException: failed to load system cursor: 
> DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
>      at java.desktop/java.awt.dnd.DragSource.load(DragSource.java:137)
>      at 

[incubator-netbeans] branch master updated (fb5e03f -> 5e33853)

2019-03-11 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from fb5e03f  Increased the spec version on master
 new 579040e  Show that Felix 6.0.1 doesn't handle jrt:// URLs properly
 new ad6d11b  Updating to Felix 6.0.2 fixes the jrt:// URL problem
 new 5e33853  Merge pull request #1160 from JaroslavTulach/StartOnJDK11.0.2

The 2426 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:
 .../src/org/netbeans/core/netigso/JrtUrlTest.java  | 58 ++
 platform/libs.felix/external/binaries-list |  2 +-
 ...txt => org.apache.felix.main-6.0.2-license.txt} |  4 +-
 txt => org.apache.felix.main-6.0.2-notice.txt} |  0
 platform/libs.felix/nbproject/project.properties   |  2 +-
 platform/libs.felix/nbproject/project.xml  |  4 +-
 6 files changed, 64 insertions(+), 6 deletions(-)
 create mode 100644 
platform/core.netigso/test/unit/src/org/netbeans/core/netigso/JrtUrlTest.java
 rename platform/libs.felix/external/{org.apache.felix.main-6.0.1-license.txt 
=> org.apache.felix.main-6.0.2-license.txt} (99%)
 rename platform/libs.felix/external/{org.apache.felix.main-6.0.1-notice.txt => 
org.apache.felix.main-6.0.2-notice.txt} (100%)


-
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-22) Sources generated by Annotation Processor through Maven are not on classpath of Java Editor

2019-03-11 Thread JIRA


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

René Kraneis edited comment on NETBEANS-22 at 3/11/19 1:37 PM:
---

At least for auto-value there is a work-around: having had auto-value defined 
as a project dependency (compile or provided scope) only once seems to fix the 
problem for this project. After that it can be reconfigured as a dependency in 
annotationProcessorPaths in maven-compiler-plugin configuration. If I find the 
time I will also test with the projects attached to the issue using immutables 
and not auto-value.

Edit: This was tested on NetBeans 10 and 11vc3

Edit2: The work-around works as long as no file containing the annotations is 
opened in the editor again.


was (Author: rkraneis):
At least for auto-value there is a work-around: having had auto-value defined 
as a project dependency (compile or provided scope) only once seems to fix the 
problem for this project. After that it can be reconfigured as a dependency in 
annotationProcessorPaths in maven-compiler-plugin configuration. If I find the 
time I will also test with the projects attached to the issue using immutables 
and not auto-value.

Edit: This was tested on NetBeans 10 and 11vc3

> Sources generated by Annotation Processor through Maven are not on classpath 
> of Java Editor
> ---
>
> Key: NETBEANS-22
> URL: https://issues.apache.org/jira/browse/NETBEANS-22
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 8.2, 9.0, 10.0, 11.0
>Reporter: Dave Schoorl
>Priority: Major
>  Labels: annotation-processor, java-editor, maven
> Attachments: mvn_immut.zip, mvn_meta.zip
>
>
> I have attached two simple maven projects that use an Annotation Processor. 
> The project mvn_immut uses the Immutables framework to generate immutable 
> implementations from an interface. The project mvn_meta uses the JPA 
> Metamodel AP. Both projects have a simple class or interface, Book.java, with 
> annotations and a class with a main-method, that interacts with the sources 
> generated by the AP (E.g. print something to System.out).
> 'Clean and Build' and 'Run' work without a problem. I see a Generated Sources 
> node appearing, containing the expected sources and when inspecting the 
> target/classes directory, I see the class files of my handwritten code and of 
> the generated code. However, the source file that uses the generated source, 
> does not compile, as the java editor does not recognize the AP generated 
> sources. 
> I file this report under Maven component, because if I have the exact same 
> source files in an Ant based project, there are no compilation problems.
> It appears to me that issue 
> https://netbeans.org/bugzilla/show_bug.cgi?id=217556 is related to this one.



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

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

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



[jira] [Commented] (NETBEANS-22) Sources generated by Annotation Processor through Maven are not on classpath of Java Editor

2019-03-11 Thread JIRA


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

René Kraneis commented on NETBEANS-22:
--

At least for auto-value there is a work-around: having had auto-value defined 
as a project dependency (compile or provided scope) only once seems to fix the 
problem for this project. After that it can be reconfigured as a dependency in 
annotationProcessorPaths in maven-compiler-plugin configuration. If I find the 
time I will also test with the projects attached to the issue using immutables 
and not auto-value.

> Sources generated by Annotation Processor through Maven are not on classpath 
> of Java Editor
> ---
>
> Key: NETBEANS-22
> URL: https://issues.apache.org/jira/browse/NETBEANS-22
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 8.2, 9.0, 10.0, 11.0
>Reporter: Dave Schoorl
>Priority: Major
>  Labels: annotation-processor, java-editor, maven
> Attachments: mvn_immut.zip, mvn_meta.zip
>
>
> I have attached two simple maven projects that use an Annotation Processor. 
> The project mvn_immut uses the Immutables framework to generate immutable 
> implementations from an interface. The project mvn_meta uses the JPA 
> Metamodel AP. Both projects have a simple class or interface, Book.java, with 
> annotations and a class with a main-method, that interacts with the sources 
> generated by the AP (E.g. print something to System.out).
> 'Clean and Build' and 'Run' work without a problem. I see a Generated Sources 
> node appearing, containing the expected sources and when inspecting the 
> target/classes directory, I see the class files of my handwritten code and of 
> the generated code. However, the source file that uses the generated source, 
> does not compile, as the java editor does not recognize the AP generated 
> sources. 
> I file this report under Maven component, because if I have the exact same 
> source files in an Ant based project, there are no compilation problems.
> It appears to me that issue 
> https://netbeans.org/bugzilla/show_bug.cgi?id=217556 is related to this one.



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

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

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



[jira] [Updated] (NETBEANS-22) Sources generated by Annotation Processor through Maven are not on classpath of Java Editor

2019-03-11 Thread JIRA


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

René Kraneis updated NETBEANS-22:
-
Affects Version/s: 11.0

> Sources generated by Annotation Processor through Maven are not on classpath 
> of Java Editor
> ---
>
> Key: NETBEANS-22
> URL: https://issues.apache.org/jira/browse/NETBEANS-22
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 8.2, 9.0, 10.0, 11.0
>Reporter: Dave Schoorl
>Priority: Major
>  Labels: annotation-processor, java-editor, maven
> Attachments: mvn_immut.zip, mvn_meta.zip
>
>
> I have attached two simple maven projects that use an Annotation Processor. 
> The project mvn_immut uses the Immutables framework to generate immutable 
> implementations from an interface. The project mvn_meta uses the JPA 
> Metamodel AP. Both projects have a simple class or interface, Book.java, with 
> annotations and a class with a main-method, that interacts with the sources 
> generated by the AP (E.g. print something to System.out).
> 'Clean and Build' and 'Run' work without a problem. I see a Generated Sources 
> node appearing, containing the expected sources and when inspecting the 
> target/classes directory, I see the class files of my handwritten code and of 
> the generated code. However, the source file that uses the generated source, 
> does not compile, as the java editor does not recognize the AP generated 
> sources. 
> I file this report under Maven component, because if I have the exact same 
> source files in an Ant based project, there are no compilation problems.
> It appears to me that issue 
> https://netbeans.org/bugzilla/show_bug.cgi?id=217556 is related to this one.



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

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

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



[jira] [Commented] (NETBEANS-1320) Could not debug node.js application from IDE

2019-03-11 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1320:
--

Would be nice if #16 have a benefit of it, yes :)

> Could not debug node.js application from IDE
> 
>
> Key: NETBEANS-1320
> URL: https://issues.apache.org/jira/browse/NETBEANS-1320
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Node.js
>Affects Versions: 9.0, 10.0
>Reporter: Apostolos Katranitsas
>Priority: Major
>
> Could not debug node.js application because option --debug[-brk] has changed 
> to --inspect[-brk] since node.js version 8.
> Also I don't know if the --inspect[-brk] options is working the same as the 
> --debug[-brk] option.
>  
> The file in question is the 
> [NodeExecutable.java|http://hg.netbeans.org/main/file/tip/javascript.nodejs/src/org/netbeans/modules/javascript/nodejs/exec/NodeExecutable.java].
> As the options is hard coded in the file, someone could alter the text of the 
> option or detect if node.js version is >= 8 then use the inspect option.



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

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

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



[jira] [Commented] (NETBEANS-1320) Could not debug node.js application from IDE

2019-03-11 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1320:
--

Hey [~a.schild] thx for pointing that out. I can understand, that this is not 
that easy topic, I only wanted to say, that we should change one to another but 
let the old one as it is and implement the new one + make it customizable. 
Because what will happen in Node 20? No one knows, but arguments and stuff can 
be deprecated as it is now. This is why I said, we should make it customizable, 
instead of make it hard coded, because we need to change the code again and 
again. I think that VS Code can handles it different, with a json file, for 
debugging. So restrictions, no hardcoded stuff, just customizable. Same for 
IntelliJ. You can add arguments, via an input field. Nothing is hardcoded.

Sure, we need to add another updated version of the V8 stuff, but only this, 
not the arguments.

> Could not debug node.js application from IDE
> 
>
> Key: NETBEANS-1320
> URL: https://issues.apache.org/jira/browse/NETBEANS-1320
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Node.js
>Affects Versions: 9.0, 10.0
>Reporter: Apostolos Katranitsas
>Priority: Major
>
> Could not debug node.js application because option --debug[-brk] has changed 
> to --inspect[-brk] since node.js version 8.
> Also I don't know if the --inspect[-brk] options is working the same as the 
> --debug[-brk] option.
>  
> The file in question is the 
> [NodeExecutable.java|http://hg.netbeans.org/main/file/tip/javascript.nodejs/src/org/netbeans/modules/javascript/nodejs/exec/NodeExecutable.java].
> As the options is hard coded in the file, someone could alter the text of the 
> option or detect if node.js version is >= 8 then use the inspect option.



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

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

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



[jira] [Comment Edited] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

2019-03-11 Thread Karl Pauls (JIRA)


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

Karl Pauls edited comment on NETBEANS-2160 at 3/11/19 11:55 AM:


Yes, this is a problem with the Felix framework <= 6.0.1. You can work around 
it by starting with 

{noformat}
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
{noformat}

We found a way around requiring that add-opens in 6.0.2 so if you update felix 
it should be gone (see FELIX-6035).


was (Author: karlpauls):
Yes, this is a problem with the Felix framework <= 6.0.1. You can work around 
it by starting with 

{noformat}
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
{noformat}

We found a way around requiring that add-opens in 6.0.2 so if you update felix 
it should be gone.

> Platform project runs with JDK 11.0.1 but not with JDK 11.0.2
> -
>
> Key: NETBEANS-2160
> URL: https://issues.apache.org/jira/browse/NETBEANS-2160
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0, 11.0
>Reporter: Artur Sonnenhohl
>Assignee: Jaroslav Tulach
>Priority: Critical
>  Labels: pull-request-available
> Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, 
> messages.log
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The attached app3.zip is reproducing the problem:
> The problem is related to loading modules from the IDE cluster into Netbeans.
> Error:
> 1) Import app3.zip
> 2) Compile and run the project hangs
> Success:
> 1) Import app3.zip
> 2) Disable module External Execution Process into IDE cluster.
> 3) Compile and run the project runs successfully.
>  
> I think Netbeans is not detecting modules conflicts/dependencies, i don't 
> know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1.
>  
>  
>  
> 
> Our application based on the Netbeans Platform RCP isn't unable to boot 
> hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, 
> i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 
> and JDK8 it runs perfectlly.
> The error that happens is:
> java.lang.ExceptionInInitializerError
>      at 
> org.netbeans.core.windows.view.ui.toolbars.DnDSupport.(DnDSupport.java:95)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375)
>      at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220)
>      at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304)
>      at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276)
>      at 
> org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542)
>      at 
> org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517)
>      at 
> org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162)
>      at 
> org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250)
>      at 
> org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239)
>      at 
> org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176)
>      at 
> org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96)
>      at org.netbeans.core.windows.Central.setVisible(Central.java:115)
>      at 
> org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907)
>      at 
> org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80)
>      at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215)
>      at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>      at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>      at java.base/java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>      at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>      at 
> 

[jira] [Commented] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

2019-03-11 Thread Karl Pauls (JIRA)


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

Karl Pauls commented on NETBEANS-2160:
--

Yes, this is a problem with the Felix framework <= 6.0.1. You can work around 
it by starting with 

{noformat}
--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED
{noformat}

We found a way around requiring that add-opens in 6.0.2 so if you update felix 
it should be gone.

> Platform project runs with JDK 11.0.1 but not with JDK 11.0.2
> -
>
> Key: NETBEANS-2160
> URL: https://issues.apache.org/jira/browse/NETBEANS-2160
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0, 11.0
>Reporter: Artur Sonnenhohl
>Assignee: Jaroslav Tulach
>Priority: Critical
>  Labels: pull-request-available
> Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, 
> messages.log
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The attached app3.zip is reproducing the problem:
> The problem is related to loading modules from the IDE cluster into Netbeans.
> Error:
> 1) Import app3.zip
> 2) Compile and run the project hangs
> Success:
> 1) Import app3.zip
> 2) Disable module External Execution Process into IDE cluster.
> 3) Compile and run the project runs successfully.
>  
> I think Netbeans is not detecting modules conflicts/dependencies, i don't 
> know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1.
>  
>  
>  
> 
> Our application based on the Netbeans Platform RCP isn't unable to boot 
> hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, 
> i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 
> and JDK8 it runs perfectlly.
> The error that happens is:
> java.lang.ExceptionInInitializerError
>      at 
> org.netbeans.core.windows.view.ui.toolbars.DnDSupport.(DnDSupport.java:95)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375)
>      at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220)
>      at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304)
>      at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276)
>      at 
> org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542)
>      at 
> org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517)
>      at 
> org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162)
>      at 
> org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250)
>      at 
> org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239)
>      at 
> org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176)
>      at 
> org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96)
>      at org.netbeans.core.windows.Central.setVisible(Central.java:115)
>      at 
> org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907)
>      at 
> org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80)
>      at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215)
>      at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>      at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>      at java.base/java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>      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 
> 

[jira] [Updated] (NETBEANS-2239) The project is highlighted with an exclamation mark

2019-03-11 Thread Evgeny (JIRA)


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

Evgeny updated NETBEANS-2239:
-
Summary: The project is highlighted with an exclamation mark  (was: Проект 
подсвечен восклицательным знаком)

> The project is highlighted with an exclamation mark
> ---
>
> Key: NETBEANS-2239
> URL: https://issues.apache.org/jira/browse/NETBEANS-2239
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, projects - Ant Project
>Affects Versions: 8.2
> Environment: Windows 7, 64-bit, Java 8
>Reporter: Evgeny
>Priority: Major
> Attachments: bug.png
>
>
> When i open my project, it's highlighted with a red sign. Like have a error 
> in files. But it's all right.



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

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

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



[jira] [Updated] (NETBEANS-2239) Проект подсвечен восклицательным знаком

2019-03-11 Thread Evgeny (JIRA)


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

Evgeny updated NETBEANS-2239:
-
Component/s: (was: apisupport - Project)
 projects - Ant Project

> Проект подсвечен восклицательным знаком
> ---
>
> Key: NETBEANS-2239
> URL: https://issues.apache.org/jira/browse/NETBEANS-2239
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, projects - Ant Project
>Affects Versions: 8.2
> Environment: Windows 7, 64-bit, Java 8
>Reporter: Evgeny
>Priority: Major
> Attachments: bug.png
>
>
> When i open my project, it's highlighted with a red sign. Like have a error 
> in files. But it's all right.



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

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

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



[jira] [Updated] (NETBEANS-2239) Проект подсвечен восклицательным знаком

2019-03-11 Thread Evgeny (JIRA)


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

Evgeny updated NETBEANS-2239:
-
Component/s: java - Project

> Проект подсвечен восклицательным знаком
> ---
>
> Key: NETBEANS-2239
> URL: https://issues.apache.org/jira/browse/NETBEANS-2239
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project, java - Project
>Affects Versions: 8.2
> Environment: Windows 7, 64-bit, Java 8
>Reporter: Evgeny
>Priority: Major
> Attachments: bug.png
>
>
> When i open my project, it's highlighted with a red sign. Like have a error 
> in files. But it's all right.



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

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

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



[jira] [Commented] (NETBEANS-1320) Could not debug node.js application from IDE

2019-03-11 Thread Andre Schild (JIRA)


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

Andre Schild commented on NETBEANS-1320:


[~Chrizzly] The problem is not so easy to solve.

The whole debugging protocol of nodejs has changed in v8, and not only the 
command line arguments to start debugging.

So the task would be to:
 # Detect nodejs v8 or higher
 # Use the new v8 command line arguments to start nodejs in debugger mode
 # Implement the new v8 inspect protocoll in netbeans, to be able to use the 
new version at all

 

Items 1+2 are not that big to implement, but won't solve the problem, until 3 
is also implemented.

Item 3 might also have to do or benefit from issue #16 
(https://issues.apache.org/jira/browse/NETBEANS-16)

 

> Could not debug node.js application from IDE
> 
>
> Key: NETBEANS-1320
> URL: https://issues.apache.org/jira/browse/NETBEANS-1320
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Node.js
>Affects Versions: 9.0, 10.0
>Reporter: Apostolos Katranitsas
>Priority: Major
>
> Could not debug node.js application because option --debug[-brk] has changed 
> to --inspect[-brk] since node.js version 8.
> Also I don't know if the --inspect[-brk] options is working the same as the 
> --debug[-brk] option.
>  
> The file in question is the 
> [NodeExecutable.java|http://hg.netbeans.org/main/file/tip/javascript.nodejs/src/org/netbeans/modules/javascript/nodejs/exec/NodeExecutable.java].
> As the options is hard coded in the file, someone could alter the text of the 
> option or detect if node.js version is >= 8 then use the inspect option.



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

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

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



[jira] [Updated] (NETBEANS-2085) Crash everytime when accessing c:\ root

2019-03-11 Thread Titum (JIRA)


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

Titum updated NETBEANS-2085:

Attachment: neatbeans-bug-c-property.gif

> Crash everytime when accessing c:\ root
> ---
>
> Key: NETBEANS-2085
> URL: https://issues.apache.org/jira/browse/NETBEANS-2085
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: win 10. Netabeans 10.0 64bit
>Reporter: Titum
>Priority: Major
> Attachments: neatbeans-bug-c-property.gif
>
>
> Everywhere I try to open "c:\" into "open" windows, Netbeans closes 
> immediately without error message, and without saving anything.
> It happens when opening a project, select PHP interpreter binary, add 
> downloaded plugin... even if I run neatbeans as administrator.
> It is not hapenning with other hard drives. C: contains the Windows system.
> It is not happening if I give a subfolder like "c:\wamp64" then click on 
> "Browse" (to search for "PHP interpreter" for example), or if I give the 
> subfolder as "filename" in "Open" window then click on "open".



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

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

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



[jira] [Updated] (NETBEANS-2160) Platform project runs with JDK 11.0.1 but not with JDK 11.0.2

2019-03-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-2160:
-
Labels: pull-request-available  (was: )

> Platform project runs with JDK 11.0.1 but not with JDK 11.0.2
> -
>
> Key: NETBEANS-2160
> URL: https://issues.apache.org/jira/browse/NETBEANS-2160
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0, 11.0
>Reporter: Artur Sonnenhohl
>Assignee: Jaroslav Tulach
>Priority: Critical
>  Labels: pull-request-available
> Attachments: NETBEANS-2160-felix-stream-exception.txt, app3.zip, 
> messages.log
>
>
> The attached app3.zip is reproducing the problem:
> The problem is related to loading modules from the IDE cluster into Netbeans.
> Error:
> 1) Import app3.zip
> 2) Compile and run the project hangs
> Success:
> 1) Import app3.zip
> 2) Disable module External Execution Process into IDE cluster.
> 3) Compile and run the project runs successfully.
>  
> I think Netbeans is not detecting modules conflicts/dependencies, i don't 
> know why this problem also occurs only on JDK 11.0.2 and not on 11.0.1.
>  
>  
>  
> 
> Our application based on the Netbeans Platform RCP isn't unable to boot 
> hanging during the process, this problems happens with JDK 11.0.2 and JDK 12, 
> i also tested with NetBeans 11 (preview) and it also hangs. With JDK 11.0.1 
> and JDK8 it runs perfectlly.
> The error that happens is:
> java.lang.ExceptionInInitializerError
>      at 
> org.netbeans.core.windows.view.ui.toolbars.DnDSupport.(DnDSupport.java:95)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.dndSupport(ToolbarConfiguration.java:107)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.refresh(ToolbarConfiguration.java:287)
>      at 
> org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration.activate(ToolbarConfiguration.java:375)
>      at org.openide.awt.ToolbarPool.activate(ToolbarPool.java:220)
>      at org.openide.awt.ToolbarPool.setConfigurationNow(ToolbarPool.java:304)
>      at org.openide.awt.ToolbarPool.setConfiguration(ToolbarPool.java:276)
>      at 
> org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:542)
>      at 
> org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:517)
>      at 
> org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:162)
>      at 
> org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:250)
>      at 
> org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:239)
>      at 
> org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:176)
>      at 
> org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:96)
>      at org.netbeans.core.windows.Central.setVisible(Central.java:115)
>      at 
> org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:907)
>      at 
> org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:80)
>      at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:215)
>      at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>      at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>      at java.base/java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>      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)
>  Caused by: java.lang.RuntimeException: failed to load system cursor: 
> DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
>      at java.desktop/java.awt.dnd.DragSource.load(DragSource.java:137)
>      at java.desktop/java.awt.dnd.DragSource.(DragSource.java:150)
>      

[jira] [Created] (NETBEANS-2238) JUnit Test Spec - Test Status Filters fail

2019-03-11 Thread Bailey Campbell (JIRA)
Bailey Campbell created NETBEANS-2238:
-

 Summary: JUnit Test Spec - Test Status Filters fail
 Key: NETBEANS-2238
 URL: https://issues.apache.org/jira/browse/NETBEANS-2238
 Project: NetBeans
  Issue Type: Bug
  Components: java - JUnit
Affects Versions: 11.0
Reporter: Bailey Campbell


h3. Steps
 # For the *JUnitSampleProjectAnt* project:
 ** Toggle/untoggle filter buttons labeled *Show Passed*, *Show Failed* or 
*Show Error*
 # Test the same functionality in the *JUnitSampleProjectMaven* project.
h3. Expected result:
Only passed/failed/error tests are shown if the appropriate button is toggled.
 
Actual Result:
Toggle Passed button shows all test results with test passed
Toggle Passed button shows all test result without test passed
 
Same with toggle Show Failed
 
Toggle Show Error fails as well



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

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

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



[jira] [Commented] (NETBEANS-2226) C/C++ Development Pack Source Codes

2019-03-11 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2226:
-

There is no need to hope. As stated, yes, it will be donated, it is in 
progress, here is the schedule, see the end of the page:

https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition

> C/C++ Development Pack Source Codes
> ---
>
> Key: NETBEANS-2226
> URL: https://issues.apache.org/jira/browse/NETBEANS-2226
> Project: NetBeans
>  Issue Type: Wish
> Environment: All windows :D
> For linux the plugin just work fine
>Reporter: Daes Mond
>Assignee: Daes Mond
>Priority: Minor
>
> I'm not sure why the source code for the plugin isn't available
> I hope it made available so it could be updated
> Some of the minor bugs from the plugin cannot be directly fix
> Since the source isn't available
> This issue "https://issues.apache.org/jira/browse/NETBEANS-782; can be 
> resolve without the updating the plugin since it can be tweak inside the 
> dlight source package.
> On the other hand this issue 
> "https://issues.apache.org/jira/browse/NETBEANS-2189; need the source code 
> for it
>  
> It can be solve with environment path but it would limit it to just one 
> compiler/cygwin/mingwin version and need environment paths to change if 
> switching from other windows compilers.
>  
> Also it would be nice to add support for old compilers like  turbo/borland 
> c/c++ since there are schools that seems to use it and that ide is old and 
> dos base.  Executable from these old compilers can be run using vdos (like 
> what mingw is doing using msys bash.exe).
>  
> Just a wishful thinking



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

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

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



[jira] [Commented] (NETBEANS-2109) Splash screens for 11.0 release

2019-03-11 Thread Eric Barboni (JIRA)


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

Eric Barboni commented on NETBEANS-2109:


I hope this is not something due to OS difference. But as I mention on my 
comment (20 feb)with the diff picture. The blue arrow indicate the most visible 
uglyness. Shadow on white part are very strange too. 

  !image-2019-03-11-10-29-56-233.png!

 

 

> Splash screens for 11.0 release
> ---
>
> Key: NETBEANS-2109
> URL: https://issues.apache.org/jira/browse/NETBEANS-2109
> Project: NetBeans
>  Issue Type: Task
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: 11.0-vc1, pull-request-available
> Fix For: 11.0
>
> Attachments: image-2019-02-20-09-36-36-503.png, 
> image-2019-02-20-09-37-21-832.png, image-2019-03-11-10-26-55-577.png, 
> image-2019-03-11-10-29-56-233.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Same idea as this:
> https://github.com/apache/incubator-netbeans/pull/911



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

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

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



[jira] [Updated] (NETBEANS-2109) Splash screens for 11.0 release

2019-03-11 Thread Eric Barboni (JIRA)


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

Eric Barboni updated NETBEANS-2109:
---
Attachment: image-2019-03-11-10-29-56-233.png

> Splash screens for 11.0 release
> ---
>
> Key: NETBEANS-2109
> URL: https://issues.apache.org/jira/browse/NETBEANS-2109
> Project: NetBeans
>  Issue Type: Task
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: 11.0-vc1, pull-request-available
> Fix For: 11.0
>
> Attachments: image-2019-02-20-09-36-36-503.png, 
> image-2019-02-20-09-37-21-832.png, image-2019-03-11-10-26-55-577.png, 
> image-2019-03-11-10-29-56-233.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Same idea as this:
> https://github.com/apache/incubator-netbeans/pull/911



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

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

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



[jira] [Updated] (NETBEANS-2109) Splash screens for 11.0 release

2019-03-11 Thread Eric Barboni (JIRA)


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

Eric Barboni updated NETBEANS-2109:
---
Attachment: image-2019-03-11-10-26-55-577.png

> Splash screens for 11.0 release
> ---
>
> Key: NETBEANS-2109
> URL: https://issues.apache.org/jira/browse/NETBEANS-2109
> Project: NetBeans
>  Issue Type: Task
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: 11.0-vc1, pull-request-available
> Fix For: 11.0
>
> Attachments: image-2019-02-20-09-36-36-503.png, 
> image-2019-02-20-09-37-21-832.png, image-2019-03-11-10-26-55-577.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Same idea as this:
> https://github.com/apache/incubator-netbeans/pull/911



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

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

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



[jira] [Commented] (NETBEANS-2226) C/C++ Development Pack Source Codes

2019-03-11 Thread Daes Mond (JIRA)


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

Daes Mond commented on NETBEANS-2226:
-

I tried to pull it from netbeans.org mercurial repo and tried to build

Then use the jar and yes netbeans 10 run but ide rendering gets buggy

since the plugin uses jdk 7

Hopefully it gets donated and ported :D

> C/C++ Development Pack Source Codes
> ---
>
> Key: NETBEANS-2226
> URL: https://issues.apache.org/jira/browse/NETBEANS-2226
> Project: NetBeans
>  Issue Type: Wish
> Environment: All windows :D
> For linux the plugin just work fine
>Reporter: Daes Mond
>Assignee: Daes Mond
>Priority: Minor
>
> I'm not sure why the source code for the plugin isn't available
> I hope it made available so it could be updated
> Some of the minor bugs from the plugin cannot be directly fix
> Since the source isn't available
> This issue "https://issues.apache.org/jira/browse/NETBEANS-782; can be 
> resolve without the updating the plugin since it can be tweak inside the 
> dlight source package.
> On the other hand this issue 
> "https://issues.apache.org/jira/browse/NETBEANS-2189; need the source code 
> for it
>  
> It can be solve with environment path but it would limit it to just one 
> compiler/cygwin/mingwin version and need environment paths to change if 
> switching from other windows compilers.
>  
> Also it would be nice to add support for old compilers like  turbo/borland 
> c/c++ since there are schools that seems to use it and that ide is old and 
> dos base.  Executable from these old compilers can be run using vdos (like 
> what mingw is doing using msys bash.exe).
>  
> Just a wishful thinking



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

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

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



[jira] [Commented] (NETBEANS-2236) Exception NoSuchMethodError

2019-03-11 Thread Daes Mond (JIRA)


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

Daes Mond commented on NETBEANS-2236:
-

It usually happens when using jar files compiled with different versions of jdk

e.g. included file.jar compiled in 1.7 then jdk 9 is use to compile myapp.jar 
which imported class from file.jar

> Exception NoSuchMethodError
> ---
>
> Key: NETBEANS-2236
> URL: https://issues.apache.org/jira/browse/NETBEANS-2236
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Java, Linux
>Reporter: Stoiber Peter
>Assignee: Stoiber Peter
>Priority: Major
>
> Hello,
>  
> I have written a netbeans maven project and everything works fine. But after 
> building the project, I am receiving following exception:
>  
> Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 
> java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
>  at 
> humer.kamera.PhraseUvcDescriptor.phraseUvcData(PhraseUvcDescriptor.java:116)
>  at humer.kamera.CameraSearch.listDevice(CameraSearch.java:143)
>  at humer.kamera.CameraSearch.autoSearchTheCamera(CameraSearch.java:85)
>  at humer.kamera.Kam.AutoSearchTheCamerasActionPerformed(Kam.java:385)
>  at humer.kamera.Kam.access$100(Kam.java:45)
>  at humer.kamera.Kam$2.actionPerformed(Kam.java:281)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  
> I have already posted this issue on following site:
> [https://www.codeproject.com/Questions/1279366/Nosuchmethoderror-in-jar-program]
>  
> and the project I have written can be found under following link:
> [https://github.com/Peter-St/Linux_Jna_Kamera]
>  
> Any help would be appreciated.
>  
> Thanks,
>  
> Peter
>  



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

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

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