This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269336 - java.util.NoSuchElementException at java.util.Scanner.throwFor
Summary: java.util.NoSuchElementException at java.util.Scanner.throwFor
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 15:16 UTC by mdshaque
Modified: 2016-12-15 10:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208543


Attachments
stacktrace (6.81 KB, text/plain)
2016-12-14 15:16 UTC, mdshaque
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mdshaque 2016-12-14 15:16:03 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Windows 8.1

User Comments:
GUEST: Just opening a project in NetBeans  - mostly HTML, some JS and PHP

GUEST: Parsing existing project

GUEST: Aw I am sorry guys, I have no idea what i was doing. :/ But perhaps this error will help you anyway. 

I'll try and be more observant before things like this happen but honestly Netbeans works so well for me I'm all focused on the coding instead of what's happening around it. Thanks so much.

GUEST: Just immediately after installation

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: Opening a new project from existing sources in NetBeans 8.1 on MacOS for the first time,

mdshaque: some hackers modified in the applications as a result all the modules not working properly. You have to digdown. I need your kind assistence.

GUEST: <Please provide a description of the problem or the steps to reproduce>




Stacktrace: 
java.util.NoSuchElementException
   at java.util.Scanner.throwFor(Scanner.java:862)
   at java.util.Scanner.next(Scanner.java:1371)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.extractJsEmbeddings(JsEmbeddingProvider.java:352)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.handleScript(JsEmbeddingProvider.java:241)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.process(JsEmbeddingProvider.java:193)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.access$100(JsEmbeddingProvider.java:80)
Comment 1 mdshaque 2016-12-14 15:16:05 UTC
Created attachment 163235 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-12-15 10:12:51 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=208543