[jira] [Updated] (NETBEANS-1946) Add exported/opened icon to package for JPMS

2019-01-16 Thread Pavel_K (JIRA)


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

Pavel_K updated NETBEANS-1946:
--
Description: When we work with JPMS in module-info we can export or open 
packages of the module(project). I suggest to add icon to package that will 
show if package is exported or opened. It will help to see what packages are 
internal and which are not.  (was: When we work with JPMS in module-info we can 
export or open packages of the module(project). I suggest to add icon to 
package that will show if packages if exported or is opened. It will help to 
see what packages are internal and which are not.)

> Add exported/opened icon to package for JPMS
> 
>
> Key: NETBEANS-1946
> URL: https://issues.apache.org/jira/browse/NETBEANS-1946
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: Pavel_K
>Priority: Major
>
> When we work with JPMS in module-info we can export or open packages of the 
> module(project). I suggest to add icon to package that will show if package 
> is exported or opened. It will help to see what packages are internal and 
> which are not.



--
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-1397) NetBeans ignores Automatic-Module-Name when java modules are used

2019-01-16 Thread Pavel_K (JIRA)


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

Pavel_K closed NETBEANS-1397.
-
Resolution: Cannot Reproduce

> NetBeans ignores Automatic-Module-Name when java modules are used
> -
>
> Key: NETBEANS-1397
> URL: https://issues.apache.org/jira/browse/NETBEANS-1397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Pavel_K
>Priority: Major
> Attachments: NETBEANS-1397.png, java-11-a.png, java-11-b.png, 
> java-11-c.png, java-11-d.png, mavenproject22.zip
>
>
> According to JPMS specs the name of automatic module can be set via 
> MANIFEST.MF by Automatic-Module-Name entry. However, NetBeans doesn't read 
> this entry and it gives problem. For example, there is a module which file 
> name is `foo-boo-1.0.jar` with Automatic-Module-Name as `super.foo`. In my 
> module I must use automatic module set in manifest otherwise JVM won't find 
> this module. That's why I do
> {code:java}
> module my.module {
> requires super.foo;//LINE X
> }
> {code}
> At line X NetBeans shows me an error as it can't find this module! However, 
> compiler compiles module without problem.



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

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

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



[jira] [Created] (NETBEANS-1946) Add exported/opened icon to package for JPMS

2019-01-16 Thread Pavel_K (JIRA)
Pavel_K created NETBEANS-1946:
-

 Summary: Add exported/opened icon to package for JPMS
 Key: NETBEANS-1946
 URL: https://issues.apache.org/jira/browse/NETBEANS-1946
 Project: NetBeans
  Issue Type: New Feature
Reporter: Pavel_K


When we work with JPMS in module-info we can export or open packages of the 
module(project). I suggest to add icon to package that will show if packages if 
exported or is opened. It will help to see what packages are internal and which 
are not.



--
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-1945) Test Case Failure in java.hints Module

2019-01-16 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-1945:

Description: 
Below test case is failing in NB which was earlier passing 
org.netbeans.modules.java.hints.suggestions.TinyTest.testFlipImplicitThis

 

The bug was introduced in https://github.com/apache/incubator-netbeans/pull/1049

  was:Below test case is failing in NB which was earlier passing 
org.netbeans.modules.java.hints.suggestions.TinyTest.testFlipImplicitThis


> Test Case Failure in java.hints Module
> --
>
> Key: NETBEANS-1945
> URL: https://issues.apache.org/jira/browse/NETBEANS-1945
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: ARUNAVA SINHA
>Priority: Minor
>
> Below test case is failing in NB which was earlier passing 
> org.netbeans.modules.java.hints.suggestions.TinyTest.testFlipImplicitThis
>  
> The bug was introduced in 
> https://github.com/apache/incubator-netbeans/pull/1049



--
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-1945) Test Case Failure in java.hints Module

2019-01-16 Thread ARUNAVA SINHA (JIRA)
ARUNAVA SINHA created NETBEANS-1945:
---

 Summary: Test Case Failure in java.hints Module
 Key: NETBEANS-1945
 URL: https://issues.apache.org/jira/browse/NETBEANS-1945
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
Reporter: ARUNAVA SINHA


Below test case is failing in NB which was earlier passing 
org.netbeans.modules.java.hints.suggestions.TinyTest.testFlipImplicitThis



--
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-1944) git clone a project fails use ssh + Private key

2019-01-16 Thread sihai (JIRA)
sihai created NETBEANS-1944:
---

 Summary: git clone a project fails use ssh +  Private key
 Key: NETBEANS-1944
 URL: https://issues.apache.org/jira/browse/NETBEANS-1944
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
Reporter: sihai
 Attachments: 屏幕快照 2019-01-17 上午11.28.19.png, 屏幕快照 2019-01-17 
上午11.39.31.png

shell git clone g...@github.com:giant35/thorntail-hello.git ok , git push also 
ok . 

But use NB 10 clone use Menu "Team" => "Git" =>"Clone..." use Private key  tip 
"Incorrect credentials for repository at 
github.com:giant35/thorntail-hello.git" 

 

 



--
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-mavenutils] branch master updated: fix menu for nb-shared

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 4514807  fix menu for nb-shared
4514807 is described below

commit 4514807e6edad0b66d913ad6caa027da385223a2
Author: Eric Barboni 
AuthorDate: Thu Jan 17 01:10:45 2019 +0100

fix menu for nb-shared
---
 webskin/src/main/resources/META-INF/maven/site.vm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webskin/src/main/resources/META-INF/maven/site.vm 
b/webskin/src/main/resources/META-INF/maven/site.vm
index 60a214a..cbffd58 100644
--- a/webskin/src/main/resources/META-INF/maven/site.vm
+++ b/webskin/src/main/resources/META-INF/maven/site.vm
@@ -42,7 +42,7 @@
 #* *##else
  NBM Plugin 
 #* *##end
-#* *##if ($project.artifactId == 'nbm-shared')
+#* *##if ($project.artifactId == 'nb-shared')
  Shared 
 #* *##else
  Shared 


-
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-1943) Sources folder is already NetBeans project (maybe only in memory)

2019-01-16 Thread Arjan van Dongen (JIRA)
Arjan van Dongen created NETBEANS-1943:
--

 Summary: Sources folder is already NetBeans project (maybe only in 
memory)
 Key: NETBEANS-1943
 URL: https://issues.apache.org/jira/browse/NETBEANS-1943
 Project: NetBeans
  Issue Type: Bug
Reporter: Arjan van Dongen


 This error is really too vague and is just a bug for me.

This error occur not only on "*{{nbproject}}*"  but also when you like to use 
to add a project where HG / SourceTree is also in use. I moved temporary the 
.hg folder out of my project and then the creation of a project will work.



--
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-mavenutils] branch master updated: do archive website in the stage

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 75830f6  do archive website in the stage
75830f6 is described below

commit 75830f647e48d7ca6a64a7401bb03a8792cc544d
Author: Eric Barboni 
AuthorDate: Wed Jan 16 23:51:40 2019 +0100

do archive website in the stage
---
 Jenkinsfile-site.groovy | 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index ed63aeb..25b72fc 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -57,16 +57,11 @@ pipeline {
 }
 }
 }
-
-
-}
-}
-stage('Publish Site'){ 
-agent {label 'ubuntu'}
-steps {
 zip zipFile:'mavenusite.zip',archive:false,dir:'stagedsite'
 archiveArtifacts artifacts:'mavenusite.zip'
-  }
-}   
+  
+
+}
+}   
 }
 }


-
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-mavenutils] branch master updated: images link should be relative

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 5ae3cfe  images link should be relative
5ae3cfe is described below

commit 5ae3cfe37f2b59591107020c47dc59d611172e82
Author: Eric Barboni 
AuthorDate: Wed Jan 16 23:20:52 2019 +0100

images link should be relative
---
 webskin/src/main/resources/META-INF/maven/site.vm | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/webskin/src/main/resources/META-INF/maven/site.vm 
b/webskin/src/main/resources/META-INF/maven/site.vm
index 2691d90..60a214a 100644
--- a/webskin/src/main/resources/META-INF/maven/site.vm
+++ b/webskin/src/main/resources/META-INF/maven/site.vm
@@ -27,7 +27,7 @@
 
 
 
-http://netbeans.apache.org;>Apache 
NetBeans (incubating)
+http://netbeans.apache.org;>Apache 
NetBeans (incubating)
 
 
 
@@ -76,7 +76,7 @@ $bodyContent
 
 
 https://www.apache.org/;>
-
+
 
 
 
@@ -90,7 +90,7 @@ $bodyContent
 
 Copyright  2017-2018 https://www.apache.org;>The 
Apache Software Foundation.
 Licensed under the Apache https://www.apache.org/licenses/;>license, version 2.0
-https://incubator.apache.org/; alt="Apache Incubator">
+https://incubator.apache.org/; alt="Apache Incubator">
 
 Apache NetBeans is an effort undergoing incubation at The 
Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation 
is required of all newly accepted projects until a further review indicates 
that the infrastructure, communications, and decision making process have 
stabilized in a manner consistent with other successful ASF projects. While 
incubation status is not necessarily a reflection of the completeness or 
stability of the code, it does indicate  [...]
 Apache Incubator, Apache, the Apache feather logo, the Apache 
NetBeans logo, and the Apache Incubator project logo are trademarks of https://www.apache.org;>The Apache Software Foundation.
@@ -103,11 +103,11 @@ $bodyContent
 
 
 
-
-
-
-
-
+
+
+
+
+
 

[incubator-netbeans-mavenutils] branch master updated: Adjust Website to bits.netbeans.org and main nav bar

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 9b4153c  Adjust Website to bits.netbeans.org and main nav bar
9b4153c is described below

commit 9b4153cc7cfb08e1dd408c19bdbe9fc78fa568d4
Author: Eric Barboni 
AuthorDate: Wed Jan 16 21:56:31 2019 +0100

Adjust Website to bits.netbeans.org and main nav bar
---
 nb-repository-plugin/pom.xml  | 2 +-
 nbm-maven-harness/pom.xml | 2 +-
 nbm-maven-plugin/pom.xml  | 2 +-
 nbm-shared/pom.xml| 2 +-
 parent/pom.xml| 4 ++--
 webskin/pom.xml   | 2 +-
 webskin/src/main/resources/META-INF/maven/site.vm | 6 +++---
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/nb-repository-plugin/pom.xml b/nb-repository-plugin/pom.xml
index b6264c0..e4a5871 100644
--- a/nb-repository-plugin/pom.xml
+++ b/nb-repository-plugin/pom.xml
@@ -15,7 +15,7 @@
 Maven plugin for creating Maven Repository out of a NetBeans 
installation (and other sources) for consumption by the projects using 
nbm-maven-plugin.
 
 2005
-http://netbeans.apache.org/mavenutilities/nb-repository-plugin
+http://bits.netbeans.org/mavenutilities/nb-repository-plugin
 
 jira
 https://issues.apache.org/jira/browse/NETBEANS
diff --git a/nbm-maven-harness/pom.xml b/nbm-maven-harness/pom.xml
index e785fc2..db3def4 100644
--- a/nbm-maven-harness/pom.xml
+++ b/nbm-maven-harness/pom.xml
@@ -9,7 +9,7 @@
 nbm-maven-harness
 9.0-SNAPSHOT
 Apache NetBeans Maven Utilities - NBM Harness for Maven
-http://netbeans.apache.org/mavenutilities/nbm-maven-harness
+http://bits.netbeans.org/mavenutilities/nbm-maven-harness
 
 jira
 https://issues.apache.org/jira/browse/NETBEANS
diff --git a/nbm-maven-plugin/pom.xml b/nbm-maven-plugin/pom.xml
index c7ddb3e..4bcdb17 100644
--- a/nbm-maven-plugin/pom.xml
+++ b/nbm-maven-plugin/pom.xml
@@ -15,7 +15,7 @@
 Maven plugin for creating NetBeans modules. It defines a 
custom lifecycle called "nbm". During packaging, the module JAR is enhanced 
with NetBeans-specific manifest entries and, along with other required files, 
packed into a *.nbm file, ready for distribution. Additionally the plugin 
provides aggregator goals to create an update site or cluster for your module 
projects.
 
 2005
-http://netbeans.apache.org/mavenutilities/nbm-maven-plugin
+http://bits.netbeans.org/mavenutilities/nbm-maven-plugin
 
 jira
 https://issues.apache.org/jira/browse/NETBEANS
diff --git a/nbm-shared/pom.xml b/nbm-shared/pom.xml
index 53e4875..c1aac41 100644
--- a/nbm-shared/pom.xml
+++ b/nbm-shared/pom.xml
@@ -15,7 +15,7 @@
 Maven plugin for creating Maven Repository out of a Apache 
NetBeans installation (and other sources) for consumption by the projects using 
nbm-maven-plugin.
 
 2005
-http://netbeans.apache.org/mavenutilities/nb-shared
+http://bits.netbeans.org/mavenutilities/nb-shared
 
 jira
 https://issues.apache.org/jira/browse/NETBEANS
diff --git a/parent/pom.xml b/parent/pom.xml
index 1155772..259fbb5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -12,7 +12,7 @@
 pom
 Apache Netbeans Maven Utilities
 Apache Netbeans Maven Utilities is a set of artefacts to 
build and populate Apache NetBeans artefacts using Apache Maven
-http://netbeans.apache.org/mavenutilities/parent 
+http://bits.netbeans.org/mavenutilities/parent
 
 
 The Apache Software License, Version 2.0
