You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/02/08 17:34:43 UTC
[GitHub] [netbeans] mvorisek opened a new issue #3572: JS file cannot be parsed (has red flag)
mvorisek opened a new issue #3572:
URL: https://github.com/apache/netbeans/issues/3572
### Apache NetBeans version
Latest release
### What happened
The following two files are marked red in Netbeans with error:

### How to reproduce
_No response_
### Did this work correctly in an earlier version?
- [ ] This used to work!
### Operating System
any
### JDK
any
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] Chris2011 commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1037529851
Hey @matthiasblaesing unfortunately, it is not shown in the IDE log. I restarted NetBeans too to check whether I accidentally removed it but no. It just shows in the Actions Items and not in the notifications. Maybe running the master of NetBeans in debug mode and if NetBeans can handle this "pause on exception" that can help here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] Chris2011 commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1037529851
Hey @matthiasblaesing unfortunately, it is not shown in the IDE log. I restarted NetBeans too to check whether I accidentally removed it but no. It just shows in the Actions Items and not in the notifications. Maybe running the master of NetBeans in debug mode and if NetBeans can handle this "pause on exception" that can help here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] Chris2011 commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1036763749
I can also reproduce it on the api.service.js. Is looked like an error in the file but when I open the Action Items to see what errors NetBeans shows me, it is this strange error:
`Error | class com.oracle.js.parser.ParserContextModuleNode cannot be cast to class com.oracle.js.parser.Pars |`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1037024379
@Chris2011 could you please provide the full text - it should be available in the IDE log.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1038106355
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1038106355
I got it now and needed to use the debugger to get the full message. The issue can only be hit when javascript module parsing takes place. I think I have that solved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1033026503
I could reproduce the problem for the `vue.service.js` file. The issue is here the usage of an async import statement. This was added in ecmascript ECMAScript 11 - 2020 and the parser did not support that. I'm currently trying to add ecmascript 2022 support to the graaljs fork we are using and the JS modules in NetBeans.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] Chris2011 edited a comment on issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
Chris2011 edited a comment on issue #3572:
URL: https://github.com/apache/netbeans/issues/3572#issuecomment-1036763749
I can also reproduce it on the `api.service.js`. Is looked like an error in the file but when I open the Action Items to see what errors NetBeans shows me, it is this strange error:
`Error | class com.oracle.js.parser.ParserContextModuleNode cannot be cast to class com.oracle.js.parser.Pars |`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing closed issue #3572: JS file cannot be parsed (has red flag)
Posted by GitBox <gi...@apache.org>.
matthiasblaesing closed issue #3572:
URL: https://github.com/apache/netbeans/issues/3572
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists