Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Problem with Javascript editor in IDz 14.1.3.1

270005VR10 gravatar image
Question by Eric Kung  (1) | Jul 02 at 12:58 AM idz

I have this problem since I upgraded RDz9.5 to IDz14.1.3

Whenever I open a javascript file (with .js extension), it fails with error message "Editor could not be initialised"

Anyone know what could be the problem ?

Following is exception stack trace java.lang.NoClassDefFoundError: jdk.nashorn.internal.runtime.ECMAException at org.eclipse.wst.jsdt.core.dom.ASTParser.createAST(Unknown Source) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(Unknown Source) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Unknown Source) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(Unknown Source) at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(Unknown Source) at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(Unknown Source) at org.eclipse.wst.jsdt.internal.core.JavaElement.getChildren(Unknown Source) at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getSourceChildren(Unknown Source) at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(Unknown Source) at org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorContentProvider.getChildren(Unknown Source) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(Unknown Source) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(Unknown Source) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(Unknown Source) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$1.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(Unknown Source) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(Unknown Source) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(Unknown Source) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer$$Lambda$59.000000001A25F170.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(Unknown Source) at org.eclipse.jface.viewers.TreeViewer.createChildren(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(Unknown Source) at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(Unknown Source) at org.eclipse.jface.viewers.AbstractTreeViewer$3.treeExpanded(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Tree.wmNotifyChild(Unknown Source) at org.eclipse.swt.widgets.Control.wmNotify(Unknown Source) at org.eclipse.swt.widgets.Composite.wmNotify(Unknown Source) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(Unknown Source) at org.eclipse.swt.widgets.Tree.callWindowProc(Unknown Source) at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Tree.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Unknown Source) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Unknown Source) at org.eclipse.ui.internal.Workbench$5.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source) at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source) at org.eclipse.equinox.launcher.Main.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: jdk.nashorn.internal.runtime.ECMAException cannot be found by org.eclipse.wst.jsdt.core_2.0.200.v201612211424 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Unknown Source) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Unknown Source) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Unknown Source) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 73 more

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

3 answers

  • Sort: 
060001RCCT gravatar image

Answer by walexand (91) | Jul 09 at 05:17 AM

Hi Eric, I have not tried this myself but someone else told me the following may help solve the issue you described.

Edit the Eclipse configuration/config.ini file as follows:

Change:

osgi.framework.extensions=reference\:file\:com.ibm.cds_3.0.1.201410101357.jar,reference\:file\:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar

To:

osgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension,reference\:file\:com.ibm.cds_3.0.1.201410101357.jar,reference\:file\:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar

Comment
Kung Eric

People who like this

  1   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
060001CD5K gravatar image Kung Eric (1)   Jul 10 at 09:17 PM 0
Share

Hi, walexand. brilliant, after making the config.ini change, it works like a treat !! Thanks.

120000FY8G gravatar image

Answer by Olivier Gauneau (1139) | Jul 02 at 02:40 AM

Hello Eric,

Can you try with the latest IDz 14.1.7?

I can open the javacript editor in this version. I don't have a 14.1.3 to try...

Best regards,

Olivier

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
060001CD5K gravatar image

Answer by Kung Eric (1) | Jul 05 at 12:11 AM

Hi Olivier We have other team members with IDz14.1.3 who have no problems in using Javascript editor, so there must be some problem with my setup. I have to find a right time to upgrade if there is no other solution. Thanks for your suggestion.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

179 people are following this question.

Answers

Answers & comments

Related questions

Why does a RSEF1002 error occurs when transfer fails for a binary file from z/OS USS file system to RDz client workspace 3 Answers

What IDz V14 ENV Parm Determines How Long Audit Log Data is Kept? 2 Answers

java: FSUM7351 not found 2 Answers

where to download the IBM packaging Utilty 1.9.1 1 Answer

What ciphers the V85 client would use to enable it in 9.5.1 host? 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges