[incubator-netbeans] branch master updated: Have only one copy of TreeShims and copy it to java.hints and java.completion.

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

jlahoda 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 c338e76  Have only one copy of TreeShims and copy it to java.hints and 
java.completion.
c338e76 is described below

commit c338e7656cd0d56c98ba4a7142628045f979b58b
Author: Jan Lahoda 
AuthorDate: Sun Jan 6 08:29:10 2019 +0100

Have only one copy of TreeShims and copy it to java.hints and 
java.completion.
---
 .../org/netbeans/modules/java/hints/TreeShims.java |  57 
 .../modules/java/source/TreeShimsCopier.java   | 100 +
 2 files changed, 100 insertions(+), 57 deletions(-)

diff --git a/java/java.hints/src/org/netbeans/modules/java/hints/TreeShims.java 
b/java/java.hints/src/org/netbeans/modules/java/hints/TreeShims.java
deleted file mode 100644
index 267a3ef..000
--- a/java/java.hints/src/org/netbeans/modules/java/hints/TreeShims.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.netbeans.modules.java.hints;
-
-import com.sun.source.tree.CaseTree;
-import com.sun.source.tree.ExpressionTree;
-import com.sun.source.tree.Tree;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.Collections;
-import java.util.List;
-
-public class TreeShims {
-
-public static List getExpressions(CaseTree node) 
{
-try {
-Method getExpressions = 
CaseTree.class.getDeclaredMethod("getExpressions");
-return (List) 
getExpressions.invoke(node);
-} catch (NoSuchMethodException ex) {
-return Collections.singletonList(node.getExpression());
-} catch (IllegalAccessException | IllegalArgumentException | 
InvocationTargetException ex) {
-throw TreeShims.throwAny(ex);
-}
-}
-
-public static Tree getBody(CaseTree node) {
-try {
-Method getBody = CaseTree.class.getDeclaredMethod("getBody");
-return (Tree) getBody.invoke(node);
-} catch (NoSuchMethodException ex) {
-return null;
-} catch (IllegalAccessException | IllegalArgumentException | 
InvocationTargetException ex) {
-throw TreeShims.throwAny(ex);
-}
-}
-
-@SuppressWarnings("unchecked")
-private static  RuntimeException throwAny(Throwable 
t) throws T {
-throw (T) t;
-}
-}
diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/TreeShimsCopier.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/TreeShimsCopier.java
new file mode 100644
index 000..3633bdb
--- /dev/null
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/TreeShimsCopier.java
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.modules.java.source;
+
+import com.sun.source.tree.CaseTree;
+import com.sun.source.tree.ExpressionTree;
+import com.sun.source.tree.Tree;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.net.URI;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import 

[incubator-netbeans-jackpot30] branch master updated: Upgrading to JDK 11 and Apache NetBeans 10

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 1213569  Upgrading to JDK 11 and Apache NetBeans 10
1213569 is described below

commit 1213569162c5717a19605e77460676e4282c0770
Author: Jan Lahoda 
AuthorDate: Fri Jan 11 22:43:21 2019 +0100

Upgrading to JDK 11 and Apache NetBeans 10
---
 .travis.yml   | 10 +-
 cmdline/README.md |  8 
 cmdline/build.xml |  8 
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 48e04b6..3160af1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,13 +16,13 @@
 # under the License.
 language: java
 jdk:
-  - openjdk10
+  - openjdk11
 before_script:
-  - wget 
'http://www.apache.org/dyn/closer.lua?action=download=incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip'
 -O /tmp/incubating-netbeans-java-9.0-bin.zip
-  - (cd $HOME; unzip /tmp/incubating-netbeans-java-9.0-bin.zip)
+  - wget 
'http://www.apache.org/dyn/closer.lua?action=download=incubator/netbeans/incubating-netbeans/incubating-10.0/incubating-netbeans-10.0-bin.zip'
 -O /tmp/incubating-netbeans-10.0-bin.zip
+  - (cd $HOME; unzip /tmp/incubating-netbeans-10.0-bin.zip)
   - unset _JAVA_OPTIONS
 script:
-  - export JDK10=$JAVA_HOME
+  - export JDK11=$JAVA_HOME
   - jdk_switcher use oraclejdk8
   - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
rat)
-  - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
-DNETBEANS_PLATFORM=$HOME/netbeans -DJDK10=$JDK10 build-and-test)
+  - (cd cmdline; ant -Dnbplatform.default.harness.dir=$HOME/netbeans/harness 
-DNETBEANS_PLATFORM=$HOME/netbeans -DJDK11=$JDK11 build-and-test)
diff --git a/cmdline/README.md b/cmdline/README.md
index d73ccd9..e9f4463 100644
--- a/cmdline/README.md
+++ b/cmdline/README.md
@@ -27,21 +27,21 @@ This tool allows to run NetBeans Java code checker without 
the NetBeans IDE. Thi
 
  To Build
 
-* NetBeans 9.0
-* JDK 8 and JDK 10
+* NetBeans 10.0
+* JDK 8 and JDK 11
 * bash
 * ant 1.9.9 or above
 
  To Run
 
-* JDK 10
+* JDK 11
 
 ### Building
 
 Build using:
 
 ```
-$ ant -DNETBEANS_PLATFORM= -DJDK10= 
build-and-test
+$ ant -DNETBEANS_PLATFORM= -DJDK11= 
build-and-test
 ```
 
 The built product is in tool/build/jackpot.
diff --git a/cmdline/build.xml b/cmdline/build.xml
index ec36182..a22e2a8 100644
--- a/cmdline/build.xml
+++ b/cmdline/build.xml
@@ -51,7 +51,7 @@
 
 
 
-
+
 
 
 
@@ -62,13 +62,13 @@
 
 
 
-
+
 
 
 
 
-
-
+
+
 
 
 


-
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-2) libs.nashorn

2019-01-11 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach edited comment on NETBEANS-2 at 1/12/19 7:00 AM:
-

Newer version of lib.nashorn is available as [org.graalvm.js 
|https://search.maven.org/search?q=g:org.graalvm.js]in Maven repository. It is 
licensed under friendly UPL license. It is "just" necessary to modify the code 
to use the new version.

 


was (Author: jtulach):
Newer version of lib.nashorn is available as 
[org.graalvm.js|https://search.maven.org/search?q=g:org.graalvm.js] it is 
"just" necessary to modify the code to use the new version.

> libs.nashorn
> 
>
> Key: NETBEANS-2
> URL: https://issues.apache.org/jira/browse/NETBEANS-2
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Priority: Major
>  Labels: cleanup
>
> The new Javascript editor has a dependency on the Graal.js parser which is 
> under GPL w/ CPE and cannot be used as is in an Apache project.
> This issue should follow the overall cleanup task.
> As a last resort we could retrofit the previous Javascript editor which uses 
> the Mozilla Rhino parser under the MPL.



--
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-2) libs.nashorn

2019-01-11 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach commented on NETBEANS-2:


Newer version of lib.nashorn is available as 
[org.graalvm.js|https://search.maven.org/search?q=g:org.graalvm.js] it is 
"just" necessary to modify the code to use the new version.

> libs.nashorn
> 
>
> Key: NETBEANS-2
> URL: https://issues.apache.org/jira/browse/NETBEANS-2
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Priority: Major
>  Labels: cleanup
>
> The new Javascript editor has a dependency on the Graal.js parser which is 
> under GPL w/ CPE and cannot be used as is in an Apache project.
> This issue should follow the overall cleanup task.
> As a last resort we could retrofit the previous Javascript editor which uses 
> the Mozilla Rhino parser under the MPL.



--
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-1537) File - Open... "Windows cannot find the target"

2019-01-11 Thread Jeff Ferrick (JIRA)


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

Jeff Ferrick updated NETBEANS-1537:
---
Attachment: NetBeans64_debug.TXT

> File - Open... "Windows cannot find the target"
> ---
>
> Key: NETBEANS-1537
> URL: https://issues.apache.org/jira/browse/NETBEANS-1537
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - DialogsWizards
>Affects Versions: 8.2, 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE 9.0 (Build 
> incubator-netbeans-release-334-on-20180708)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows 
> 10 version 10.0 running on amd64; UTF-8; en_US (nb)
>Reporter: D Burbridge
>Priority: Critical
>  Labels: dialog, file, menu, open, save
> Attachments: NetBeans64_debug.TXT
>
>
> When trying to access any file dialog, I get the message:
>  
> netbeans64.exe
> Windows cannot find the target.
> OK
>  
> Clicking OK repeats the message several times, until it finally clears.
> Plus, in the log I have:
>  
> WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to 
> silent mode when not running at 
> org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244)
>  
> (repeated several times again)
> It seems to be the file browsing dialog box that's the problem, as it arises 
> on all those I've tested so far:
> File - Open Project
> File - Open File
> File - Save As
> File - Import Project - From Zip - Browse
> Tools - Options - Java - Ant - Browse
>  
> I tried deactivating all plugins but the error still occurred, so it looks 
> like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the 
> complete loss of my plugins as I don't seem to be able to reactivate them 
> now!)
>  
> The other factor to be aware of is that there are a number of shortcuts on my 
> desktop which are currently invalid. I wonder if there is some checking going 
> on within the dialog to see where those shortcuts go, but it's creating the 
> error I'm seeing? In which case, the checking needs to be done silently - 
> after all, invalid shortcuts aren't unusual, especially when working offline. 
> Besides, the error comes up (5-6 times) not just when the "Open file" dialog 
> comes up, but 2-3 times every time I change directory within that dialog!
>   



--
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-1537) File - Open... "Windows cannot find the target"

2019-01-11 Thread Jeff Ferrick (JIRA)


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

Jeff Ferrick commented on NETBEANS-1537:


I ran netbeans64.exe inside windbg and got the following results :  
[^NetBeans64_debug.TXT]

^I am new to using windbg but compared to other applications I used windbg on, 
Netbeans seems to generate a massive number of error messages.^

^Starting at line# 5492 is the point where I tried to use the "Open File" menu 
option in Netbeans.^

 

> File - Open... "Windows cannot find the target"
> ---
>
> Key: NETBEANS-1537
> URL: https://issues.apache.org/jira/browse/NETBEANS-1537
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - DialogsWizards
>Affects Versions: 8.2, 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE 9.0 (Build 
> incubator-netbeans-release-334-on-20180708)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows 
> 10 version 10.0 running on amd64; UTF-8; en_US (nb)
>Reporter: D Burbridge
>Priority: Critical
>  Labels: dialog, file, menu, open, save
> Attachments: NetBeans64_debug.TXT
>
>
> When trying to access any file dialog, I get the message:
>  
> netbeans64.exe
> Windows cannot find the target.
> OK
>  
> Clicking OK repeats the message several times, until it finally clears.
> Plus, in the log I have:
>  
> WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to 
> silent mode when not running at 
> org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244)
>  
> (repeated several times again)
> It seems to be the file browsing dialog box that's the problem, as it arises 
> on all those I've tested so far:
> File - Open Project
> File - Open File
> File - Save As
> File - Import Project - From Zip - Browse
> Tools - Options - Java - Ant - Browse
>  
> I tried deactivating all plugins but the error still occurred, so it looks 
> like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the 
> complete loss of my plugins as I don't seem to be able to reactivate them 
> now!)
>  
> The other factor to be aware of is that there are a number of shortcuts on my 
> desktop which are currently invalid. I wonder if there is some checking going 
> on within the dialog to see where those shortcuts go, but it's creating the 
> error I'm seeing? In which case, the checking needs to be done silently - 
> after all, invalid shortcuts aren't unusual, especially when working offline. 
> Besides, the error comes up (5-6 times) not just when the "Open file" dialog 
> comes up, but 2-3 times every time I change directory within that dialog!
>   



--
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-1781) can't open classes in binary .jar (java.lang.ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to com.sun.tools.javac.code.Type$ErrorType)

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


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

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

> can't open classes in binary .jar (java.lang.ClassCastException: 
> com.sun.tools.javac.code.Type$ClassType cannot be cast to 
> com.sun.tools.javac.code.Type$ErrorType)
> ---
>
> Key: NETBEANS-1781
> URL: https://issues.apache.org/jira/browse/NETBEANS-1781
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 10.0
>Reporter: Jeffrey Morlan
>Priority: Major
>  Labels: pull-request-available
>
> After updating to nb-javac 1.51, when I try to open a class in a binary .jar 
> file, it often fails with an exception like this
> java.lang.ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot 
> be cast to com.sun.tools.javac.code.Type$ErrorType
>      at 
> org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:797)
>      at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1083)
>      at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitExecutable(CodeGenerator.java:549)
>      ...
> This happens whenever the class references a class in a different .jar. For 
> example, create a maven project, add org.apache.httpcomponents:httpclient 
> (but don't download source!) and open the HttpClient class - it fails because 
> of the various classes referenced from the httpcore dependency.
> It looks like this started once 
> [http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20|http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20#l9.1]
>  was merged into nb-javac - TreeFactory's assumption that getKind()==ERROR 
> implies ErrorType is no longer true.



--
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-1537) File - Open... "Windows cannot find the target"

2019-01-11 Thread Jeff Ferrick (JIRA)


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

Jeff Ferrick commented on NETBEANS-1537:


I have the same issue with version 10.0 too.

The number of times that the warning occurs varies from 3 to 13 depending upon 
the specific folder I try to navigate to. 

> File - Open... "Windows cannot find the target"
> ---
>
> Key: NETBEANS-1537
> URL: https://issues.apache.org/jira/browse/NETBEANS-1537
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - DialogsWizards
>Affects Versions: 8.2, 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE 9.0 (Build 
> incubator-netbeans-release-334-on-20180708)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows 
> 10 version 10.0 running on amd64; UTF-8; en_US (nb)
>Reporter: D Burbridge
>Priority: Critical
>  Labels: dialog, file, menu, open, save
>
> When trying to access any file dialog, I get the message:
>  
> netbeans64.exe
> Windows cannot find the target.
> OK
>  
> Clicking OK repeats the message several times, until it finally clears.
> Plus, in the log I have:
>  
> WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to 
> silent mode when not running at 
> org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244)
>  
> (repeated several times again)
> It seems to be the file browsing dialog box that's the problem, as it arises 
> on all those I've tested so far:
> File - Open Project
> File - Open File
> File - Save As
> File - Import Project - From Zip - Browse
> Tools - Options - Java - Ant - Browse
>  
> I tried deactivating all plugins but the error still occurred, so it looks 
> like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the 
> complete loss of my plugins as I don't seem to be able to reactivate them 
> now!)
>  
> The other factor to be aware of is that there are a number of shortcuts on my 
> desktop which are currently invalid. I wonder if there is some checking going 
> on within the dialog to see where those shortcuts go, but it's creating the 
> error I'm seeing? In which case, the checking needs to be done silently - 
> after all, invalid shortcuts aren't unusual, especially when working offline. 
> Besides, the error comes up (5-6 times) not just when the "Open file" dialog 
> comes up, but 2-3 times every time I change directory within that dialog!
>   



