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

Bug 336445

Summary: [exceptions] intentionally not implemented pop up when block editing JavaScript in HTML
Product: [WebTools] JSDT Reporter: Philippe Marschall <philippe.marschall>
Component: WebAssignee: Project Inbox <jsdt.web-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: Future   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Philippe Marschall CLA 2011-02-06 04:40:23 EST
What steps will reproduce the problem?
1. Create an HTML file with JavaScript in the <head>
2. Create a function

function f() {
  var x = 1;
  var y= 2;
}

3. Put the cursor after x
4. switch to block mode
5. to a line down so the cursor is after x and after y
6. type something
7. an error pop up



-- Error Details --
Date: Sun Feb 06 10:14:41 CET 2011
Message: An internal error occurred during: "JavaScript translation for : /titrakk-service-remoting/src/main/webapp/index.html".
Severity: Error
Product: Eclipse SDK 3.7.0.v201101272034 (org.eclipse.sdk.ide)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=I20110127-2034
java.version=1.6.0_22
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/marschall/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/marschall/.eclipse_keyring -showlocation


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: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)
Comment 1 Philippe Marschall CLA 2011-02-06 04:57:43 EST
This is with a Mylyn task activated.
Comment 2 Nitin Dahyabhai CLA 2011-02-21 01:17:17 EST
And which build?  We haven't shipped 3.3 itself, yet.
Comment 3 Philippe Marschall CLA 2011-02-27 09:18:39 EST
Eclipse Java EE Developer Tools

Version: 3.3.0.v201008062100-7b7IHsyFSK2WCyUz0B1kvyUYCPoM
Build id: 20110106042422

JavaScript Development Tools

Version: 1.3.0.v201101270151-7F78FUHFBBoPbSV-jGYxuY
Build id: 20110127064115

Maybe a milestone earlier but I think this were the versions.
Comment 4 Nitin Dahyabhai CLA 2011-04-25 10:24:06 EDT
(In reply to comment #1)
> This is with a Mylyn task activated.

Does it happen without a Mylyn Task?
Comment 5 Philippe Marschall CLA 2011-04-26 14:11:03 EDT
No, so far I have only had it with an active Mylyn task.