[jira] [Commented] (NETBEANS-1017) Can't run WAR in Tomcat

2018-06-30 Thread Steven Swart (JIRA)


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

Steven Swart commented on NETBEANS-1017:


I just restarted NetBeans and then it worked!

> Can't run WAR in Tomcat
> ---
>
> Key: NETBEANS-1017
> URL: https://issues.apache.org/jira/browse/NETBEANS-1017
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Maven
>Affects Versions: 9.0
> Environment: OSX El Capitan - version 10.11.6 (15G21013)
> > java -version
> java version "10.0.1" 2018-04-17
> Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
> > mvn -version
> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
> 2018-06-17T20:33:14+02:00)
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
> Default locale: en_ZA, platform encoding: UTF-8
> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
>Reporter: Steven Swart
>Priority: Major
>  Labels: newbie
> Attachments: IDE.log, UI.log, pom.xml
>
>
> When trying to use run project, with a WAR build on Tomcat, I am unable to 
> run the project. I get the following exception reported:
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e56c0d4]
>     at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:295)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:482)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:137)
>     at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
>  
>  
>  



--
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-1017) Can't run WAR in Tomcat

2018-06-30 Thread Steven Swart (JIRA)


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

Steven Swart updated NETBEANS-1017:
---
Environment: 
OSX El Capitan - version 10.11.6 (15G21013)

> java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

> mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T20:33:14+02:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_ZA, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"


  was:
OSX El Capitan - version 10.11.6 (15G21013)

> java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T20:33:14+02:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_ZA, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"



> Can't run WAR in Tomcat
> ---
>
> Key: NETBEANS-1017
> URL: https://issues.apache.org/jira/browse/NETBEANS-1017
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Maven
>Affects Versions: 9.0
> Environment: OSX El Capitan - version 10.11.6 (15G21013)
> > java -version
> java version "10.0.1" 2018-04-17
> Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
> > mvn -version
> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
> 2018-06-17T20:33:14+02:00)
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
> Default locale: en_ZA, platform encoding: UTF-8
> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
>Reporter: Steven Swart
>Priority: Major
>  Labels: newbie
> Attachments: IDE.log, UI.log, pom.xml
>
>
> When trying to use run project, with a WAR build on Tomcat, I am unable to 
> run the project. I get the following exception reported:
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e56c0d4]
>     at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:295)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:482)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:137)
>     at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
>  
>  
>  



--
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-1017) Can't run WAR in Tomcat

2018-06-30 Thread Steven Swart (JIRA)
Steven Swart created NETBEANS-1017:
--

 Summary: Can't run WAR in Tomcat
 Key: NETBEANS-1017
 URL: https://issues.apache.org/jira/browse/NETBEANS-1017
 Project: NetBeans
  Issue Type: Bug
  Components: javaee - Maven
Affects Versions: 9.0
 Environment: OSX El Capitan - version 10.11.6 (15G21013)

> java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T20:33:14+02:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_ZA, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

Reporter: Steven Swart
 Attachments: IDE.log, UI.log, pom.xml

When trying to use run project, with a WAR build on Tomcat, I am unable to run 
the project. I get the following exception reported:

java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@e56c0d4]
    at 
org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
    at 
org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:295)
    at 
org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:482)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:137)
    at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
[catch] at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

 

 

 



--
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-1016) [PHP7.2] Regenerate signature files

2018-06-30 Thread Junichi Yamamoto (JIRA)
Junichi Yamamoto created NETBEANS-1016:
--

 Summary: [PHP7.2] Regenerate signature files
 Key: NETBEANS-1016
 URL: https://issues.apache.org/jira/browse/NETBEANS-1016
 Project: NetBeans
  Issue Type: Task
  Components: php - Code
Reporter: Junichi Yamamoto






--
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-1015) Can't build on java 10

2018-06-30 Thread JIRA


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

Nelson Brito João Cazonda closed NETBEANS-1015.
---
Resolution: Won't Do

> Can't build on java 10
> --
>
> Key: NETBEANS-1015
> URL: https://issues.apache.org/jira/browse/NETBEANS-1015
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Nelson Brito João Cazonda
>Priority: Major
> Attachments: build_log.txt
>
>
> I cant build Netbeans on java 10. I've attached the file build_log.txt with 
> the build log. I've checked out the source code from 
> [https://github.com/apache/incubator-netbeans].
> java -version
>  java version "10.0.1" 2018-04-17
>  Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
>  Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)



--
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-1015) Can't build on java 10

2018-06-30 Thread JIRA


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

Nelson Brito João Cazonda commented on NETBEANS-1015:
-

OK, I saw in the following link that it's not supported yet. I will cancel the 
issue.

https://jaxenter.com/netbeans/using-apache-netbeans-incubating-jdk-9

> Can't build on java 10
> --
>
> Key: NETBEANS-1015
> URL: https://issues.apache.org/jira/browse/NETBEANS-1015
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Nelson Brito João Cazonda
>Priority: Major
> Attachments: build_log.txt
>
>
> I cant build Netbeans on java 10. I've attached the file build_log.txt with 
> the build log. I've checked out the source code from 
> [https://github.com/apache/incubator-netbeans].
> java -version
>  java version "10.0.1" 2018-04-17
>  Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
>  Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)



--
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-853) IP CLEARANCE: ISO-8879-SGML license

2018-06-30 Thread JIRA


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

Matthias Bläsing edited comment on NETBEANS-853 at 6/30/18 6:42 PM:


W3C confirmed, that the files distributed by them are covered by the W3 
software license, so this special case is not necessary. The full reply is 
attached to this issue.

The files from W3C were updated with this - this covers most of the places the 
license was assumed to be relevant.

The maven.coverage module was fixed by removing the DTDs. The cobertura and 
jacoco DTD don't contain entity definitions, so the DTDs are not necessary for 
parsing, just for verification.

The fix was merged to master and release90


was (Author: mblaesing):
W3C confirmed, that the files distributed by them are covered by the W3 
software license, so this special case is not necessary. The full reply is 
attached to this issue.

The files from W3C were updated with this - this covers most of the places the 
license was assumed to be relevant.

The maven.coverage module was fixed by removing the DTDs. The cobertura and 
jacoco DTD don't contain entity definitions, so the DTDs are not necessary for 
parsing, just for verification.

> IP CLEARANCE: ISO-8879-SGML license
> ---
>
> Key: NETBEANS-853
> URL: https://issues.apache.org/jira/browse/NETBEANS-853
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: reply_w3.mbox
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Review our ISO-8879-SGML license usage which is not under 
> https://www.apache.org/legal/resolved.html



--
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-853) IP CLEARANCE: ISO-8879-SGML license

2018-06-30 Thread JIRA


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

Matthias Bläsing resolved NETBEANS-853.
---
Resolution: Fixed
  Assignee: Matthias Bläsing

W3C confirmed, that the files distributed by them are covered by the W3 
software license, so this special case is not necessary. The full reply is 
attached to this issue.

The files from W3C were updated with this - this covers most of the places the 
license was assumed to be relevant.

The maven.coverage module was fixed by removing the DTDs. The cobertura and 
jacoco DTD don't contain entity definitions, so the DTDs are not necessary for 
parsing, just for verification.

> IP CLEARANCE: ISO-8879-SGML license
> ---
>
> Key: NETBEANS-853
> URL: https://issues.apache.org/jira/browse/NETBEANS-853
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: reply_w3.mbox
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Review our ISO-8879-SGML license usage which is not under 
> https://www.apache.org/legal/resolved.html



--
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/02: [NETBEANS-853] Fix license info for entity definitions and DTDs

2018-06-30 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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

commit 24ea4b3f089008027ec349c7d4c9d204369ef4a0
Author: Matthias Bläsing 
AuthorDate: Tue Jun 19 19:04:17 2018 +0200

[NETBEANS-853] Fix license info for entity definitions and DTDs

The license information in the DTD was white-space corrected. The license 
info in
the *.ent (entity definitions) files was added after asking for 
clarification
on site-pol...@w3.org.

Statement from Wendy Seltzer (Strategy Lead, World Wide Web Consortium 
(W3C)):

Hi Matthias,

W3C makes the DTD and entity files available under the Software License,
as you identified. They apparently incorporated some definitions from
ISO SGML, hence the reference to ISO 8879. I can't speak to ISO's terms,
but W3C does not assert any claims incompatible with Apache licensing.

Hope that helps,
--Wendy
---
 html.editor/licenseinfo.xml| 20 -
 .../html/editor/resources/DTDs/3_2/html32.dtd  | 34 +++
 .../html/editor/resources/DTDs/3_2/lat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLlat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLspecial.ent | 48 +
 .../html/editor/resources/DTDs/4_0/HTMLsymbol.ent  | 48 +
 .../html/editor/resources/DTDs/4_0/frameset.dtd| 42 +-
 .../html/editor/resources/DTDs/4_0/loose.dtd   | 38 
 .../html/editor/resources/DTDs/4_0/strict.dtd  | 44 +--
 .../html/editor/resources/DTDs/4_01/HTMLlat1.ent   | 50 +-
 .../editor/resources/DTDs/4_01/HTMLspecial.ent | 50 +-
 .../html/editor/resources/DTDs/4_01/HTMLsymbol.ent | 50 +-
 .../html/editor/resources/DTDs/4_01/frameset.dtd   | 42 +-
 .../html/editor/resources/DTDs/4_01/loose.dtd  | 38 
 .../html/editor/resources/DTDs/4_01/strict.dtd | 44 +--
 .../editor/resources/DTDs/xhtml/xhtml-lat1.ent | 50 +-
 .../editor/resources/DTDs/xhtml/xhtml-special.ent  | 50 +-
 .../editor/resources/DTDs/xhtml/xhtml-symbol.ent   | 50 +-
 .../resources/DTDs/xhtml/xhtml1-frameset.dtd   | 36 
 .../editor/resources/DTDs/xhtml/xhtml1-strict.dtd  | 36 
 .../resources/DTDs/xhtml/xhtml1-transitional.dtd   | 36 
 nbbuild/antsrc/org/netbeans/nbbuild/xhtml-lat1.ent | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-special.ent  | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-symbol.ent   | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml1-strict.dtd  | 34 +++
 nbbuild/licenseinfo.xml|  8 +---
 nbbuild/licenses/ISO-8879-SGML |  4 --
 welcome/licenseinfo.xml|  6 +--
 .../modules/welcome/resources/xhtml-lat1.ent   | 50 +-
 .../modules/welcome/resources/xhtml-special.ent| 50 +-
 .../modules/welcome/resources/xhtml-symbol.ent | 50 +-
 .../welcome/resources/xhtml1-transitional.dtd  | 34 +++
 32 files changed, 1017 insertions(+), 265 deletions(-)

diff --git a/html.editor/licenseinfo.xml b/html.editor/licenseinfo.xml
index f066a93..5264cdd 100644
--- a/html.editor/licenseinfo.xml
+++ b/html.editor/licenseinfo.xml
@@ -22,30 +22,26 @@
 
 
 
src/org/netbeans/modules/html/editor/resources/DTDs/3_2/html32.dtd
+
src/org/netbeans/modules/html/editor/resources/DTDs/3_2/lat1.ent
 
src/org/netbeans/modules/html/editor/resources/DTDs/4_0/frameset.dtd
 
src/org/netbeans/modules/html/editor/resources/DTDs/4_0/loose.dtd
 
src/org/netbeans/modules/html/editor/resources/DTDs/4_0/strict.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/4_01/frameset.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/4_01/loose.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/4_01/strict.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/xhtml/xhtml1-frameset.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/xhtml/xhtml1-strict.dtd
-
src/org/netbeans/modules/html/editor/resources/DTDs/xhtml/xhtml1-transitional.dtd
-
-DTDs and XMLSchemata are used at runtime to offer code 
completion for HTML/XHTML files.
-
-
-
src/org/netbeans/modules/html/editor/resources/DTDs/3_2/lat1.ent
 
src/org/netbeans/modules/html/editor/resources/DTDs/4_0/HTMLlat1.ent
 
src/org/netbeans/modules/html/editor/resources/DTDs/4_0/HTMLspecial.ent
 
src/org/netbeans/modules/html/e

[incubator-netbeans] branch release90 updated (5747fbd -> 399b124)

