[incubator-netbeans] branch master updated: [NETBEANS-1438] : stackoverflowerror opening .js files (#994)

2018-11-01 Thread rtaneja
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c24241d  [NETBEANS-1438] : stackoverflowerror opening .js files (#994)
c24241d is described below

commit c24241d558a02450c2c5a4b630a1740cbdf94f90
Author: Reema Taneja <32299405+rtane...@users.noreply.github.com>
AuthorDate: Fri Nov 2 10:23:08 2018 +0530

[NETBEANS-1438] : stackoverflowerror opening .js files (#994)

* [NETBEANS-1438] : stackoverflowerror opening .js files

* [NETBEANS-1438] : StackOverFlowError opening .js files

* removed redundant code
---
 .../unit/data/testfiles/coloring/issue233298_3.js  |  6 ++
 .../editor/navigation/GoToDeclarationTest.java |  4 +
 .../modules/javascript2/model/api/ModelUtils.java  | 88 ++
 3 files changed, 65 insertions(+), 33 deletions(-)

diff --git 
a/webcommon/javascript2.editor/test/unit/data/testfiles/coloring/issue233298_3.js
 
b/webcommon/javascript2.editor/test/unit/data/testfiles/coloring/issue233298_3.js
new file mode 100644
index 000..89df478
--- /dev/null
+++ 
b/webcommon/javascript2.editor/test/unit/data/testfiles/coloring/issue233298_3.js
@@ -0,0 +1,6 @@
+module.exports = function test() {
+  var test1 = Foo.test2;
+  Foo.test2 = function(err, test3) { return test3; };
+  Foo.test2 = test1;
+};
+
diff --git 
a/webcommon/javascript2.editor/test/unit/src/org/netbeans/modules/javascript2/editor/navigation/GoToDeclarationTest.java
 
b/webcommon/javascript2.editor/test/unit/src/org/netbeans/modules/javascript2/editor/navigation/GoToDeclarationTest.java
index d5964d7..c196fce 100644
--- 
a/webcommon/javascript2.editor/test/unit/src/org/netbeans/modules/javascript2/editor/navigation/GoToDeclarationTest.java
+++ 
b/webcommon/javascript2.editor/test/unit/src/org/netbeans/modules/javascript2/editor/navigation/GoToDeclarationTest.java
@@ -53,6 +53,10 @@ public class GoToDeclarationTest extends JsTestBase {
 public void testIssue233298_4() throws Exception { 
 checkDeclaration("testfiles/coloring/issue233298.js", "a.b^", "a.^b");
 }
+
+public void testIssue233298_5() throws Exception {
+checkDeclaration("testfiles/coloring/issue233298_3.js", "Foo.test2 = 
test^1", "var ^test1 = Foo.test2");
+}
 
 public void testBasicNavigation_01() throws Exception {
 checkDeclaration("testfiles/model/variables01.js", "var address = new 
A^ddress(\"Prague\", \"Czech Republic\", 15000)", "function ^Address (town, 
state, number) {");
diff --git 
a/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java
 
b/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java
index fc58224..1882a87 100644
--- 
a/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java
+++ 
b/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java
@@ -29,6 +29,9 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
 import java.util.StringTokenizer;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+import java.util.stream.Collectors;
 import org.netbeans.api.annotations.common.NullAllowed;
 import org.netbeans.api.lexer.Token;
 import org.netbeans.api.lexer.TokenHierarchy;
@@ -82,6 +85,8 @@ public class ModelUtils {
 
 private static String GLOBAL_DIRECTIVE = "global"; //NOI18N
 
+private static final Logger LOG = 
Logger.getLogger(ModelUtils.class.getName());
+
 public static JsObjectImpl getJsObject (ModelBuilder builder, 
List fqName, boolean isLHS) {
 if (fqName == null || fqName.isEmpty()) {
 return null;
@@ -1172,14 +1177,17 @@ public class ModelUtils {
  * @return
  */
 public static TypeUsage createResolvedType(JsObject parent, TypeUsage 
typeHere) {
+int invokeCount = 0;
 String fqn = getFQNFromType(typeHere);
-return resolveTypes(parent, fqn, typeHere.getOffset());
+List alreadyResolved = new ArrayList<>(); 
+return resolveTypes(parent, fqn, typeHere.getOffset(), 
alreadyResolved, invokeCount);
 }
 
 /* @return TypeUsage with generated typename string 
  */
-private static TypeUsage resolveTypes(JsObject parent, String fqn, int 
offset) {
+private static TypeUsage resolveTypes(JsObject parent, String fqn, int 
offset, List alreadyResolved, int invokeCount) {
 
+invokeCount++;
 String name = fqn;
 StringBuilder props = new StringBuilder();
 int indx = fqn.indexOf(".");
@@ -1187,42 +1195,49 @@ public class ModelUtils {
 name = fqn.substring(0, indx);
 props.append(fqn.substring(indx + 1));
 }
-List localResolved = new ArrayList();
+List localResolved = new ArrayList<>();
 

[jira] [Updated] (NETBEANS-1576) PHP autocompletion partially broken

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


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

ASF GitHub Bot updated NETBEANS-1576:
-
Labels: autocompletion php pull-request-available  (was: autocompletion php)

> PHP autocompletion partially broken
> ---
>
> Key: NETBEANS-1576
> URL: https://issues.apache.org/jira/browse/NETBEANS-1576
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
>Reporter: Nameless
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion, php, pull-request-available
> Attachments: PhpAutocompletionProblems.zip, 
> autocompletion_problem_screencast.mp4
>
>
> It seems that autocompletion partially broken for PHP project.
> In project's properties PHP version 7.2 selected for my example.
> Here is [screencast|https://streamable.com/auldi] (attached also). 
> Screencast was made with NB v10#890, but I'm getting the same troubles with 
> Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are 
> specified.
> Textual description (in comments):
> {code:php}
>  namespace Repo;
> 
> use Entity\EntityClass;
> 
> /**
>  * @method EntityClass[] getAll() 
>  */
> class RepoClass
> {
> /**
>  * 
>  * @param array $params
>  * @return EntityClass
>  */
> public function findOrCreate(array $params): EntityClass
> {
> return new EntityClass();
> }
> }
> {code}
> {code:php}
>  
> namespace App;
> 
> class App
> {
> public function exec()
> {
> $repo = $magick->getRepo();
> /* @var $repo \Repo\RepoClass */
> $obj = $repo->findOrCreate($params);
> // for now all goes fine, ctrl+space after `->` shows methods 
> // `getAll()` and  `findOrCreate(array $params)`
> $obj-> // but no autocompletion here :(
> }
> 
> }
> {code}
> {panel:title=Versions}
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
> {panel}



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1598:
-

Because you downloaded and installed JDK 11. Can you stop posting screenshots 
in your issues? They're not adding any information.

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png, 
> picture5.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you
> !picture12.png!



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama edited comment on NETBEANS-1598 at 11/1/18 11:24 PM:
-

[https://gluonhq.com/products/javafx/]

How? I'm sorry if I knew it, I would do it.


was (Author: michal_cat):
[https://gluonhq.com/products/javafx/]

How? I'm sorry if I knew it, I would do it,

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png, 
> picture5.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you
> !picture12.png!



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1598:
---

NetBeans runs in JDK 11. And when I open the platform manager, it contains just 
JDK 11.

!picture5.png!

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png, 
> picture5.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you
> !picture12.png!



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1598:
--
Attachment: picture5.png

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png, 
> picture5.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you
> !picture12.png!



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1598:
--
Description: 
Hello,

I would be very grateful if NetBeans managed to automatically download and 
added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.

Thank you

!picture12.png!

  was:
Hello,

I would be very grateful if NetBeans managed to automatically download and 
added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.

Thank you


> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you
> !picture12.png!



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1598:
-

Yes, that's 8.2. But Apache NetBeans is not bundled with a JDK.

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Eduardo Quintanilla (JIRA)


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

Eduardo Quintanilla commented on NETBEANS-1598:
---

It used to be bundled with the JDK but i guess that is not the case anymore.

[http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html]

!image-2018-11-01-17-10-14-254.png!

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Eduardo Quintanilla (JIRA)


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

Eduardo Quintanilla updated NETBEANS-1598:
--
Attachment: image-2018-11-01-17-10-14-254.png

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: image-2018-11-01-17-10-14-254.png, picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1598:
-

NetBeans does not contain a JDK. You need to explicitly download it.

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1598:
---

NetBeans contains the JDK in which it runs. Adding an existing JDK is not 
complicated. And even downloading JDK, installing and adding is much easier 
than with OpenJavaFX. Additionally, just add JDK only once (then you can easily 
switch between them).

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1598:
-

But you need to download the JDK yourself too, why can't you download JavaFX 
yourself? Just go to that page and click Download.

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1598:
---

[https://gluonhq.com/products/javafx/]

How? I'm sorry if I knew it, I would do it,

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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] [Closed] (NETBEANS-1343) It is not possible to create a new JavaFX project in JDK 11

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama closed NETBEANS-1343.
-
Resolution: Later

> It is not possible to create a new JavaFX project in JDK 11
> ---
>
> Key: NETBEANS-1343
> URL: https://issues.apache.org/jira/browse/NETBEANS-1343
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: javafx, pull-request-available
> Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, 
> picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, 
> picture8.png, picture9.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1598:
-

>From where? How?

> Automatically download and add OpenJavaFX libraries to project
> --
>
> Key: NETBEANS-1598
> URL: https://issues.apache.org/jira/browse/NETBEANS-1598
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javafx - Project, projects - Libraries
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: Library, javafx
> Attachments: picture12.png
>
>
> Hello,
> I would be very grateful if NetBeans managed to automatically download and 
> added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.
> Thank you



--
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-1598) Automatically download and add OpenJavaFX libraries to project

2018-11-01 Thread Michal Rama (JIRA)
Michal Rama created NETBEANS-1598:
-

 Summary: Automatically download and add OpenJavaFX libraries to 
project
 Key: NETBEANS-1598
 URL: https://issues.apache.org/jira/browse/NETBEANS-1598
 Project: NetBeans
  Issue Type: New Feature
  Components: javafx - Project, projects - Libraries
Affects Versions: 10.0
 Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
Reporter: Michal Rama
 Attachments: picture12.png

Hello,

I would be very grateful if NetBeans managed to automatically download and 
added the OpenJavaFX libraries to the new / existing JavaFX project in JDK 11.

Thank you



--
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-1597) Cursor highlighting missing

2018-11-01 Thread Arthur Schwarz (JIRA)
Arthur Schwarz created NETBEANS-1597:


 Summary: Cursor highlighting missing
 Key: NETBEANS-1597
 URL: https://issues.apache.org/jira/browse/NETBEANS-1597
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 8.2
Reporter: Arthur Schwarz
 Fix For: 8.2


Product Version = NetBeans IDE 8.2 (Build 201705191307)
Operating System = Windows 10 version 10.0 running on amd64
     = Windows  7
Java; VM; Vendor = 1.8.0_102
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14


STEPS:
  * tools->options->fonts & colors -> Profile select either Norway Today or 
Netbeans 
  * Apply selection
  * Place the mouse cursor anywhere

ACTUAL:
 Cursor position Highlighted (as in the other Profiles).

This same behavior is seen in Netbeans 9.0 on both my Win7 and Win10 systems, 
to wit, the cursor position is not highlighted. I suspect that the 
'highlighting is a vertical, black bar and black doesn't show up well on a 
black background.

I've tried to find the 'correct' color in tools->options-> Fonts & Colors in 
both Highlighting and syntax and can't seem to locate it. If there exists a way 
to change cursor highlighting please reveal the mystery. If not, is there 
anyway to address this as an issue?



--
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-1343) It is not possible to create a new JavaFX project in JDK 11

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1343:
-

Well, we'll need to evaluate this and see whether and why and how. I recommend 
you close this issue and open a new enhancement request asking for OpenJFX to 
be downloaded (still not sure from where and how this can be done, to be 
honest).

> It is not possible to create a new JavaFX project in JDK 11
> ---
>
> Key: NETBEANS-1343
> URL: https://issues.apache.org/jira/browse/NETBEANS-1343
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: javafx, pull-request-available
> Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, 
> picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, 
> picture8.png, picture9.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
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-1343) It is not possible to create a new JavaFX project in JDK 11

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1343:
---

Yes. Just like Windows can download and install drivers for newly connected 
device. This feature already had Windows 7.

> It is not possible to create a new JavaFX project in JDK 11
> ---
>
> Key: NETBEANS-1343
> URL: https://issues.apache.org/jira/browse/NETBEANS-1343
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: javafx, pull-request-available
> Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, 
> picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, 
> picture8.png, picture9.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Georgi (JIRA)


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

Georgi commented on NETBEANS-1596:
--

Is there a way to hide the console window ? 

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1343) It is not possible to create a new JavaFX project in JDK 11

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1343:
-

I'm not sure what "until the situation with OpenJavaFX is properly resolved" 
means -- do you mean that Apache NetBeans should download OpenJFX, from where, 
and why?

> It is not possible to create a new JavaFX project in JDK 11
> ---
>
> Key: NETBEANS-1343
> URL: https://issues.apache.org/jira/browse/NETBEANS-1343
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: javafx, pull-request-available
> Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, 
> picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, 
> picture8.png, picture9.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1596:
-

It's an empty window for the first time, the other releases there's content in 
it: https://github.com/apache/incubator-netbeans/pull/920

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1343) It is not possible to create a new JavaFX project in JDK 11

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1343:
---

Yes, you are right, but even though I said that it is possible to modify / 
create a project in OpenJavaFX, I strongly recommend all developers.

NetBeans and "classic" java projects in JDK 11, but for JavaFX to use JDK 10 
until the situation with OpenJavaFX is properly resolved.

> It is not possible to create a new JavaFX project in JDK 11
> ---
>
> Key: NETBEANS-1343
> URL: https://issues.apache.org/jira/browse/NETBEANS-1343
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1
>Reporter: Michal Rama
>Priority: Major
>  Labels: javafx, pull-request-available
> Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, 
> picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, 
> picture8.png, picture9.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Georgi (JIRA)


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

Georgi commented on NETBEANS-1596:
--

No, this is the first time when it appears this way. All other version I have 
installed: 8.2 and 9 does not open 2 windows simutaineously. Just ckecked with 

Apache NetBeans IDE Dev (Build incubator-netbeans-release-302-on-20180517)

and 
8.2

and they work fine. Can send screenshots if needed.

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1423:
-

No, I don't, but you can try JDK 12 EA 18 here: https://jdk.java.net/12/

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga resolved NETBEANS-1423.
-
Resolution: Fixed

Fixed in JDK 12 EA 18 here: https://jdk.java.net/12/, backported to 11.02.



> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1423:
---

And do not you know at least the approximate date of the release of Java 11.0.2?

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1596:
-

Yes, the command prompt stays active as long as NetBeans is active, that's 
always been true.

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Georgi (JIRA)


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

Georgi commented on NETBEANS-1596:
--

Hello. I just downloaded and tried the latest version from the link you 
pointed. The behaviour is the same.
Running netbeans runs two windows - the command prompt (from the image 
attached) and the netbeans itself. The command prompt stays active as long the 
main netbeans is active.

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1596:
-

Use this instead, please: 
https://cwiki.apache.org/confluence/display/NETBEANS/10vc2

> Starting NetBeans runs  two windows - one the netbeans itself. Other is 
> Command console.
> 
>
> Key: NETBEANS-1596
> URL: https://issues.apache.org/jira/browse/NETBEANS-1596
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-360-on-20181029)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Georgi
>Priority: Major
> Attachments: netbeans_2_windows.png
>
>
> Hi.
> I am on WINDOWS 7.
> Dowloaded the latest version of netbeans:
> incubator-netbeans-release-360-on-20181029
> When started, netbeans launches two windows: one blank command prompt and 
> other - the netbeans itself.
> Never seen this before. I also have netbeans 8.2 and 9. The command windows 
> appears only in the latest version.
> I am using Netbeans for PHP, if it matters...



--
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-1596) Starting NetBeans runs two windows - one the netbeans itself. Other is Command console.

2018-11-01 Thread Georgi (JIRA)
Georgi created NETBEANS-1596:


 Summary: Starting NetBeans runs  two windows - one the netbeans 
itself. Other is Command console.
 Key: NETBEANS-1596
 URL: https://issues.apache.org/jira/browse/NETBEANS-1596
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-360-on-20181029)
Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
Runtime: Java(TM) SE Runtime Environment 10.0.1+10
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Reporter: Georgi
 Attachments: netbeans_2_windows.png

Hi.
I am on WINDOWS 7.
Dowloaded the latest version of netbeans:

incubator-netbeans-release-360-on-20181029

When started, netbeans launches two windows: one blank command prompt and other 
- the netbeans itself.

Never seen this before. I also have netbeans 8.2 and 9. The command windows 
appears only in the latest version.

I am using Netbeans for PHP, if it matters...





--
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-168) Background scanning process needs a rethink

2018-11-01 Thread Gili (JIRA)


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

Gili commented on NETBEANS-168:
---

Christian, are you able to reproduce the issue on demand on your computer?

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages 10.0 vc2.log, messages.log, ui.log, uigestures 
> 10.0 vc
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-168) Background scanning process needs a rethink

2018-11-01 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-168:
--

Well, the real issue is really hard to catch, not even debug that.

What happens with me is that sometimes the IDE starts to peg the CPU checking 
for external modifications. It is also can result heavy GC and sometimes a 
memory leak. I just don't know how to trigger that. But it happens with me 
almost daily. Most of the time the IDE is restored itself in 20-30 minutes of 
heavy disk and CPU work. As of the source scanning it is just really matter of 
milliseconds, seconds maybe.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages 10.0 vc2.log, messages.log, ui.log, uigestures 
> 10.0 vc
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Bailey Campbell (JIRA)


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

Bailey Campbell updated NETBEANS-1595:
--
Priority: Minor  (was: Blocker)

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Minor
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Bailey Campbell (JIRA)


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

Bailey Campbell commented on NETBEANS-1595:
---

I will change the severity if you don't think it's a blocker.  I really don't 
understand the feature that well. 

Someone posted a screenshot of an add platform that shows the module list 
populated, mine does not do that.

Based on your video tutorial for developing/debugging the NetBeans plaform and 
the screenshot provided above I assumed the modules list should be populated.  
I also assumed if the modules list was not populated then the platform was not 
added correctly.

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1595:
-

Ah, OK, [~lkishalmi], if you feel there's an issue here, let's keep it, and how 
much of a blocker is it, in your opinion?

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1595:
-

Maybe provide step by step instructions describing what you want to do, I will 
show via a YouTube clip how you can do that in 10-vc2, and in exchange you'll 
just close this issue, or make it 'minor', so that it doesn't block the 
release, and since it doesn't seem to me like this is an issue at all.

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-1595:
---

Quite strange, just attached a screenshot running dev version and be able to 
add the 10.0-vc2 to the Platforms, the modules are being populated.
However Doing the opposite does not work (running 10.0-vc2 and adding a 
development version.)

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga edited comment on NETBEANS-1595 at 11/1/18 7:00 PM:
--

But why is the fact that the modules list does not populate a reason to believe 
that the platform was not added? The point is, can you create a new NetBeans 
Platform application in Apache NetBeans 10-vc2 and run that application? 
(Because, I just did that without any problem...)


was (Author: geertjanwielenga):
But why is the fact that the modules list does not populate a reason to believe 
that the platform was not added? The point is, can you create a new NetBeans 
Platform application in Apache NetBeans 10-vc2 and run that application?

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1595:
-

But why is the fact that the modules list does not populate a reason to believe 
that the platform was not added? The point is, can you create a new NetBeans 
Platform application in Apache NetBeans 10-vc2 and run that application?

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-168) Background scanning process needs a rethink

2018-11-01 Thread Gili (JIRA)


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

Gili commented on NETBEANS-168:
---

Perhaps you could could set up a VNC session where Laszlo could remotely debug 
the problem on the environment where it occurs? This should help you reproduce 
the problem faster than this blind-debugging technique :)

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages 10.0 vc2.log, messages.log, ui.log, uigestures 
> 10.0 vc
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Bailey Campbell (JIRA)


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

Bailey Campbell commented on NETBEANS-1595:
---

I cannot use Apache NetBeans 10.0 to add a NetBeans Plaform, which I want to do 
in order to try and learn the NetBeans application to possibly do some dev 
work, maybe small bug fixes.

Can I use Apache NetBeans 10.0 for other things, of course I can.  If others 
are not affected by this issue then I wouldn't consider it a blocker.  I'm new 
here and not able to appropriately determine the severity of an issue.

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-1595:
--
Attachment: Screenshot from 2018-11-01 11-53-27.png

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
> Attachments: Screenshot from 2018-11-01 11-53-27.png
>
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1595:
-

Also, what is it that you are trying to do here, i.e., WHY are you trying to 
register the NetBeans Platform in, I guess, 10-vc2, i.e., what is your use case 
exactly?

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1595:
-

Is this a blocker to release Apache NetBeans 10? In other words, you are not 
able to use Apache NetBeans 10 if this issue is not fixed?

> Cannot add NetBeans Plaform
> ---
>
> Key: NETBEANS-1595
> URL: https://issues.apache.org/jira/browse/NETBEANS-1595
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Bailey Campbell
>Priority: Blocker
>
> Attempt to add NetBeans Platform fails because modules list is not populated. 
> Steps to take,
> Select, Tools->NetBeans Platforms. 
> Select Add Platform button. 
> Select platform to add, (Optional to create your own name for the new 
> platform)  
> After the plaform is added you will notice that the modules list does not 
> populate.  
> For my test I cloned the NetBeans repository in Git and built it using the 
> Ant script.  Then I used the platform under nbbuild directory for my test.



--
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-882) Exception running under JDK 11

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga resolved NETBEANS-882.

Resolution: Fixed

Fixed in JDK 12 EA 18 (2018/11/1) (https://jdk.java.net/12/), backported to JDK 
11.0.2.



> Exception running under JDK 11
> --
>
> Key: NETBEANS-882
> URL: https://issues.apache.org/jira/browse/NETBEANS-882
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Priority: Blocker
> Fix For: 10.0
>
> Attachments: Screenshot_20180918_104806.png, 
> Screenshot_20180918_104851.png, Screenshot_20181002_095023.png, 
> exception_on_openjdk11.txt, image-2018-05-30-11-34-53-526.png, 
> image-2018-05-30-12-20-16-090.png, image-2018-09-18-11-15-45-588.png
>
>
> Installed some modules and got this - no code no nothing done..
> {code:java}
> javax.management.openmbean.OpenDataException: Argument value of wrong type 
> for item lineNumber: value java.lang.ref.Reference, type 
> javax.management.openmbean.SimpleType(name=java.lang.Integer)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
> Caused: java.lang.AssertionError
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
> at 
> java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
> at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
> at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
> at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
> at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}



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

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

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



[jira] [Commented] (NETBEANS-882) Exception running under JDK 11

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-882:


Fixed in JDK 12 EA 18 (2018/11/1) (https://jdk.java.net/12/), backported to JDK 
11.0.2.


> Exception running under JDK 11
> --
>
> Key: NETBEANS-882
> URL: https://issues.apache.org/jira/browse/NETBEANS-882
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Sven Reimers
>Priority: Blocker
> Fix For: 10.0
>
> Attachments: Screenshot_20180918_104806.png, 
> Screenshot_20180918_104851.png, Screenshot_20181002_095023.png, 
> exception_on_openjdk11.txt, image-2018-05-30-11-34-53-526.png, 
> image-2018-05-30-12-20-16-090.png, image-2018-09-18-11-15-45-588.png
>
>
> Installed some modules and got this - no code no nothing done..
> {code:java}
> javax.management.openmbean.OpenDataException: Argument value of wrong type 
> for item lineNumber: value java.lang.ref.Reference, type 
> javax.management.openmbean.SimpleType(name=java.lang.Integer)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
> Caused: java.lang.AssertionError
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
> at 
> java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
> at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
> at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
> at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
> at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}



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

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

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



[jira] [Resolved] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga resolved NETBEANS-1359.
-
Resolution: Fixed

Fixed in JDK 12 EA 18 (2018/11/1) (https://jdk.java.net/12/), backported to JDK 
11.0.2.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
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-1359) Profiling the IDE hangs when saving snapshot

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1359:
-

Confirmed. 18 (2018/11/1) fixes the problem (https://jdk.java.net/12/) and if 
this is in 11.0.2, then that's excellent.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
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-1595) Cannot add NetBeans Plaform

2018-11-01 Thread Bailey Campbell (JIRA)
Bailey Campbell created NETBEANS-1595:
-

 Summary: Cannot add NetBeans Plaform
 Key: NETBEANS-1595
 URL: https://issues.apache.org/jira/browse/NETBEANS-1595
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
Reporter: Bailey Campbell


Attempt to add NetBeans Platform fails because modules list is not populated. 
Steps to take,

Select, Tools->NetBeans Platforms. 

Select Add Platform button. 

Select platform to add, (Optional to create your own name for the new platform) 
 

After the plaform is added you will notice that the modules list does not 
populate.  

For my test I cloned the NetBeans repository in Git and built it using the Ant 
script.  Then I used the platform under nbbuild directory for my test.



--
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-168) Background scanning process needs a rethink

2018-11-01 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-168:
--

Unfortunately this is not enough. I could not reproduce this issue, upon this. 
It would be still the Windows defender which slows the IDE down.
Though there must be an issue somewhere. Yesterday I got a OOME while the IDE 
was checking for external changes.

I run my IDE with my FileChangeListener tweaks for whole night. Nothing 
happened. I still do not know how to trigger this massive FCL event flow, but 
keep on trying.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages 10.0 vc2.log, messages.log, ui.log, uigestures 
> 10.0 vc
>
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-1594) JIRA plugin: NPE when new fix version added since JIRA loaded

2018-11-01 Thread Ray Slater (JIRA)
Ray Slater created NETBEANS-1594:


 Summary: JIRA plugin: NPE when new fix version added since JIRA 
loaded
 Key: NETBEANS-1594
 URL: https://issues.apache.org/jira/browse/NETBEANS-1594
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Ray Slater


* Have an open Jira in the IDE
 * Outside the IDE a new fix version was added and set on the Jira
 * When the Jira is updated in the IDE (refresh) a null pointer error is raised
 * The Jira is marked as modified and cannot be discarded.

{noformat}
WARNING [org.netbeans.modules.jira.Jira]: custom field 
attribute.jira.custom::customfield_10254 : 
com.atlassian.jira.plugin.system.customfieldtypes:textfield contains no values
WARNING [org.netbeans.modules.jira.Jira]: custom field 
attribute.jira.custom::customfield_10255 : 
com.atlassian.jira.plugin.system.customfieldtypes:textfield contains no values
SEVERE [global]
java.lang.NullPointerException
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)
 at 
