Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353618

Summary: [translation] An internal error occurred during: "JavaScript translation for"
Product: [WebTools] JSDT Reporter: Colton <neoeinstein7>
Component: WebAssignee: Project Inbox <jsdt.web-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3 CC: glide3, patric, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Error message screenshot none

Description Colton CLA 2011-08-02 12:53:05 EDT
What steps will reproduce the problem?
1. Typing anything.. occurs every 2 to 3 characters including deleting or backspacing.
2. Difference between this jsp file and another that has javascript, but does not error out, "is the amount of lines". This file contains around 6100 lines while the one that does not produce this error contains around 700 lines.
3. 


-- Error Details --
Date: Tue Aug 02 12:38:02 EDT 2011
Message: An internal error occurred during: "JavaScript translation for : /Wireless/Login.jsp".
Severity: Error
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=I20110613-1736
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Exception Stack Trace:
org.eclipse.wst.sse.core.internal.NotImplementedException: intentionally not implemented
	at org.eclipse.wst.sse.core.internal.text.MinimalDocument.getLineOfOffset(MinimalDocument.java:216)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.translateJSNode(JsTranslator.java:572)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.translate(JsTranslator.java:319)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.reset(JsTranslator.java:273)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.run(JsTranslator.java:704)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



-- Configuration Details --
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B
Comment 1 Rory S CLA 2011-08-22 06:07:04 EDT
Created attachment 201903 [details]
Error message screenshot
Comment 2 Rory S CLA 2011-08-22 06:15:18 EDT
Hi

Same problem this side.

Running: 
* Windows 7 Ultimate
* eclipse-jee-helios-SR2_64bit (installed on: 2011-06-14)
* fresh workspace from scratch for all my existing projects.

Received the ATTACHED message/screenshot after typing jsp comments.

Have also noticed major weirdness in my eclipse in the last 3 or so days. Red lines for javascript code that doesn't make sense, sometimes the red underlines don't even underline the relevant problem.

Only fixes / solutions for problem is to restart eclipse (doesn't always help), or sometimes "select all" text in file, "cut", write some junk, "save" file, "select all" again, "paste" old code.
The problem has not shown is ugly head this mornings restart of eclipse.

Thanks
Rory
Comment 3 Patric Rufflar CLA 2011-12-23 08:28:04 EST
Same error here:

org.eclipse.wst.sse.core.internal.NotImplementedException: intentionally not implemented
	at org.eclipse.wst.sse.core.internal.text.MinimalDocument.getLineOfOffset(MinimalDocument.java:216)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.translateJSNode(JsTranslator.java:638)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.translate(JsTranslator.java:334)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.reset(JsTranslator.java:288)
	at org.eclipse.wst.jsdt.web.core.javascript.JsTranslator.run(JsTranslator.java:770)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)