2018-06-30 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from 5747fbd  NETBEANS-892: Fix updation of unrelated files during refactor 
(#609)
 new 24ea4b3  [NETBEANS-853] Fix license info for entity definitions and 
DTDs
 new 399b124  [NETBEANS-853] Remove DTD files from maven.coverage

The 2 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:
 html.editor/licenseinfo.xml| 20 +++---
 .../html/editor/resources/DTDs/3_2/html32.dtd  | 34 -
 .../html/editor/resources/DTDs/3_2/lat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLlat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLspecial.ent | 48 +
 .../html/editor/resources/DTDs/4_0/HTMLsymbol.ent  | 48 +
 .../html/editor/resources/DTDs/4_0/frameset.dtd| 42 +--
 .../html/editor/resources/DTDs/4_0/loose.dtd   | 38 +-
 .../html/editor/resources/DTDs/4_0/strict.dtd  | 44 ++--
 .../html/editor/resources/DTDs/4_01/HTMLlat1.ent   | 50 -
 .../editor/resources/DTDs/4_01/HTMLspecial.ent | 50 -
 .../html/editor/resources/DTDs/4_01/HTMLsymbol.ent | 50 -
 .../html/editor/resources/DTDs/4_01/frameset.dtd   | 42 +--
 .../html/editor/resources/DTDs/4_01/loose.dtd  | 38 +-
 .../html/editor/resources/DTDs/4_01/strict.dtd | 44 ++--
 .../editor/resources/DTDs/xhtml/xhtml-lat1.ent | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-special.ent  | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-symbol.ent   | 50 -
 .../resources/DTDs/xhtml/xhtml1-frameset.dtd   | 36 +-
 .../editor/resources/DTDs/xhtml/xhtml1-strict.dtd  | 36 +-
 .../resources/DTDs/xhtml/xhtml1-transitional.dtd   | 36 +-
 maven.coverage/licenseinfo.xml | 32 -
 .../maven/coverage/MavenCoverageProvider.java  | 22 +++---
 .../modules/maven/coverage/coverage-04.dtd | 60 
 .../netbeans/modules/maven/coverage/jacoco-1.0.dtd | 84 --
 nbbuild/antsrc/org/netbeans/nbbuild/xhtml-lat1.ent | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-special.ent  | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-symbol.ent   | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml1-strict.dtd  | 34 -
 nbbuild/licenseinfo.xml|  8 +--
 nbbuild/licenses/ISO-8879-SGML |  4 --
 welcome/licenseinfo.xml|  6 +-
 .../modules/welcome/resources/xhtml-lat1.ent   | 50 -
 .../modules/welcome/resources/xhtml-special.ent| 50 -
 .../modules/welcome/resources/xhtml-symbol.ent | 50 -
 .../welcome/resources/xhtml1-transitional.dtd  | 34 -
 36 files changed, 1028 insertions(+), 452 deletions(-)
 delete mode 100644 maven.coverage/licenseinfo.xml
 delete mode 100644 
maven.coverage/src/org/netbeans/modules/maven/coverage/coverage-04.dtd
 delete mode 100644 
maven.coverage/src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd
 delete mode 100644 nbbuild/licenses/ISO-8879-SGML


-
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] 02/02: [NETBEANS-853] Remove DTD files from maven.coverage

2018-06-30 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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

commit 399b124dcc6d2e938447174d37f41d1c56d9
Author: Matthias Bläsing 
AuthorDate: Wed Jun 27 19:31:54 2018 +0200

[NETBEANS-853] Remove DTD files from maven.coverage

The license situation around the DTDs is unclear and as the DTDs don't
contain entity definitions, so they are not strictly necessary to parse
the XML files

Entity resolver is overriden to prevent retrieval of the cobertura DTDs
via network calls.
---
 maven.coverage/licenseinfo.xml | 32 -
 .../maven/coverage/MavenCoverageProvider.java  | 22 +++---
 .../modules/maven/coverage/coverage-04.dtd | 60 
 .../netbeans/modules/maven/coverage/jacoco-1.0.dtd | 84 --
 4 files changed, 11 insertions(+), 187 deletions(-)

diff --git a/maven.coverage/licenseinfo.xml b/maven.coverage/licenseinfo.xml
deleted file mode 100644
index c29f4ae..000
--- a/maven.coverage/licenseinfo.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-src/org/netbeans/modules/maven/coverage/coverage-04.dtd
-
-
-
-src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd
-
-Used by XML parser at runtime.
-
-
diff --git 
a/maven.coverage/src/org/netbeans/modules/maven/coverage/MavenCoverageProvider.java
 
b/maven.coverage/src/org/netbeans/modules/maven/coverage/MavenCoverageProvider.java
index a9075cd..5663591 100644
--- 
a/maven.coverage/src/org/netbeans/modules/maven/coverage/MavenCoverageProvider.java
+++ 
b/maven.coverage/src/org/netbeans/modules/maven/coverage/MavenCoverageProvider.java
@@ -19,6 +19,7 @@
 
 package org.netbeans.modules.maven.coverage;
 
+import java.io.ByteArrayInputStream;
 import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
@@ -199,17 +200,16 @@ public final class MavenCoverageProvider implements 
CoverageProvider {
 return null;
 }
 try {
-org.w3c.dom.Document report = XMLUtil.parse(new 
InputSource(r.toURI().toString()), true, false, XMLUtil.defaultErrorHandler(), 
new EntityResolver() {
- public @Override InputSource 
resolveEntity(String publicId, String systemId) throws SAXException, 
IOException {
- if 
(systemId.equals("http://cobertura.sourceforge.net/xml/coverage-04.dtd";)) {
- return new 
InputSource(MavenCoverageProvider.class.getResourceAsStream("coverage-04.dtd"));
 // NOI18N
- } else if 
(publicId.equals("-//JACOCO//DTD Report 1.0//EN")) {
- return new 
InputSource(MavenCoverageProvider.class.getResourceAsStream("jacoco-1.0.dtd"));
- } else {
- return null;
- }
- }
- });
+// Entity resolver is overriden to prevent retrieval of the 
cobertura
+// DTDs. The license situation around the DTDs is unclear and as 
the
+// DTDs don't contain entity definitions, they are not strictly
+// necessary to parse the XML files
+org.w3c.dom.Document report = XMLUtil.parse(new 
InputSource(r.toURI().toString()), false, false, XMLUtil.defaultErrorHandler(), 
new EntityResolver() {
+@Override
+public InputSource resolveEntity(String publicId, String 
systemId) throws SAXException, IOException {
+return new InputSource(new ByteArrayInputStream(new 
byte[0]));
+}
+});
 LOG.log(Level.FINE, "parsed {0}", r);
 return Pair.of(r, report);
 } catch (/*IO,SAX*/Exception x) {
diff --git 
a/maven.coverage/src/org/netbeans/modules/maven/coverage/coverage-04.dtd 
b/maven.coverage/src/org/netbeans/modules/maven/coverage/coverage-04.dtd
deleted file mode 100644
index e5a21bb..000
--- a/maven.coverage/src/org/netbeans/modules/maven/coverage/coverage-04.dtd
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git 
a/maven.coverage/src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd 
b/maven.coverage/src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd
deleted file mode 100644
index 5e6184a..000
--- a/maven.coverage/src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-  
-
-
-
-  
-  
-  
-  
-  
-  
-
-
-
-  
-  
-
-
-
-  
-  
-
-
-
-  
-  
-
-
-
-  
-  
-  
-  
-  
-  
-  
-
-
-  
-  
-
-
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-
-
-  
-  
-  
-  
-  

[incubator-netbeans] branch master updated (cb1c221 -> e0ee005)

2018-06-30 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 cb1c221  [NETBEANS-290] Provided support for hyperlink on 
dependencies. (#481)
 add 6b32546  [NETBEANS-853] Fix license info for entity definitions and 
DTDs
 add ad5f83c  [NETBEANS-853] Remove DTD files from maven.coverage
 new e0ee005  Merge pull request #606 from matthiasblaesing/sgml_w3c

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:
 html.editor/licenseinfo.xml| 20 +++---
 .../html/editor/resources/DTDs/3_2/html32.dtd  | 34 -
 .../html/editor/resources/DTDs/3_2/lat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLlat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLspecial.ent | 48 +
 .../html/editor/resources/DTDs/4_0/HTMLsymbol.ent  | 48 +
 .../html/editor/resources/DTDs/4_0/frameset.dtd| 42 +--
 .../html/editor/resources/DTDs/4_0/loose.dtd   | 38 +-
 .../html/editor/resources/DTDs/4_0/strict.dtd  | 44 ++--
 .../html/editor/resources/DTDs/4_01/HTMLlat1.ent   | 50 -
 .../editor/resources/DTDs/4_01/HTMLspecial.ent | 50 -
 .../html/editor/resources/DTDs/4_01/HTMLsymbol.ent | 50 -
 .../html/editor/resources/DTDs/4_01/frameset.dtd   | 42 +--
 .../html/editor/resources/DTDs/4_01/loose.dtd  | 38 +-
 .../html/editor/resources/DTDs/4_01/strict.dtd | 44 ++--
 .../editor/resources/DTDs/xhtml/xhtml-lat1.ent | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-special.ent  | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-symbol.ent   | 50 -
 .../resources/DTDs/xhtml/xhtml1-frameset.dtd   | 36 +-
 .../editor/resources/DTDs/xhtml/xhtml1-strict.dtd  | 36 +-
 .../resources/DTDs/xhtml/xhtml1-transitional.dtd   | 36 +-
 maven.coverage/licenseinfo.xml | 32 -
 .../maven/coverage/MavenCoverageProvider.java  | 22 +++---
 .../modules/maven/coverage/coverage-04.dtd | 60 
 .../netbeans/modules/maven/coverage/jacoco-1.0.dtd | 84 --
 nbbuild/antsrc/org/netbeans/nbbuild/xhtml-lat1.ent | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-special.ent  | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-symbol.ent   | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml1-strict.dtd  | 34 -
 nbbuild/licenseinfo.xml|  8 +--
 nbbuild/licenses/ISO-8879-SGML |  4 --
 welcome/licenseinfo.xml|  6 +-
 .../modules/welcome/resources/xhtml-lat1.ent   | 50 -
 .../modules/welcome/resources/xhtml-special.ent| 50 -
 .../modules/welcome/resources/xhtml-symbol.ent | 50 -
 .../welcome/resources/xhtml1-transitional.dtd  | 34 -
 36 files changed, 1028 insertions(+), 452 deletions(-)
 delete mode 100644 maven.coverage/licenseinfo.xml
 delete mode 100644 
maven.coverage/src/org/netbeans/modules/maven/coverage/coverage-04.dtd
 delete mode 100644 
maven.coverage/src/org/netbeans/modules/maven/coverage/jacoco-1.0.dtd
 delete mode 100644 nbbuild/licenses/ISO-8879-SGML


-
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 #606 from matthiasblaesing/sgml_w3c

2018-06-30 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 e0ee00578ea26326b73681993c12df669c174f40
Merge: cb1c221 ad5f83c
Author: Matthias Bläsing 
AuthorDate: Sat Jun 30 20:07:41 2018 +0200

Merge pull request #606 from matthiasblaesing/sgml_w3c

[NETBEANS-853] Fix license info for entity definitions and DTDs

 html.editor/licenseinfo.xml| 20 +++---
 .../html/editor/resources/DTDs/3_2/html32.dtd  | 34 -
 .../html/editor/resources/DTDs/3_2/lat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLlat1.ent| 48 +
 .../html/editor/resources/DTDs/4_0/HTMLspecial.ent | 48 +
 .../html/editor/resources/DTDs/4_0/HTMLsymbol.ent  | 48 +
 .../html/editor/resources/DTDs/4_0/frameset.dtd| 42 +--
 .../html/editor/resources/DTDs/4_0/loose.dtd   | 38 +-
 .../html/editor/resources/DTDs/4_0/strict.dtd  | 44 ++--
 .../html/editor/resources/DTDs/4_01/HTMLlat1.ent   | 50 -
 .../editor/resources/DTDs/4_01/HTMLspecial.ent | 50 -
 .../html/editor/resources/DTDs/4_01/HTMLsymbol.ent | 50 -
 .../html/editor/resources/DTDs/4_01/frameset.dtd   | 42 +--
 .../html/editor/resources/DTDs/4_01/loose.dtd  | 38 +-
 .../html/editor/resources/DTDs/4_01/strict.dtd | 44 ++--
 .../editor/resources/DTDs/xhtml/xhtml-lat1.ent | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-special.ent  | 50 -
 .../editor/resources/DTDs/xhtml/xhtml-symbol.ent   | 50 -
 .../resources/DTDs/xhtml/xhtml1-frameset.dtd   | 36 +-
 .../editor/resources/DTDs/xhtml/xhtml1-strict.dtd  | 36 +-
 .../resources/DTDs/xhtml/xhtml1-transitional.dtd   | 36 +-
 maven.coverage/licenseinfo.xml | 32 -
 .../maven/coverage/MavenCoverageProvider.java  | 22 +++---
 .../modules/maven/coverage/coverage-04.dtd | 60 
 .../netbeans/modules/maven/coverage/jacoco-1.0.dtd | 84 --
 nbbuild/antsrc/org/netbeans/nbbuild/xhtml-lat1.ent | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-special.ent  | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml-symbol.ent   | 48 +
 .../antsrc/org/netbeans/nbbuild/xhtml1-strict.dtd  | 34 -
 nbbuild/licenseinfo.xml|  8 +--
 nbbuild/licenses/ISO-8879-SGML |  4 --
 welcome/licenseinfo.xml|  6 +-
 .../modules/welcome/resources/xhtml-lat1.ent   | 50 -
 .../modules/welcome/resources/xhtml-special.ent| 50 -
 .../modules/welcome/resources/xhtml-symbol.ent | 50 -
 .../welcome/resources/xhtml1-transitional.dtd  | 34 -
 36 files changed, 1028 insertions(+), 452 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



[jira] [Commented] (NETBEANS-538) A java.lang.StackOverflowError exception has occurred.

2018-06-30 Thread Volodymyr (JIRA)


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

Volodymyr commented on NETBEANS-538:


[~GeertjanWielenga]  Thank you very much. I will try.

> A java.lang.StackOverflowError exception has occurred.
> --
>
> Key: NETBEANS-538
> URL: https://issues.apache.org/jira/browse/NETBEANS-538
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: Next
> Environment: openjdk-9 
> Arch Linux, kernel 4.15.13
>Reporter: Viktorie Novotná
>Assignee: Reema Taneja
>Priority: Critical
> Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, 
> netbeans-538.patch
>
>
> Simple javascript code emits exception on every edit, IDE start, save and so 
> on.
> {{Example of such code:}}
> a.b=a.b;
>  
> While this code seems useless it's used quite often, like in google analytics:
> {{window.dataLayer = window.dataLayer || [];}}
> (emitting same exception)
> Stack trace:
> java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at 
> java.util.HashMap.put(HashMap.java:612) at 
> java.util.HashSet.add(HashSet.java:220) at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  ...
>  ...
> and so on.
>  



--
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-538) A java.lang.StackOverflowError exception has occurred.

2018-06-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-538:


Replace the o.n.m.javascript2.model.jar in ‘webcommon’ in installation 
directory with equivalent from 8.2. No need to rebuild anything, just replace 
the JAR in the installation directory and restart.

> A java.lang.StackOverflowError exception has occurred.
> --
>
> Key: NETBEANS-538
> URL: https://issues.apache.org/jira/browse/NETBEANS-538
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: Next
> Environment: openjdk-9 
> Arch Linux, kernel 4.15.13
>Reporter: Viktorie Novotná
>Assignee: Reema Taneja
>Priority: Critical
> Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, 
> netbeans-538.patch
>
>
> Simple javascript code emits exception on every edit, IDE start, save and so 
> on.
> {{Example of such code:}}
> a.b=a.b;
>  
> While this code seems useless it's used quite often, like in google analytics:
> {{window.dataLayer = window.dataLayer || [];}}
> (emitting same exception)
> Stack trace:
> java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at 
> java.util.HashMap.put(HashMap.java:612) at 
> java.util.HashSet.add(HashSet.java:220) at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  ...
>  ...
> and so on.
>  



--
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-538) A java.lang.StackOverflowError exception has occurred.