org.netbeans.modules.jira.issue.IssuePanel.discardUnsavedChanges(IssuePanel.java:2951)
 at 
org.netbeans.modules.jira.issue.NbJiraIssue$Controller.discardUnsavedChanges(NbJiraIssue.java:2026)
 at 
org.netbeans.modules.bugtracking.ui.issue.IssueTopComponent.canClose(IssueTopComponent.java:557)
 at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:953)
 at org.netbeans.core.windows.Central.userClosedTopComponent(Central.java:2012)
 at 
org.netbeans.core.windows.view.DefaultView.userClosedTopComponent(DefaultView.java:771)
 at 
org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:313)
 at org.netbeans.core.multitabs.Controller.postActionEvent(Controller.java:108)
 at 
org.netbeans.core.multitabs.impl.CloseButtonHandler.mouseClicked(CloseButtonHandler.java:71)
 at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
 at java.awt.Component.processMouseEvent(Component.java:6536)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
 at java.awt.Component.processEvent(Component.java:6298)
 at java.awt.Container.processEvent(Container.java:2236)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2294)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
 at java.awt.Container.dispatchEventImpl(Container.java:2280)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82){noformat}
 



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

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

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



[jira] [Assigned] (NETBEANS-1593) Debugging slows down JavaScript execution 20x times

2018-11-01 Thread Martin Entlicher (JIRA)


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

Martin Entlicher reassigned NETBEANS-1593:
--

Assignee: Martin Entlicher

> Debugging slows down JavaScript execution 20x times
> ---
>
> Key: NETBEANS-1593
> URL: https://issues.apache.org/jira/browse/NETBEANS-1593
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0
>Reporter: Jaroslav Tulach
>Assignee: Martin Entlicher
>Priority: Major
>
> While working on 
> [PR-4|https://github.com/graalvm/graal-js-jdk11-maven-demo/pull/4] I realized 
> that Truffle debugger support in NetBeans slows down execution 20x times. 
> Without debugger the benchmark can execute in 150ms. With debugger it takes 
> more than 3s. At current state the great Truffle debugging feature is not 
> suitable for a demo.
> To reproduce, you need:
>  * NetBeans 10 VC2
>  * JDK11
>  * 
> [graal-js-jdk11-maven-demo|https://github.com/graalvm/graal-js-jdk11-maven-demo]
>  at revision 2f851ca6d922
> Then you can debug the {{AppTest}} unit test and put a breakpoint to calls to 
> {{eval}}, etc. Once the breakpoint is hit, remove it and continue. The rest 
> of the execution will be slow - e.g. take more than 3s for each round.



--
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-1593) Debugging slows down JavaScript execution 20x times

2018-11-01 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach updated NETBEANS-1593:
--
Affects Version/s: 10.0

> Debugging slows down JavaScript execution 20x times
> ---
>
> Key: NETBEANS-1593
> URL: https://issues.apache.org/jira/browse/NETBEANS-1593
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0
>Reporter: Jaroslav Tulach
>Priority: Major
>
> While working on 
> [PR-4|https://github.com/graalvm/graal-js-jdk11-maven-demo/pull/4] I realized 
> that Truffle debugger support in NetBeans slows down execution 20x times. 
> Without debugger the benchmark can execute in 150ms. With debugger it takes 
> more than 3s. At current state the great Truffle debugging feature is not 
> suitable for a demo.
> To reproduce, you need:
>  * NetBeans 10 VC2
>  * JDK11
>  * 
> [graal-js-jdk11-maven-demo|https://github.com/graalvm/graal-js-jdk11-maven-demo]
>  at revision 2f851ca6d922
> Then you can debug the {{AppTest}} unit test and put a breakpoint to calls to 
> {{eval}}, etc. Once the breakpoint is hit, remove it and continue. The rest 
> of the execution will be slow - e.g. take more than 3s for each round.



--
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-1593) Debugging slows down JavaScript execution 20x times

2018-11-01 Thread Jaroslav Tulach (JIRA)
Jaroslav Tulach created NETBEANS-1593:
-

 Summary: Debugging slows down JavaScript execution 20x times
 Key: NETBEANS-1593
 URL: https://issues.apache.org/jira/browse/NETBEANS-1593
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Reporter: Jaroslav Tulach


While working on 
[PR-4|https://github.com/graalvm/graal-js-jdk11-maven-demo/pull/4] I realized 
that Truffle debugger support in NetBeans slows down execution 20x times. 
Without debugger the benchmark can execute in 150ms. With debugger it takes 
more than 3s. At current state the great Truffle debugging feature is not 
suitable for a demo.

To reproduce, you need:
 * NetBeans 10 VC2
 * JDK11
 * 
[graal-js-jdk11-maven-demo|https://github.com/graalvm/graal-js-jdk11-maven-demo]
 at revision 2f851ca6d922

Then you can debug the {{AppTest}} unit test and put a breakpoint to calls to 
{{eval}}, etc. Once the breakpoint is hit, remove it and continue. The rest of 
the execution will be slow - e.g. take more than 3s for each round.



--
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-11-01 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1423:
-

Yes.

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-11-01 Thread Michal Rama (JIRA)


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

Michal Rama edited comment on NETBEANS-1423 at 11/1/18 11:36 AM:
-

Sorry, my English is not very good.

If I understand this, this bug is related to NetBeans (specifically NetBeans 
running in JDK 11). However, the problem is unexpectedly on the JDK side, so it 
was necessary to make the adjustments listed here.

[https://bugs.openjdk.java.net/browse/JDK-8213062]

Please fix me if I'm wrong.

UPDATE: If I found it right, should I just wait until version 11.0.2 is 
released?


was (Author: michal_cat):
Sorry, my English is not very good.

This is a bug in JDK, which will be fixed in version 11.0.2, using the changes 
listed here

[https://bugs.openjdk.java.net/browse/JDK-8213062]

Please fix me if I'm wrong.

UPDATE: If I found it right, should I just wait until version 11.0.2 is 
released?

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
This message was sent by Atlassian JIRA

[jira] [Resolved] (NETBEANS-1591) Javadoc and Sources fails when configured as file resource

2018-11-01 Thread Manfred Steiner (JIRA)


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

Manfred Steiner resolved NETBEANS-1591.
---
Resolution: Not A Bug

The problem is caused by missing the {{java.base/}} on the end of the locator.

{{java.base}}, starting with Java 9, is the definition of the foundational APIs 
of the Java SE platform.

Using {{https://docs.oracle.com/en/java/javase/11/docs/api/}} as URL resource 
will fail.
Using {{https://docs.oracle.com/en/java/javase/11/docs/api/java.base/}} as URL 
resource will work.

Same issue for file resources. Add {{java.base/}} at the end of the former file 
locator and it works.


> Javadoc and Sources fails when configured as file resource
> --
>
> Key: NETBEANS-1591
> URL: https://issues.apache.org/jira/browse/NETBEANS-1591
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Netbeans 9.0 (incubator-netbeans-release-334-on-20180708 
> and openjdk-11-jdk (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)) on Ubuntu 18.04 
> system
>Reporter: Manfred Steiner
>Assignee: Manfred Steiner
>Priority: Major
>
> Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
> (using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
> works proper.
> Same effect if I want to step into library code when debugging java code. 
> This may have the same root cause, because Java sources are also configured 
> as file resource in the configuration file 
> {{.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml}}.



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

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

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



[jira] [Assigned] (NETBEANS-1591) Javadoc and Sources fails when configured as file resource

2018-11-01 Thread Manfred Steiner (JIRA)


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

Manfred Steiner reassigned NETBEANS-1591:
-

Assignee: Manfred Steiner

> Javadoc and Sources fails when configured as file resource
> --
>
> Key: NETBEANS-1591
> URL: https://issues.apache.org/jira/browse/NETBEANS-1591
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Netbeans 9.0 (incubator-netbeans-release-334-on-20180708 
> and openjdk-11-jdk (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)) on Ubuntu 18.04 
> system
>Reporter: Manfred Steiner
>Assignee: Manfred Steiner
>Priority: Major
>
> Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
> (using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
> works proper.
> Same effect if I want to step into library code when debugging java code. 
> This may have the same root cause, because Java sources are also configured 
> as file resource in the configuration file 
> {{.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml}}.



--
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-1587) incorporate apache netbeans mavenutilities to website

2018-11-01 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-1587:


Yes, content/ will be the root of the domain.  I copied that structure from 
asf-site on the main website - not sure if it's a requirement of the gitpubsub 
system, but potentially useful to have anyway.

So, content/mavenutils/ if you want it to be at bits.netbeans.org/mavenutils/

I assume these are not tied to specific NetBeans versions?  If they are would 
be better under versioned folders (9.0, 10.0, etc.) as per the Javadocs.

[~vieiro] - we should also consider pushing the dev Javadocs automatically to 
here instead under /content/dev/ ?  That will then replace the existing links 
at bits.netbeans.org/dev/javadoc/  But something to discuss on list?!

> incorporate apache netbeans mavenutilities to website
> -
>
> Key: NETBEANS-1587
> URL: https://issues.apache.org/jira/browse/NETBEANS-1587
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Eric Barboni
>Priority: Major
> Attachments: lf.jpg
>
>
> Hi,
> [~neilcsmith],[~wadechandler],[~vieiro]
>  as per discussion to the ml, I setup a jobs to generate website from the 
> maven tooling.
> https://builds.apache.org/job/incubator-netbeans-mavenutils-website/ (not yet 
> synchronized with hooks)
>  
> The web site at the end is here:
> https://github.com/apache/incubator-netbeans-mavenutils/tree/asf-site
> one folder for each tools/lib. Folder are important as each tool link each 
> other.
> Skin is based on main site assets and skinned via maven site goal. 
> Notable Differences :
> Top navigation bar right is for tools ecosystem.
> Top navigation bar left is to go back to apache netbeans.
> Not visible on the screenshot black footer with the incubator logo + event. 
> (Section darkgray is not present)
> I hope we can find a place somewhere. It's  important for transitioning from 
> mojohaus so we can propoose a redirection to help user landing in the right 
> place.



--
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-1587) incorporate apache netbeans mavenutilities to website

2018-11-01 Thread Antonio Vieiro (JIRA)


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

Antonio Vieiro commented on NETBEANS-1587:
--

Exactly, "content/" holds stuff for publishing, I think. [~neilcsmith] can 
confirm.

> incorporate apache netbeans mavenutilities to website
> -
>
> Key: NETBEANS-1587
> URL: https://issues.apache.org/jira/browse/NETBEANS-1587
> Project: NetBeans
>  Issue Type: Bug
>  Components: website
>Reporter: Eric Barboni
>Priority: Major
> Attachments: lf.jpg
>
>
> Hi,
> [~neilcsmith],[~wadechandler],[~vieiro]
>  as per discussion to the ml, I setup a jobs to generate website from the 
> maven tooling.
> https://builds.apache.org/job/incubator-netbeans-mavenutils-website/ (not yet 
> synchronized with hooks)
>  
> The web site at the end is here:
> https://github.com/apache/incubator-netbeans-mavenutils/tree/asf-site
> one folder for each tools/lib. Folder are important as each tool link each 
> other.
> Skin is based on main site assets and skinned via maven site goal. 
> Notable Differences :
> Top navigation bar right is for tools ecosystem.
> Top navigation bar left is to go back to apache netbeans.
> Not visible on the screenshot black footer with the incubator logo + event. 
> (Section darkgray is not present)
> I hope we can find a place somewhere. It's  important for transitioning from 
> mojohaus so we can propoose a redirection to help user landing in the right 
> place.



--
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-1591) Javadoc and Sources fails when configured as file resource

2018-11-01 Thread Manfred Steiner (JIRA)


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

Manfred Steiner updated NETBEANS-1591:
--
Description: 
Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
(using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
works proper.

Same effect if I want to step into library code when debugging java code. This 
may have the same root cause, because Java sources are also configured as file 
resource in the configuration file 
{{.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml}}.

  was:
Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
(using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
works proper.

Same effect if I want to step into library code when debugging java code. This 
may have the same root cause, because Java sources are also configured as file 
resource in the configuration file 
`.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml`.


> Javadoc and Sources fails when configured as file resource
> --
>
> Key: NETBEANS-1591
> URL: https://issues.apache.org/jira/browse/NETBEANS-1591
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Netbeans 9.0 (incubator-netbeans-release-334-on-20180708 
> and openjdk-11-jdk (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)) on Ubuntu 18.04 
> system
>Reporter: Manfred Steiner
>Priority: Major
>
> Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
> (using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
> works proper.
> Same effect if I want to step into library code when debugging java code. 
> This may have the same root cause, because Java sources are also configured 
> as file resource in the configuration file 
> {{.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml}}.



--
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-1591) Javadoc and Sources fails when configured as file resource

2018-11-01 Thread Manfred Steiner (JIRA)
Manfred Steiner created NETBEANS-1591:
-

 Summary: Javadoc and Sources fails when configured as file resource
 Key: NETBEANS-1591
 URL: https://issues.apache.org/jira/browse/NETBEANS-1591
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
 Environment: Netbeans 9.0 (incubator-netbeans-release-334-on-20180708 
and openjdk-11-jdk (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)) on Ubuntu 18.04 
system
Reporter: Manfred Steiner


Context menu _Show Javadoc_ fails when Javadoc is configured as file resource 
(using menu _Tools->Java Platform->Javadoc_). Using Javadoc as URL resource 
works proper.

Same effect if I want to step into library code when debugging java code. This 
may have the same root cause, because Java sources are also configured as file 
resource in the configuration file 
`.netbeans/9.0/config/Services/Platforms/org-netbeans-api-java-Platform/default_platform.xml`.



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