| Summary: | [exceptions] NullPointerException during Requesting JavaScript AST from selection | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Victor Homyakov <vkhomyackov> | ||||||||
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | thomas.joiner | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Victor Homyakov
Created attachment 204499 [details]
Exception info from Error Log
Victor, you've increased the severity. Does that mean you're reliably able to reproduce it? (In reply to comment #2) > Does that mean you're reliably able to reproduce it? No. But it happens more and more often - I should constantly close popups while working with JavaScript sources. Created attachment 205566 [details]
Error log on windows
I am getting this exception as well.
Created attachment 205568 [details]
Javascript file to reproduce the error
This file is able to cause the error to occur.
Around 80% of the time if you place the cursor at the end of line 4, it will throw the exception. If it doesn't throw it, then it will 100% of the time if I dirty the buffer (even adding a space and then deleting it).
(In reply to comment #5) > This file is able to cause the error to occur. Agree. But only in JavaScript project (Project Properties - Project Facets - JavaScript is checked). In usual Java project this script causes no errors. (In reply to comment #6) > (In reply to comment #5) > > This file is able to cause the error to occur. > Agree. But only in JavaScript project (Project Properties - Project Facets - > JavaScript is checked). In usual Java project this script causes no errors. Ah, I hadn't tested it out in a plain Javascript project. (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > This file is able to cause the error to occur. > > Agree. But only in JavaScript project (Project Properties - Project Facets - > > JavaScript is checked). In usual Java project this script causes no errors. > > Ah, I hadn't tested it out in a plain Javascript project. In a plain Java project, sorry. *** This bug has been marked as a duplicate of bug 359005 *** |