--
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-1922) Netbeans not launching in the second execution

2019-01-11 Thread Flavius Stan (JIRA)
Flavius Stan created NETBEANS-1922:
--

 Summary: Netbeans not launching in the second execution
 Key: NETBEANS-1922
 URL: https://issues.apache.org/jira/browse/NETBEANS-1922
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Welcome
Affects Versions: 10.0
 Environment: MacOS Mojave 10.14.2; 
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode); 
Netbeans 10.0
Reporter: Flavius Stan
 Attachments: Captura de pantalla 2019-01-11 a las 21.54.12.png

Netbeans 10 not launching after restart the computer. 

I download the binaries for netbeans 10 at 2019-1-7 to use with MacOs Mojave 
10.14.2, openjdk 11.0.1. Executing the netbeans UNIX executable, it starts as 
usual, everything works great till I shutdown the computer. When I power up the 
computer again and start netbeans, it just not open, the icon appears in the 
dock and it automatically close, not loading screen. I executed in the 
terminal, but it didn't prompt anything. I edit the netbeans.conf file and set 
the path to jdk in the file, but it didn't work. I tried to set it in executing 
time with the --jdkhome command but anything new. I set the working dir 
manually, I increase the memory heap but any approach was unsuccessfully. 
Netbeans not starting.

So I give up, and delete the folder with netbeans. Today, 2019/1/11, I download 
netbeans again with more hope, and the first time I execute it, it prompts the 
image attached, I click on disable modules and continue, and as the other day, 
It works great, everything was okay. So I decided to restart the computer to 
see if the issue repeat. And after the restart, netbeans not launching again. 



--
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-1911) Run/debug Java application: Error: Could not find or load main class

2019-01-11 Thread Ivica Mikic (JIRA)


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

Ivica Mikic commented on NETBEANS-1911:
---

It happens in NB 8.2 as well.

> Run/debug Java application: Error: Could not find or load main class
> 
>
> Key: NETBEANS-1911
> URL: https://issues.apache.org/jira/browse/NETBEANS-1911
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\x\AppData\Roaming\NetBeans\10.0
> Cache directory: C:\Users\x\AppData\Local\NetBeans\Cache\10.0
>Reporter: Ivica Mikic
>Priority: Major
>
> Maven Java JAR project, set up Properties - Run Configuration pointing to 
> existing Main class, also with working directory. It runs fine initially, 
> then suddenly getting:
> --- exec-maven-plugin:1.5.0:exec (default-cli) @  ---
> Error: Could not find or load main class x.x.x.Main
> Command execution failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1 
> (Exit value: 1)
>     at org.apache.commons.exec.DefaultExecutor.executeInternal 
> (DefaultExecutor.java:404)
>     at org.apache.commons.exec.DefaultExecutor.execute 
> (DefaultExecutor.java:166)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
>     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:356)
> 
> BUILD FAILURE
> 
> Total time:  3.556 s
> Finished at: 2019-01-09T14:03:43-05:00



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

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

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



[incubator-netbeans] 01/01: Merge pull request #1078 from vikasprabhakar/websvc_rest1

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

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

commit 3fae54bb88388b37706fc36cee824ac3ba8aaa8e
Merge: 2d3a555 c502753
Author: Matthias Bläsing 
AuthorDate: Fri Jan 11 21:32:15 2019 +0100

Merge pull request #1078 from vikasprabhakar/websvc_rest1

[NETBEANS-1074] Module Review websvc.rest

 .../modules/websvc/rest/client/Bundle.properties   | 15 --
 .../modules/websvc/rest/codegen/Bundle.properties  | 54 ++
 .../codegen/resources/DefaultResource.template | 21 -
 .../codegen/resources/GenericItemResource.template | 21 -
 .../codegen/resources/GenericResource.template | 21 -
 .../rest/codegen/resources/JsEntity.template   | 20 
 .../rest/codegen/resources/JsProjectStub.template  | 20 
 .../rest/codegen/resources/JsReadme.template   | 20 
 .../websvc/rest/codegen/resources/JsStub.template  | 20 
 .../rest/codegen/resources/JsStubSupport.template  | 20 
 .../rest/codegen/resources/JsTestStubs.template| 20 
 .../codegen/resources/PersistenceService.template  | 21 -
 .../resources/PersistenceServiceNoJTA.template | 21 -
 .../resources/PersistenceServiceStatic.template| 20 
 .../rest/codegen/resources/RefConverter.template   | 21 -
 .../rest/codegen/resources/RestConnection.template | 21 -
 .../codegen/resources/RestProxyServlet.template| 20 
 .../rest/codegen/resources/UriResolver.template| 21 -
 .../modules/websvc/rest/editor/Bundle.properties   | 54 ++
 .../modules/websvc/rest/nodes/Bundle.properties| 54 ++
 .../modules/websvc/rest/projects/Bundle.properties | 54 ++
 .../websvc/rest/resources/Bundle.properties| 54 ++
 .../modules/websvc/rest/resources/rest-build.xsl   | 19 
 .../modules/websvc/rest/wizard/Bundle.properties   | 54 ++
 .../rest/wizard/resources/JerseyClient.template| 20 
 .../modules/websvc/rest/codegen/customerdb.xml | 20 
 .../modules/websvc/rest/codegen/foo_war.xml| 20 
 .../netbeans/modules/websvc/rest/codegen/layer.xml | 20 
 .../websvc/rest/codegen/license-default.txt| 20 
 .../websvc/rest/codegen/smart_selection_rest.xml   | 19 
 .../websvc/rest/codegen/webapplication1.xml| 20 
 31 files changed, 562 insertions(+), 263 deletions(-)


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

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



[incubator-netbeans] branch master updated (2d3a555 -> 3fae54b)

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

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


from 2d3a555  Merge pull request #1083 from ramiswailem/master
 add c502753  [NETBEANS-1074] Module Review websvc.rest
 new 3fae54b  Merge pull request #1078 from vikasprabhakar/websvc_rest1

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


Summary of changes:
 .../modules/websvc/rest/client/Bundle.properties   | 15 --
 .../modules/websvc/rest/codegen/Bundle.properties  | 54 ++
 .../codegen/resources/DefaultResource.template | 21 -
 .../codegen/resources/GenericItemResource.template | 21 -
 .../codegen/resources/GenericResource.template | 21 -
 .../rest/codegen/resources/JsEntity.template   | 20 
 .../rest/codegen/resources/JsProjectStub.template  | 20 
 .../rest/codegen/resources/JsReadme.template   | 20 
 .../websvc/rest/codegen/resources/JsStub.template  | 20 
 .../rest/codegen/resources/JsStubSupport.template  | 20 
 .../rest/codegen/resources/JsTestStubs.template| 20 
 .../codegen/resources/PersistenceService.template  | 21 -
 .../resources/PersistenceServiceNoJTA.template | 21 -
 .../resources/PersistenceServiceStatic.template| 20 
 .../rest/codegen/resources/RefConverter.template   | 21 -
 .../rest/codegen/resources/RestConnection.template | 21 -
 .../codegen/resources/RestProxyServlet.template| 20 
 .../rest/codegen/resources/UriResolver.template| 21 -
 .../modules/websvc/rest/editor/Bundle.properties   | 54 ++
 .../modules/websvc/rest/nodes/Bundle.properties| 54 ++
 .../modules/websvc/rest/projects/Bundle.properties | 54 ++
 .../websvc/rest/resources/Bundle.properties| 54 ++
 .../modules/websvc/rest/resources/rest-build.xsl   | 19 
 .../modules/websvc/rest/wizard/Bundle.properties   | 54 ++
 .../rest/wizard/resources/JerseyClient.template| 20 
 .../modules/websvc/rest/codegen/customerdb.xml | 20 
 .../modules/websvc/rest/codegen/foo_war.xml| 20 
 .../netbeans/modules/websvc/rest/codegen/layer.xml | 20 
 .../websvc/rest/codegen/license-default.txt| 20 
 .../websvc/rest/codegen/smart_selection_rest.xml   | 19 
 .../websvc/rest/codegen/webapplication1.xml| 20 
 31 files changed, 562 insertions(+), 263 deletions(-)


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

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



[incubator-netbeans] branch master updated (61d4393 -> 2d3a555)

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

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


from 61d4393  Merge branch 'BreakpointInJavaScriptEnablesFoD'
 add e3f7711  Update projectized.xml to find the ide.css
 new 2d3a555  Merge pull request #1083 from ramiswailem/master

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


Summary of changes:
 nbbuild/templates/projectized.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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

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



[incubator-netbeans] 01/01: Merge pull request #1083 from ramiswailem/master

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

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

commit 2d3a5553fb09f81d632c1f4c317068d536dab747
Merge: 61d4393 e3f7711
Author: Matthias Bläsing 
AuthorDate: Fri Jan 11 21:24:39 2019 +0100

Merge pull request #1083 from ramiswailem/master

Update projectized.xml to find the ide.css

 nbbuild/templates/projectized.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-1807) PHP Debugging with Chrome ClassNotFoundException Issue

2019-01-11 Thread Pete Whelpton (JIRA)


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

Pete Whelpton edited comment on NETBEANS-1807 at 1/11/19 4:46 PM:
--

I believe javax.xml.bind.DatatypeConverter was marked as Deprecated in Java 9, 
and removed entirely from Java 11.

 

I can find three source files in NB dependent on it:

/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/WebSocketHandlerClient7.java
 
/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/AbstractWSHandler7.java
 
/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/utils/ServerUtils.java

 

in all three cases, DatatypeConverter is being used to convert Base 64.  Java 8 
introduced java.util.Base64 which has support for encoding/decoding base 64 
including support for MIME type and URL encoding.  Possibility to use this 
class instead?


was (Author: peedeeboy):
I believe javax.xml.bind.DatatypeConverter was marked as Deprecated in Java 9, 
and removed entirely from Java 11.

 

I can find three source files in NB dependent on it:

/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/WebSocketHandlerClient7.java
/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/AbstractWSHandler7.java
/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/utils/ServerUtils.java

 

in all three cases, DatatypeConverter is being used to convert Base 64.  Java 
introduced java.util.Base64 which has support for encoding/decoding base 64 
including support for MIME type and URL encoding.  Possibility to use this 
class instead?

> PHP Debugging with Chrome ClassNotFoundException Issue
> --
>
> Key: NETBEANS-1807
> URL: https://issues.apache.org/jira/browse/NETBEANS-1807
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0
> Environment: Product Version = Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> Operating System = Windows 10 version 10.0 running on amd64
> Java; VM; Vendor = 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS; 
> Oracle Corporation
> Runtime = Java(TM) SE Runtime Environment 11.0.1+13-LTS
> Java Home = C:\Program Files\Java\jdk-11.0.1
>Reporter: Shannon Cole
>Priority: Minor
>
> When attempting to launch debugging with chrome the following error occurs. 
> Debugging does work with Internet Explorer.
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl
> java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
>  at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
>  at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter 
> starting from ModuleCL@36584abc[org.netbeans.modules.netserver] with possible 
> defining loaders [ModuleCL@5255cea7[org.netbeans.modules.xml.jaxb.api]] and 
> declared parents [org.netbeans.JarClassLoader@5c484e64, 
> ModuleCL@390f8b48[org.netbeans.api.annotations.common]]
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> Caused: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
>  at 
> org.netbeans.modules.netserver.websocket.AbstractWSHandler7.generateAcceptKey(AbstractWSHandler7.java:231)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketHandler7.createAcceptKey(WebSocketHandler7.java:116)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketHandler7.sendHandshake(WebSocketHandler7.java:44)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.initHandler(WebSocketServerImpl.java:226)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.handshake(WebSocketServerImpl.java:197)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.read(WebSocketServerImpl.java:186)
>  at 
> org.netbeans.modules.netserver.SocketFramework.readData(SocketFramework.java:155)
>  at 
> org.netbeans.modules.netserver.SocketFramework.process(SocketFramework.java:129)
>  at org.netbeans.modules.netserver.SocketServer.process(SocketServer.java:82)
>  at 
> org.netbeans.modules.netserver.SocketFramework.doRun(SocketFramework.java:113)
>  at org.netbeans.modules.netserver.SocketServer.run(SocketServer.java:53)
>  at 

[jira] [Commented] (NETBEANS-1807) PHP Debugging with Chrome ClassNotFoundException Issue

2019-01-11 Thread Pete Whelpton (JIRA)


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

Pete Whelpton commented on NETBEANS-1807:
-

I believe javax.xml.bind.DatatypeConverter was marked as Deprecated in Java 9, 
and removed entirely from Java 11.

 

I can find three source files in NB dependent on it:

/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/WebSocketHandlerClient7.java
/webcommon/netserver/src/org/netbeans/modules/netserver/websocket/AbstractWSHandler7.java
/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/utils/ServerUtils.java

 

in all three cases, DatatypeConverter is being used to convert Base 64.  Java 
introduced java.util.Base64 which has support for encoding/decoding base 64 
including support for MIME type and URL encoding.  Possibility to use this 
class instead?

> PHP Debugging with Chrome ClassNotFoundException Issue
> --
>
> Key: NETBEANS-1807
> URL: https://issues.apache.org/jira/browse/NETBEANS-1807
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0
> Environment: Product Version = Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> Operating System = Windows 10 version 10.0 running on amd64
> Java; VM; Vendor = 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS; 
> Oracle Corporation
> Runtime = Java(TM) SE Runtime Environment 11.0.1+13-LTS
> Java Home = C:\Program Files\Java\jdk-11.0.1
>Reporter: Shannon Cole
>Priority: Minor
>
> When attempting to launch debugging with chrome the following error occurs. 
> Debugging does work with Internet Explorer.
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl
> java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
>  at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
>  at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter 
> starting from ModuleCL@36584abc[org.netbeans.modules.netserver] with possible 
> defining loaders [ModuleCL@5255cea7[org.netbeans.modules.xml.jaxb.api]] and 
> declared parents [org.netbeans.JarClassLoader@5c484e64, 
> ModuleCL@390f8b48[org.netbeans.api.annotations.common]]
>  at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> Caused: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
>  at 
> org.netbeans.modules.netserver.websocket.AbstractWSHandler7.generateAcceptKey(AbstractWSHandler7.java:231)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketHandler7.createAcceptKey(WebSocketHandler7.java:116)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketHandler7.sendHandshake(WebSocketHandler7.java:44)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.initHandler(WebSocketServerImpl.java:226)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.handshake(WebSocketServerImpl.java:197)
>  at 
> org.netbeans.modules.netserver.websocket.WebSocketServerImpl$WebSocketHandler.read(WebSocketServerImpl.java:186)
>  at 
> org.netbeans.modules.netserver.SocketFramework.readData(SocketFramework.java:155)
>  at 
> org.netbeans.modules.netserver.SocketFramework.process(SocketFramework.java:129)
>  at org.netbeans.modules.netserver.SocketServer.process(SocketServer.java:82)
>  at 
> org.netbeans.modules.netserver.SocketFramework.doRun(SocketFramework.java:113)
>  at org.netbeans.modules.netserver.SocketServer.run(SocketServer.java:53)
>  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.core.execution.Install]: KILL_PENDING_TASKS
> INFO [org.netbeans.core.netigso.Netigso]: bundle 
> org.eclipse.osgi@3.9.1.v20140110-1610 256
> INFO [org.netbeans.core.netigso.Netigso]: bundle 
> org.eclipse.osgi@3.9.1.v20140110-1610 stopped
> INFO [null]: Last record repeated again.



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

[jira] [Created] (NETBEANS-1921) Doesn't recognize single assignments on PHP Ternary Operator

2019-01-11 Thread Oscar F. Bustos Mora (JIRA)
Oscar F. Bustos Mora created NETBEANS-1921:
--

 Summary: Doesn't recognize single assignments on PHP Ternary 
Operator
 Key: NETBEANS-1921
 URL: https://issues.apache.org/jira/browse/NETBEANS-1921
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Code
Affects Versions: 9.0
 Environment: Windows 7 Pro SP1 x64
Reporter: Oscar F. Bustos Mora
 Attachments: asas.jpg

When doing ternary operator, NetBeans is assuming that in the line, a variable 
is set twice instead setting it as result of an condition.

I know it's a visual annoyance and i kow how to disable this underlining but 
maybe should inform about this.



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

2019-01-11 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-168:
-

Another little thing is, that this Background scanning task, is one aggressive 
one, that you can't cancel.

> 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, 9.0, 10.0
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: ca_survey, pull-request-available
> Attachments: go-to-file.gif, messages - 10.0 vc3.log, messages 10.0 
> vc2.log, messages.log, puls.7z, ui.log, uigestures 10.0 vc, wp-dms.7z
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> 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-1920) Some installed TrueType fonts do not appear in list when selecting editor font

2019-01-11 Thread Jonathan Machen (JIRA)
Jonathan Machen created NETBEANS-1920:
-

 Summary: Some installed TrueType fonts do not appear in list when 
selecting editor font
 Key: NETBEANS-1920
 URL: https://issues.apache.org/jira/browse/NETBEANS-1920
 Project: NetBeans
  Issue Type: Bug
  Components: platform - OptionsSettings
Affects Versions: 10.0
 Environment: Windows 10, Oracle Java 1.8.2_202 or OpenJDK Java 11.0.1
Reporter: Jonathan Machen


 

I had already installed the input font from fontbureau 
([http://input.fontbureau.com/|http://input.fontbureau.com/)] ) prior to 
downloading and deploying NetBeans 10, but after launching the IDE explicitly 
(and separately, obviously) with both OpenJDK 11.0.1 and Oracle Java 1.8.2_202 
I was unable to locate the "Input Mono" font in the list of available editor 
fonts In *Tools -> Options -> Fonts & Colors -> Syntax* ... for any language or 
category.  I tried reinstalling the font but was still unable to locate it in 
the list.  This issue does not occur in Ubuntu and did not occur with any 
previous version of NetBeans.  I plan to retest with 9 and will comment here 
with the results.



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

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

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



[incubator-netbeans] 01/01: Merge branch 'BreakpointInJavaScriptEnablesFoD'

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

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

commit 61d439316140eb214619031335398421efdef68d
Merge: 26f397e 684dcd6
Author: Jaroslav Tulach 
AuthorDate: Fri Jan 11 12:21:32 2019 +0100

Merge branch 'BreakpointInJavaScriptEnablesFoD'

 .../ide/ergonomics/fod/FodDataObjectFactory.java   |  34 +++-
 .../ergonomics/fod/FodDataObjectLineSetTest.java   | 181 +
 2 files changed, 211 insertions(+), 4 deletions(-)


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

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



[incubator-netbeans] branch master updated (26f397e -> 61d4393)

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

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


from 26f397e  Adding license to binaries-list in j2ee.jboss4
 add 684dcd6  LineCookie.getLineSet() can enable disabled features
 new 61d4393  Merge branch 'BreakpointInJavaScriptEnablesFoD'

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


Summary of changes:
 .../ide/ergonomics/fod/FodDataObjectFactory.java   | 34 +++---
 ...toryTest.java => FodDataObjectLineSetTest.java} | 30 +--
 2 files changed, 44 insertions(+), 20 deletions(-)
 copy 
ergonomics/ide.ergonomics/test/unit/src/org/netbeans/modules/ide/ergonomics/fod/{FodDataObjectFactoryTest.java
 => FodDataObjectLineSetTest.java} (85%)


-
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-906) nb-javac throws AssertionError compiling valid Java code involving inner classes

2019-01-11 Thread Reema Taneja (JIRA)


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

Reema Taneja commented on NETBEANS-906:
---

Arunava, Can you please verify and include this change in nb-javax upgrade.

> nb-javac throws AssertionError compiling valid Java code involving inner 
> classes
> 
>
> Key: NETBEANS-906
> URL: https://issues.apache.org/jira/browse/NETBEANS-906
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 9.0
> Environment: OpenJDK 1.8.0_171 on Ubuntu
>Reporter: Jeffrey Morlan
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: NETBEANS-906.patch
>
>
> NetBeans 9.0 RC1 with nb-javac plugin fails to compile code like this:
> public class Bug {
>     class A {}
>     static void b(Bug c) \{ c.new A(){}; }
> }
> It throws the following exception:
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateArgs(TransTypes.java:211)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitNewClass(TransTypes.java:723)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:655)
>   at 
> com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1458)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitMethodDef(TransTypes.java:539)
>   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:971)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:525)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:995)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1520)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:567)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570)



--
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-906) nb-javac throws AssertionError compiling valid Java code involving inner classes

2019-01-11 Thread Reema Taneja (JIRA)


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

Reema Taneja reassigned NETBEANS-906:
-

Assignee: ARUNAVA SINHA  (was: Reema Taneja)

> nb-javac throws AssertionError compiling valid Java code involving inner 
> classes
> 
>
> Key: NETBEANS-906
> URL: https://issues.apache.org/jira/browse/NETBEANS-906
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 9.0
> Environment: OpenJDK 1.8.0_171 on Ubuntu
>Reporter: Jeffrey Morlan
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: NETBEANS-906.patch
>
>
> NetBeans 9.0 RC1 with nb-javac plugin fails to compile code like this:
> public class Bug {
>     class A {}
>     static void b(Bug c) \{ c.new A(){}; }
> }
> It throws the following exception:
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateArgs(TransTypes.java:211)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitNewClass(TransTypes.java:723)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:655)
>   at 
> com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1458)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitMethodDef(TransTypes.java:539)
>   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:971)
>   at 
> com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:525)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
>   at 
> com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:995)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1520)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:567)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570)



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