Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Could not open the editor: Editor could not be initialized.
Could not open the editor: Editor could not be initialized. [message #47558] Wed, 23 July 2008 01:04 Go to next message
konkeong is currently offline konkeongFriend
Messages: 13
Registered: July 2009
Junior Member
Dear All,

Does anyone encountered this problem?

I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
The Data Tools Platform Connectivity is
1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.

When I open a file of extension "*.sql", it open in the "SQL File
Editor" but with the error message and stack trace below.

Could not open the editor: Editor could not be initialized.

java.lang.NoClassDefFoundError
at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
at
org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
at
org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
at
org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
at
org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
at
org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
at
org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
at
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
at
org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
at
org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
at
org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at
org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)



Thanks
konkeong
Re: Could not open the editor: Editor could not be initialized. [message #47592 is a reply to message #47558] Wed, 23 July 2008 13:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Can you provide a series of steps to reproduce this issue from a clean
environment?

"Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
news:g6603q$faf$1@build.eclipse.org...
> Dear All,
>
> Does anyone encountered this problem?
>
> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
> The Data Tools Platform Connectivity is
> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>
> When I open a file of extension "*.sql", it open in the "SQL File
> Editor" but with the error message and stack trace below.
>
> Could not open the editor: Editor could not be initialized.
>
> java.lang.NoClassDefFoundError
> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
> at
> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
> at
> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
> at
> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> 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(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
>
>
> Thanks
> konkeong
Re: Could not open the editor: Editor could not be initialized. [message #47650 is a reply to message #47592] Thu, 24 July 2008 01:07 Go to previous messageGo to next message
konkeong is currently offline konkeongFriend
Messages: 13
Registered: July 2009
Junior Member
My mistake.

I was trying to overwrite the "local_policy.jar" and
"US_export_policy.jar" in my
"C:\Program Files\Java\jre1.5.0_09\lib\security" directory with
"enhanced" copy, so that I can do AES more than 128 bit encryption.

Apparently, I just rename the above 2 jar files to something else, and
forgot to copy the new jar files in.

Essentially, my JRE is missing those 2 jar files.

After I put back in those 2 jar files, there is no more error message.
Everything works fine.


Brian Fitzpatrick wrote:
> Can you provide a series of steps to reproduce this issue from a clean
> environment?
>
> "Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
> news:g6603q$faf$1@build.eclipse.org...
>> Dear All,
>>
>> Does anyone encountered this problem?
>>
>> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
>> The Data Tools Platform Connectivity is
>> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>>
>> When I open a file of extension "*.sql", it open in the "SQL File
>> Editor" but with the error message and stack trace below.
>>
>> Could not open the editor: Editor could not be initialized.
>>
>> java.lang.NoClassDefFoundError
>> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
>> at
>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
>> at
>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
>> at
>> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
>> at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
>> at
>> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
>> at
>> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>> at
>> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
>> at
>> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
>> at
>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at
>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>> at
>> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
>> at
>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>> 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(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>
>>
>>
>> Thanks
>> konkeong
>
>
Re: Could not open the editor: Editor could not be initialized. [message #47717 is a reply to message #47650] Thu, 24 July 2008 13:53 Go to previous message
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Glad it was an easy fix! :)

"Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
news:g68kkg$tn0$1@build.eclipse.org...
> My mistake.
>
> I was trying to overwrite the "local_policy.jar" and
> "US_export_policy.jar" in my
> "C:\Program Files\Java\jre1.5.0_09\lib\security" directory with "enhanced"
> copy, so that I can do AES more than 128 bit encryption.
>
> Apparently, I just rename the above 2 jar files to something else, and
> forgot to copy the new jar files in.
>
> Essentially, my JRE is missing those 2 jar files.
>
> After I put back in those 2 jar files, there is no more error message.
> Everything works fine.
>
>
> Brian Fitzpatrick wrote:
>> Can you provide a series of steps to reproduce this issue from a clean
>> environment?
>>
>> "Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
>> news:g6603q$faf$1@build.eclipse.org...
>>> Dear All,
>>>
>>> Does anyone encountered this problem?
>>>
>>> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
>>> The Data Tools Platform Connectivity is
>>> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>>>
>>> When I open a file of extension "*.sql", it open in the "SQL File
>>> Editor" but with the error message and stack trace below.
>>>
>>> Could not open the editor: Editor could not be initialized.
>>>
>>> java.lang.NoClassDefFoundError
>>> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
>>> at
>>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
>>> at
>>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
>>> at
>>> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
>>> at
>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
>>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
>>> at
>>> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>> at
>>> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>>> at
>>> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
>>> at
>>> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>>> at
>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>>> at
>>> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>> 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(Main.java: 549)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>>
>>>
>>>
>>> Thanks
>>> konkeong
>>
Re: Could not open the editor: Editor could not be initialized. [message #592187 is a reply to message #47558] Wed, 23 July 2008 13:19 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Can you provide a series of steps to reproduce this issue from a clean
environment?

"Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
news:g6603q$faf$1@build.eclipse.org...
> Dear All,
>
> Does anyone encountered this problem?
>
> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
> The Data Tools Platform Connectivity is
> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>
> When I open a file of extension "*.sql", it open in the "SQL File
> Editor" but with the error message and stack trace below.
>
> Could not open the editor: Editor could not be initialized.
>
> java.lang.NoClassDefFoundError
> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
> at
> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
> at
> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
> at
> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
> at
> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
> at
> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
> at
> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
> at
> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> 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(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
>
>
> Thanks
> konkeong
Re: Could not open the editor: Editor could not be initialized. [message #592202 is a reply to message #47592] Thu, 24 July 2008 01:07 Go to previous message
konkeong is currently offline konkeongFriend
Messages: 13
Registered: July 2009
Junior Member
My mistake.

I was trying to overwrite the "local_policy.jar" and
"US_export_policy.jar" in my
"C:\Program Files\Java\jre1.5.0_09\lib\security" directory with
"enhanced" copy, so that I can do AES more than 128 bit encryption.

Apparently, I just rename the above 2 jar files to something else, and
forgot to copy the new jar files in.

Essentially, my JRE is missing those 2 jar files.

After I put back in those 2 jar files, there is no more error message.
Everything works fine.


Brian Fitzpatrick wrote:
> Can you provide a series of steps to reproduce this issue from a clean
> environment?
>
> "Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
> news:g6603q$faf$1@build.eclipse.org...
>> Dear All,
>>
>> Does anyone encountered this problem?
>>
>> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
>> The Data Tools Platform Connectivity is
>> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>>
>> When I open a file of extension "*.sql", it open in the "SQL File
>> Editor" but with the error message and stack trace below.
>>
>> Could not open the editor: Editor could not be initialized.
>>
>> java.lang.NoClassDefFoundError
>> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
>> at
>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
>> at
>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
>> at
>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
>> at
>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
>> at
>> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
>> at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
>> at
>> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
>> at
>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
>> at
>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
>> at
>> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>> at
>> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>> at
>> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
>> at
>> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
>> at
>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at
>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>> at
>> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
>> at
>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>> 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(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>
>>
>>
>> Thanks
>> konkeong
>
>
Re: Could not open the editor: Editor could not be initialized. [message #592234 is a reply to message #47650] Thu, 24 July 2008 13:53 Go to previous message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Glad it was an easy fix! :)

"Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
news:g68kkg$tn0$1@build.eclipse.org...
> My mistake.
>
> I was trying to overwrite the "local_policy.jar" and
> "US_export_policy.jar" in my
> "C:\Program Files\Java\jre1.5.0_09\lib\security" directory with "enhanced"
> copy, so that I can do AES more than 128 bit encryption.
>
> Apparently, I just rename the above 2 jar files to something else, and
> forgot to copy the new jar files in.
>
> Essentially, my JRE is missing those 2 jar files.
>
> After I put back in those 2 jar files, there is no more error message.
> Everything works fine.
>
>
> Brian Fitzpatrick wrote:
>> Can you provide a series of steps to reproduce this issue from a clean
>> environment?
>>
>> "Lee Kon Keong" <konkeong@uberfusion.com> wrote in message
>> news:g6603q$faf$1@build.eclipse.org...
>>> Dear All,
>>>
>>> Does anyone encountered this problem?
>>>
>>> I am using Ganymede (3.4) on windows xp sp 3 with JDK 1.5.0_09.
>>> The Data Tools Platform Connectivity is
>>> 1.6.0.v200805151245-7_70Dn-QXuj8_GoX7JfPiBEG.
>>>
>>> When I open a file of extension "*.sql", it open in the "SQL File
>>> Editor" but with the error message and stack trace below.
>>>
>>> Could not open the editor: Editor could not be initialized.
>>>
>>> java.lang.NoClassDefFoundError
>>> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
>>> at
>>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.loadKey(DefaultCipherProvider.java:66)
>>> at
>>> org.eclipse.datatools.connectivity.internal.security.Default CipherProvider.createDecryptionCipher(DefaultCipherProvider. java:48)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:749)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfil eMgmt.loadCPs(ConnectionProfileMgmt.java:489)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.loadProfiles(InternalProfileManager.java:936)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfiles(InternalProfileManager.java:135)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileM anager.getProfileByName(InternalProfileManager.java:210)
>>> at
>>> org.eclipse.datatools.connectivity.ProfileManager.getProfile ByName(ProfileManager.java:96)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getConnectionProfile(SQLEditorConnectionInfo.java:106)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getSharedConnection(SQLEditorConnectionInfo.java:229)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.isConnected(SQLEditorConnectionInfo.java:252)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnection Info.getName(SQLEditorConnectionInfo.java:214)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshCo nnectionStatus(SQLEditor.java:1726)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEdito r.java:264)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInpu t(SQLEditor.java:919)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3025)
>>> at
>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:446)
>>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:354)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2483)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3043)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3070)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLE ditor.java:544)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor. SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
>>> at
>>> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:799)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>>> at
>>> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
>>> at
>>> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1410)
>>> at
>>> org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:944)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>>> at
>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>>> at
>>> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>> 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(Main.java: 549)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>>
>>>
>>>
>>> Thanks
>>> konkeong
>>
Previous Topic:ODA Plugin Project Structure / References / Deployment
Next Topic:[ODA Ecore] Integration and Deployment Questions
Goto Forum:
  


Current Time: Thu Dec 26 12:04:07 GMT 2024

Powered by FUDForum. Page generated in 0.02909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top