2018-06-30 Thread Volodymyr (JIRA)


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

Volodymyr edited comment on NETBEANS-538 at 6/30/18 9:25 AM:
-

Looks like I have the same issue, but no time to apply patch and rebuild IDE 
from sources. Is there any update schedule? Getting a little frustrated with 
all exceptions, mostly related to validation of syntax and code suggestions. 
Affect both Java and JS. Nearly impossible to work.


was (Author: bykov):
Looks like I have the same issue, but no time to apply patch and rebuild IDE 
from sources. Is there any update schedule? Getting a little frustrated with 
all exceptions, mostly related to validation of syntax and code suggestions. 
Nearly impossible to work.

> A java.lang.StackOverflowError exception has occurred.
> --
>
> Key: NETBEANS-538
> URL: https://issues.apache.org/jira/browse/NETBEANS-538
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: Next
> Environment: openjdk-9 
> Arch Linux, kernel 4.15.13
>Reporter: Viktorie Novotná
>Assignee: Reema Taneja
>Priority: Critical
> Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, 
> netbeans-538.patch
>
>
> Simple javascript code emits exception on every edit, IDE start, save and so 
> on.
> {{Example of such code:}}
> a.b=a.b;
>  
> While this code seems useless it's used quite often, like in google analytics:
> {{window.dataLayer = window.dataLayer || [];}}
> (emitting same exception)
> Stack trace:
> java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at 
> java.util.HashMap.put(HashMap.java:612) at 
> java.util.HashSet.add(HashSet.java:220) at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  ...
>  ...
> and so on.
>  



--
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-538) A java.lang.StackOverflowError exception has occurred.

2018-06-30 Thread Volodymyr (JIRA)


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

Volodymyr edited comment on NETBEANS-538 at 6/30/18 9:24 AM:
-

Looks like I have the same issue, but no time to apply patch and rebuild IDE 
from sources. Is there any update schedule? Getting a little frustrated with 
all exceptions, mostly related to validation of syntax and code suggestions. 
Nearly impossible to work.


was (Author: bykov):
Looks like I have the same issue, but no time to apply path and rebuild IDE 
from sources. Is there any update schedule? Getting a little frustrated with 
all exceptions, mostly related to validation of syntax and code suggestions. 
Nearly impossible to work.

> A java.lang.StackOverflowError exception has occurred.
> --
>
> Key: NETBEANS-538
> URL: https://issues.apache.org/jira/browse/NETBEANS-538
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: Next
> Environment: openjdk-9 
> Arch Linux, kernel 4.15.13
>Reporter: Viktorie Novotná
>Assignee: Reema Taneja
>Priority: Critical
> Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, 
> netbeans-538.patch
>
>
> Simple javascript code emits exception on every edit, IDE start, save and so 
> on.
> {{Example of such code:}}
> a.b=a.b;
>  
> While this code seems useless it's used quite often, like in google analytics:
> {{window.dataLayer = window.dataLayer || [];}}
> (emitting same exception)
> Stack trace:
> java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at 
> java.util.HashMap.put(HashMap.java:612) at 
> java.util.HashSet.add(HashSet.java:220) at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  ...
>  ...
> and so on.
>  



--
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-538) A java.lang.StackOverflowError exception has occurred.

2018-06-30 Thread Volodymyr (JIRA)


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

Volodymyr commented on NETBEANS-538:


Looks like I have the same issue, but no time to apply path and rebuild IDE 
from sources. Is there any update schedule? Getting a little frustrated with 
all exceptions, mostly related to validation of syntax and code suggestions. 
Nearly impossible to work.

> A java.lang.StackOverflowError exception has occurred.
> --
>
> Key: NETBEANS-538
> URL: https://issues.apache.org/jira/browse/NETBEANS-538
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: Next
> Environment: openjdk-9 
> Arch Linux, kernel 4.15.13
>Reporter: Viktorie Novotná
>Assignee: Reema Taneja
>Priority: Critical
> Attachments: Snímek obrazovky pořízený 2018-03-28 21-14-01.png, 
> netbeans-538.patch
>
>
> Simple javascript code emits exception on every edit, IDE start, save and so 
> on.
> {{Example of such code:}}
> a.b=a.b;
>  
> While this code seems useless it's used quite often, like in google analytics:
> {{window.dataLayer = window.dataLayer || [];}}
> (emitting same exception)
> Stack trace:
> java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:339) at 
> java.util.HashMap.put(HashMap.java:612) at 
> java.util.HashSet.add(HashSet.java:220) at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>  ...
>  ...
> and so on.
>  



--
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/02: [NETBEANS-146] New Apache NetBeans Logo on updater (#608)

2018-06-30 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

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

commit eea9b06b0636455c228825285a3aa5a9d8373745
Author: Sven Reimers 
AuthorDate: Wed Jun 27 06:33:35 2018 +0200

[NETBEANS-146] New Apache NetBeans Logo on updater (#608)
---
 .../org/netbeans/updater/resources/updatersplash.gif | Bin 50358 -> 5499 bytes
 .../netbeans/updater/resources/updatersplash_nb.gif  | Bin 50358 -> 5499 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash.gif 
b/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash.gif
old mode 100644
new mode 100755
index 03c516c..e0aca01
Binary files 
a/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash.gif 
and 
b/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash.gif 
differ
diff --git 
a/ide.branding/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash_nb.gif
 
b/ide.branding/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash_nb.gif
old mode 100644
new mode 100755
index 03c516c..e0aca01
Binary files 
a/ide.branding/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash_nb.gif
 and 
b/ide.branding/autoupdate.services/libsrc/org/netbeans/updater/resources/updatersplash_nb.gif
 differ


-
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 release90 created (now 5747fbd)

2018-06-30 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

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


  at 5747fbd  NETBEANS-892: Fix updation of unrelated files during refactor 
(#609)

This branch includes the following new commits:

 new eea9b06  [NETBEANS-146] New Apache NetBeans Logo on updater (#608)
 new 5747fbd  NETBEANS-892: Fix updation of unrelated files during refactor 
(#609)

The 2 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.



-
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] 02/02: NETBEANS-892: Fix updation of unrelated files during refactor (#609)

2018-06-30 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

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

commit 5747fbd34405a5724b7f4020fd04cfb0bfd853c9
Author: Reema Taneja <32299405+rtane...@users.noreply.github.com>
AuthorDate: Wed Jun 27 08:39:16 2018 -0700

NETBEANS-892: Fix updation of unrelated files during refactor (#609)
---
 .../modules/refactoring/java/plugins/MoveClassTransformer.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/MoveClassTransformer.java
 
b/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/MoveClassTransformer.java
index a295abf..cd7b618 100644
--- 
a/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/MoveClassTransformer.java
+++ 
b/refactoring.java/src/org/netbeans/modules/refactoring/java/plugins/MoveClassTransformer.java
@@ -146,8 +146,6 @@ public class MoveClassTransformer extends 
RefactoringVisitor {
 cut = make.CompilationUnit(cut.getPackageName(), imports, 
cut.getTypeDecls(), cut.getSourceFile());
 }
 
-cut = GeneratorUtilities.get(workingCopy).importFQNs(cut);
-
 rewrite(node, cut);
 
 return result;
@@ -245,6 +243,7 @@ public class MoveClassTransformer extends 
RefactoringVisitor {
 }
 get.copyComments(origTree, newClass, true);
 get.copyComments(origTree, newClass, false);
+newClass = get.importFQNs(newClass);
 newClass = get.insertClassMember(node, newClass);
 original2Translated.put(node, newClass);
 }


-
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