@@ -125,4 +125,4 @@
 
 
 
-
\ No newline at end of file
+
diff --git a/webskin/pom.xml b/webskin/pom.xml
index 3b638fa..949e8dd 100644
--- a/webskin/pom.xml
+++ b/webskin/pom.xml
@@ -15,7 +15,7 @@
 Maven site skin for Apache Netbeans Utilities.
 
 2018
-http://netbeans.apache.org/mavenutilities/maven-netbeans-skin
+http://bits.netbeans.org/mavenutilities/maven-netbeans-skin
 
 jira
 https://issues.apache.org/jira/browse/NETBEANS
diff --git a/webskin/src/main/resources/META-INF/maven/site.vm 
b/webskin/src/main/resources/META-INF/maven/site.vm
index 9c3294f..2691d90 100644
--- a/webskin/src/main/resources/META-INF/maven/site.vm
+++ b/webskin/src/main/resources/META-INF/maven/site.vm
@@ -35,7 +35,7 @@
 #* *##if ($project.artifactId == 'nb-repository-plugin')
  NB Repository Plugin 
 #* *##else
- NB Repository 
Plugin 
+ NB Repository 
Plugin 
 #* *##end
 #* *##if ($project.artifactId == 'nbm-maven-plugin')
  NBM Plugin 
@@ -45,7 +45,7 @@
 #* *##if ($project.artifactId == 'nbm-shared')
  Shared 
 #* *##else
- 

[jira] [Created] (NETBEANS-1940) Make content available

2019-01-16 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-1940:


 Summary: Make content available
 Key: NETBEANS-1940
 URL: https://issues.apache.org/jira/browse/NETBEANS-1940
 Project: NetBeans
  Issue Type: Sub-task
  Components: website
Reporter: Antonio Vieiro
Assignee: Antonio Vieiro


See 
https://cwiki.apache.org/confluence/display/NETBEANS/netbeans-javadoc+and+maven+utilities



--
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-1176) Publish Apache NetBeans javadoc

2019-01-16 Thread Antonio Vieiro (JIRA)


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

Antonio Vieiro reassigned NETBEANS-1176:


Assignee: Antonio Vieiro

> Publish Apache NetBeans javadoc
> ---
>
> Key: NETBEANS-1176
> URL: https://issues.apache.org/jira/browse/NETBEANS-1176
> Project: NetBeans
>  Issue Type: Task
>Reporter: Geertjan Wielenga
>Assignee: Antonio Vieiro
>Priority: Major
>
> Task for publishing NetBeans javadoc.
> Discussion is here:
> https://lists.apache.org/thread.html/b5d3c2a6c083b01ddd232f6b1b9150d08efab5837eb67b0bf4aa09aa@%3Cdev.netbeans.apache.org%3E



--
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-1942) Obtain Let's Encrypt certificate for bits.netbeans.org

2019-01-16 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-1942:


 Summary: Obtain Let's Encrypt certificate for bits.netbeans.org
 Key: NETBEANS-1942
 URL: https://issues.apache.org/jira/browse/NETBEANS-1942
 Project: NetBeans
  Issue Type: Sub-task
  Components: website
Reporter: Antonio Vieiro


Set up automatic creation/update of a Let's Encrypt SSL Certificate (free) for 
bits.netbeans.org



--
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-1941) Update bits.netbeans.org DNS

2019-01-16 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-1941:


 Summary: Update bits.netbeans.org DNS
 Key: NETBEANS-1941
 URL: https://issues.apache.org/jira/browse/NETBEANS-1941
 Project: NetBeans
  Issue Type: Sub-task
  Components: website
Reporter: Antonio Vieiro


Update DNS Entries for bits.netbeans.org point to netbeans-vm.apache.org



--
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-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Last to say, here I added some requirements for Vue: 
https://issues.apache.org/jira/browse/NETBEANS-504 and someone already started 
to implement directives for that: https://github.com/Zwaen91/vuejs-netbeans. So 
we only need to clarify, how the syntax highlighting is working as embedded 
languages for Vue. But yes, not here. Thx for everything Geertjan and sry again.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Major
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   

[jira] [Updated] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-88:
---
Priority: Major  (was: Blocker)

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Major
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Comment Edited] (NETBEANS-504) Please add VueJS support

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-504 at 1/16/19 5:05 PM:
--

Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML (...)
* Jade/Pug (...)

Scripting:
* JavaScript (...)
* TypeScript (...)

Styling:
* CSS (...)
* LESS (...)
* SCSS (...)
* SASS (...)
* SASS (...)


was (Author: chrizzly):
Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug (...)

Scripting:
* JavaScript
* TypeScript (...)

Styling:
* CSS (...)
* LESS (...)
* SCSS (...)
* SASS (...)
* SASS (...)

> Please add VueJS support
> 
>
> Key: NETBEANS-504
> URL: https://issues.apache.org/jira/browse/NETBEANS-504
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> NetBeans does not support VueJS. It is needed, that we have *.vue files with 
> a specific icon.
> Inside it should be possible to have HTML, CSS/SCSS JS/TS
> HTML should work out of the box.
> When I use  then it should be JavaScript. When I use the 
> attribute *lang="ts"*, TypeScript should be possible.
> When I use ** CSS should be possible. When I use the attribute 
> *lang="scss"* SCSS should be possible for *lang="sass"" SASS should be 
> possible and for *lang="less"* LESS should be possible.
> Code completion for vue specific attributes and directives should be possible.
> 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] [Comment Edited] (NETBEANS-504) Please add VueJS support

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-504 at 1/16/19 5:02 PM:
--

Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug (...)

Scripting:
* JavaScript
* TypeScript (...)

Styling:
* CSS (...)
* LESS (...)
* SCSS (...)
* SASS (...)
* SASS (...)


was (Author: chrizzly):
Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug

Scripting:
* JavaScript
* TypeScript (...)

Styling:
* CSS (...)
* LESS (...)
* SCSS (...)
* SASS (...)

> Please add VueJS support
> 
>
> Key: NETBEANS-504
> URL: https://issues.apache.org/jira/browse/NETBEANS-504
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> NetBeans does not support VueJS. It is needed, that we have *.vue files with 
> a specific icon.
> Inside it should be possible to have HTML, CSS/SCSS JS/TS
> HTML should work out of the box.
> When I use  then it should be JavaScript. When I use the 
> attribute *lang="ts"*, TypeScript should be possible.
> When I use ** CSS should be possible. When I use the attribute 
> *lang="scss"* SCSS should be possible for *lang="sass"" SASS should be 
> possible and for *lang="less"* LESS should be possible.
> Code completion for vue specific attributes and directives should be possible.
> Cheers
> Chris



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

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

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



[jira] [Commented] (NETBEANS-504) Please add VueJS support

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-504:
-

Maybe there are more, will do a research later.

> Please add VueJS support
> 
>
> Key: NETBEANS-504
> URL: https://issues.apache.org/jira/browse/NETBEANS-504
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> NetBeans does not support VueJS. It is needed, that we have *.vue files with 
> a specific icon.
> Inside it should be possible to have HTML, CSS/SCSS JS/TS
> HTML should work out of the box.
> When I use  then it should be JavaScript. When I use the 
> attribute *lang="ts"*, TypeScript should be possible.
> When I use ** CSS should be possible. When I use the attribute 
> *lang="scss"* SCSS should be possible for *lang="sass"" SASS should be 
> possible and for *lang="less"* LESS should be possible.
> Code completion for vue specific attributes and directives should be possible.
> 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] [Comment Edited] (NETBEANS-504) Please add VueJS support

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-504 at 1/16/19 4:59 PM:
--

Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug

Scripting:
* JavaScript
* TypeScript (...)

Styling:
* CSS (...)
* LESS (...)
* SCSS (...)
* SASS (...)


was (Author: chrizzly):
Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug

Scripting:
* JavaScript
* TypeScript

Styling:
* CSS
* LESS
* SCSS
* SASS

> Please add VueJS support
> 
>
> Key: NETBEANS-504
> URL: https://issues.apache.org/jira/browse/NETBEANS-504
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> NetBeans does not support VueJS. It is needed, that we have *.vue files with 
> a specific icon.
> Inside it should be possible to have HTML, CSS/SCSS JS/TS
> HTML should work out of the box.
> When I use  then it should be JavaScript. When I use the 
> attribute *lang="ts"*, TypeScript should be possible.
> When I use ** CSS should be possible. When I use the attribute 
> *lang="scss"* SCSS should be possible for *lang="sass"" SASS should be 
> possible and for *lang="less"* LESS should be possible.
> Code completion for vue specific attributes and directives should be possible.
> 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] [Comment Edited] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-88 at 1/16/19 4:51 PM:
-

Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans.

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.


was (Author: chrizzly):
Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of json application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans.

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> 

[jira] [Comment Edited] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-88 at 1/16/19 4:51 PM:
-

Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans. Why is it working, if this is wrong 
and not working outside of NetBeans?

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.


was (Author: chrizzly):
Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans.

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> 

[jira] [Commented] (NETBEANS-504) Please add VueJS support

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-504:
-

Please see this link to know how single file component in vue looks like: 
https://vuejs.org/v2/guide/single-file-components.html

Supported languages inside of vue:

Markup:
* HTML
* Jade/Pug

Scripting:
* JavaScript
* TypeScript

Styling:
* CSS
* LESS
* SCSS
* SASS

> Please add VueJS support
> 
>
> Key: NETBEANS-504
> URL: https://issues.apache.org/jira/browse/NETBEANS-504
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javascript - Editor, javascript - Formatting  
> Indentation
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> NetBeans does not support VueJS. It is needed, that we have *.vue files with 
> a specific icon.
> Inside it should be possible to have HTML, CSS/SCSS JS/TS
> HTML should work out of the box.
> When I use  then it should be JavaScript. When I use the 
> attribute *lang="ts"*, TypeScript should be possible.
> When I use ** CSS should be possible. When I use the attribute 
> *lang="scss"* SCSS should be possible for *lang="sass"" SASS should be 
> possible and for *lang="less"* LESS should be possible.
> Code completion for vue specific attributes and directives should be possible.
> Cheers
> Chris



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

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

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



[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

That's true. 

But the question is whether +html is something you need at all, I have not seen 
anywhere in NetBeans where that is used.

And again, I am not going to spend time guessing that this is needed until 
there is a full spec for the Vue support. Trying to implement things and try 
things out without seeing what the requirements are is not something I am going 
to do.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Here you can compare real world mimetypes with NetBeans mimetypes: 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>  

[jira] [Comment Edited] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-88 at 1/16/19 4:53 PM:
-

Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans. Why is it working, if this is wrong 
and not working outside of NetBeans?

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way. And it 
worked for years until now I want to use smth which is like similar to other 
ways of NetBeans.

Anyway thx for clarifing.
This will now means that NetBeans users, have to wait again long time, until I 
know or smth else to adding syntax highlighting for all supported stuff, inside 
Vue files.


was (Author: chrizzly):
Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans. Why is it working, if this is wrong 
and not working outside of NetBeans?

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Sry to say that, but sometimes I think try to kidding me.

Those are no global mimetypes anyway, those are NetBeans mimetypes, which only 
uses NetBeans.
There is no text/x-json mimetype and no +json mimetype out there. NetBeans uses 
x-json instead of json application/json so this is wrong anyway. But used for 
text/bower+x-json and text/package+x-json which is also wrong and not working 
in any kind of world outside of NetBeans.

There is no text/grunt+javascript, text/gulp+javascript out in the wild and you 
can guess, that this is also wrong, not working in any other world out of 
NetBeans. Those stuff will extend those file. Don't know why this is so 
difficult to understand. This is the NetBeans way not any other way.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

+html is not a MIME type anywhere, look on google.com. End of this discussion 
for me, sorry, not adding anymore to this one.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Of course the error doesn't exist anymore, because it is coming from the 
JSEmbeddingProvider, which is used for HTML, which is not used anymore here for 
text/vue.
But again, now I don't have HTML support in my Vue file, as I said. If +html is 
not possible, please point me to a tutorial how I can add CSS, HTML, JS as 
embedded languages into the vue file. Single vue file components supports HTML, 
Jade/Pug, JS/TS, CSS/SCSS/SASS/LESS so Vue files are similar to HTML files with 
enhancements.

> Please give a list of supported mimetypes. Thx.
With the + character.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

Please confirm that when you change the MIME type to not have +html, that the 
problem does not occur. Then close this issue and if you like open a new issue 
(better still, start a discussion on the mailing list) about your +html MIME 
type idea (which is nowhere used in the world AFAIK from Google).

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


There is no +xml too, it is text/whatever+xml. So my mimetype mixed with XML.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


The mimetype is mixed. It is text/html and now I mix it with vue -> 
text/vue+html. +javascript is available, +xml is available, +json is available. 
And if you run the application, you can see that the file got syntax 
highlighting, but the SOE occurs. It will be a mixed mimetype with vue and 
html. vue+xml will not work here.

Please give me a list of supported mimetypes. Thx.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> 

[jira] [Comment Edited] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz edited comment on NETBEANS-88 at 1/16/19 4:07 PM:
-

The mimetype is mixed. It is text/html and now I mix it with vue -> 
text/vue+html. +javascript is available, +xml is available, +x-json is 
available. And if you run the application, you can see that the file got syntax 
highlighting, but the SOE occurs. It will be a mixed mimetype with vue and 
html. vue+xml will not work here.

Please give me a list of supported mimetypes. Thx.


was (Author: chrizzly):
The mimetype is mixed. It is text/html and now I mix it with vue -> 
text/vue+html. +javascript is available, +xml is available, +json is available. 
And if you run the application, you can see that the file got syntax 
highlighting, but the SOE occurs. It will be a mixed mimetype with vue and 
html. vue+xml will not work here.

Please give me a list of supported mimetypes. Thx.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

There is no MIME type with +html.



> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

Problem is fixed when you don't use "text/vue+html" as MIME type.

That "+html" is the cause of the problem.

Just use "text/vue" (or "text/vue+xml" if you're dealing with an XML file.

The "+html" MIME type does not exist. Maybe the error could be handled more 
gracefully, but this is not a blocker -- the developer should simply follow 
official MIME type definitions.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


`+x-json` is also possible to extend a json file like `text/package+x-json`.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


We are dealing with a HTML file, thats it + Vue specific stuff.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Vue is a filetype with mixed HTML inside: 
https://vuejs.org/v2/guide/single-file-components.html. So it is still a HTML 
file with HTML, CSS and JS, but the biggest thing here is that the script 
section can be JS or TS and the style section can be CSS, SCSS, SASS or LESS. 
So here we have a mixed type, we need HTML with new Vue stuff. If we don't use 
+html we don't have syntax highlighting for everything in that file, which is 
not correct. And on the filetype wizard, you can create text/x-myformat or 
text/myformat+xml for XML and here I want to use HTML. There is no official 
list for that AFAIK. I need HTML CSS and JS inside of the Vue file type. 
`+javascript` is also possible. So we will extend HTML with vue here.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

If you can confirm the above, please make this MINOR or simply close it.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


This StackOverflow happens since I use NetBeans 8.2 I wanted to say that. 
Because this ticket I created was with using NetBeans 8.2 I KNOW that this 
issue will happen again when I delete my user dir, which doesn't make sense 
here, because it is not in my production instance, it is not working in a 
development instance, because it is in development. It is a StackOverflow 
inside of the code and it will not go away after cleaning my user dir. What is 
your real expectation?

It is module code, that I working on and when I run it, NetBeans will create a 
fresh new instance of NetBeans and with a new user dir. So it is fresh 
everytime I build/run it. The same happens, when I build/run this plugin 
(https://github.com/Zwaen91/vuejs-netbeans) It is exact the same code, running 
in a fresh new instance of NetBeans, because it is a module/project, I run it 
within from NetBeans into a new NetBeans instance. Don't stress yourself, 
please, only do the steps that I wrote above. Very easy to reproduce.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> 

[jira] [Updated] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-88:
---
Affects Version/s: 11.0

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Updated] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-88:
---
Priority: Blocker  (was: Critical)

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-1922) Netbeans not launching in the second execution

2019-01-16 Thread Flavius Stan (JIRA)


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

Flavius Stan commented on NETBEANS-1922:


More info

The issue only happens with the cover down, if I connect the macbook to the 
screens with the cover up ( so in total they are 3 screens), netbeans starts 
but if I try to launch it with the cover down, using only 2 screens, netbeans 
doesn't start.

> 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
>Assignee: Flavius Stan
>Priority: Blocker
>  Labels: Bug
> 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-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Done, please change if smth is not correct.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0, 11.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Blocker
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Thank you, will do so.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

Tried on Mac OSX with Apache NetBeans 10 and can reproduce something like this.

Can you mark this as a blocker for Apache NetBeans 11?

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

Not going to do anything with 8.2.

Please remove your user dir in Apache NetBeans 10 and reproduce from scratch, 
when you can do so, leave a comment here, and then I will try it.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> 

[jira] [Updated] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-88:
---
Environment: 
Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
NetBeans 8.2 Patch 2 - JDK 8.131

Added Enviroment.

Someone means someone who has more knowledge about that stuff, than me, doesn't 
matter who he/she is. Will ping that topic in the mailing list up again. Thx.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
> Environment: Windows 10 (64Bit), NetBeans 10.0 - JDK 10.0.2
> NetBeans 8.2 Patch 2 - JDK 8.131
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> 

[jira] [Updated] (NETBEANS-1939) Silent exception thrown during background scanning of projects

2019-01-16 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1939:
--
Description: The exception is always thrown on the same files during 
background scanning process. The java file related to the attached exception is 
included.  (was: The exception is always thrown on the same files during 
background scanning. The java file related to the attached exception is 
included.)

> Silent exception thrown during background scanning of projects
> --
>
> Key: NETBEANS-1939
> URL: https://issues.apache.org/jira/browse/NETBEANS-1939
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0
>Reporter: Petr Miksik
>Priority: Minor
>  Labels: Background, scanning
> Fix For: 8.2
>
> Attachments: SeqStepPanelRamp.java, exception.txt
>
>
> The exception is always thrown on the same files during background scanning 
> process. The java file related to the attached exception is included.



--
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-1939) Silent exception thrown during background scanning of projects

2019-01-16 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1939:
--
Description: The exception is always thrown on the same files during 
background scanning. The java file related to the attached exception is 
included.  (was: The exception is always thrown on the same files during 
background scanning.)

> Silent exception thrown during background scanning of projects
> --
>
> Key: NETBEANS-1939
> URL: https://issues.apache.org/jira/browse/NETBEANS-1939
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0
>Reporter: Petr Miksik
>Priority: Minor
>  Labels: Background, scanning
> Fix For: 8.2
>
> Attachments: SeqStepPanelRamp.java, exception.txt
>
>
> The exception is always thrown on the same files during background scanning. 
> The java file related to the attached exception is included.



--
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-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-88:
---
Affects Version/s: 10.0

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

Complete environment is required too please, then will try to reproduce.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-88:
---

"somone" is no one. The best thing to do is to open a new thread on the dev 
mailing list to discuss this.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2, 10.0
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


It would be great, if someone can have a look into this, because this 
preventing us from bringing Vue.js for example into NetBeans 11.

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> 

[jira] [Commented] (NETBEANS-88) java.lang.StackOverflowError for specific mimetype text/foo+html

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-88:


Explicit steps:

* Create a new filetype
* Doesn't matter as a 3rd-party-plugin or right inside of the NetBeans core
* Set mimetype: text/vue+html
* Set extension: vue
* Set an icon (Not needed)
* Create
* Run the plugin/module
* Open a project with vue files
* Open the vue file in the editor
* SOE is coming

> java.lang.StackOverflowError for specific mimetype text/foo+html
> 
>
> Key: NETBEANS-88
> URL: https://issues.apache.org/jira/browse/NETBEANS-88
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor, web - HTML Editor
>Affects Versions: 8.2
>Reporter: Christian Lenz
>Priority: Critical
>
> When I create a new filetype within a NetBeans module with this mimetype: 
> 'text/vue+html' or 'text/smth+html' for .vue extension or .smth extension, I 
> got this exception, after I open such filetype in the editor:
> {code}
> java.lang.StackOverflowError
>   at java.util.LinkedList.listIterator(LinkedList.java:867)
>   at java.util.AbstractList.listIterator(AbstractList.java:299)
>   at 
> java.util.AbstractSequentialList.iterator(AbstractSequentialList.java:239)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.invalidate(ResultIterator.java:119)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.access$100(ResultIterator.java:72)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator$MyAccessor.invalidate(ResultIterator.java:199)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
>   at 
> org.netbeans.modules.web.common.api.WebUtils.getResultIterator(WebUtils.java:244)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider$1.run(JsEmbeddingProvider.java:130)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:88)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
>   at 
> org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:127)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
>   at 
> 

[jira] [Created] (NETBEANS-1939) Silent exception thrown during background scanning of projects

2019-01-16 Thread Petr Miksik (JIRA)
Petr Miksik created NETBEANS-1939:
-

 Summary: Silent exception thrown during background scanning of 
projects
 Key: NETBEANS-1939
 URL: https://issues.apache.org/jira/browse/NETBEANS-1939
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0, 10.0
Reporter: Petr Miksik
 Fix For: 8.2
 Attachments: SeqStepPanelRamp.java, exception.txt

The exception is always thrown on the same files during background scanning.



--
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-1938) Dragging windows to rearrange them does not work properly

2019-01-16 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1938:
--

Can you make a little screencast please?

> Dragging windows to rearrange them does not work properly
> -
>
> Key: NETBEANS-1938
> URL: https://issues.apache.org/jira/browse/NETBEANS-1938
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0, 10.0
> Environment: Windows 7, Java 11.0.1, 
>Reporter: Jean-Simon LaRochelle
>Priority: Major
>  Labels: layout
>
> In Windows 7 when dragging Netbeans pane to rearrange them, the pane outline 
> showing where it will be placed does not match the actual result of the move. 
> For example because I have a wide screen I often work with two code editor 
> windows/pane side by side. Starting with Netbeans 9 this placement has been 
> very difficult to achieve because the window does not move to the outline 
> shown when dragging the window.



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