[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dtp] Re: Could not open the editor: Editor could not be initialized.
|
Glad it was an easy fix! :)
"Lee Kon Keong" <konkeong@xxxxxxxxxxxxxx> wrote in message
news:g68kkg$tn0$1@xxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxx> wrote in message
>> news:g6603q$faf$1@xxxxxxxxxxxxxxxxxxxx
>>> 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.DefaultCipherProvider.loadKey(DefaultCipherProvider.java:66)
>>> at
>>> org.eclipse.datatools.connectivity.internal.security.DefaultCipherProvider.createDecryptionCipher(DefaultCipherProvider.java:48)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfileMgmt.loadCPs(ConnectionProfileMgmt.java:749)
>>> at
>>> org.eclipse.datatools.connectivity.internal.ConnectionProfileMgmt.loadCPs(ConnectionProfileMgmt.java:489)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileManager.loadProfiles(InternalProfileManager.java:936)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileManager.getProfiles(InternalProfileManager.java:135)
>>> at
>>> org.eclipse.datatools.connectivity.internal.InternalProfileManager.getProfileByName(InternalProfileManager.java:210)
>>> at
>>> org.eclipse.datatools.connectivity.ProfileManager.getProfileByName(ProfileManager.java:96)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnectionInfo.getConnectionProfile(SQLEditorConnectionInfo.java:106)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnectionInfo.getSharedConnection(SQLEditorConnectionInfo.java:229)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnectionInfo.isConnected(SQLEditorConnectionInfo.java:252)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditorConnectionInfo.getName(SQLEditorConnectionInfo.java:214)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.refreshConnectionStatus(SQLEditor.java:1726)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditor.refreshConnectionStatus(SQLScrapbookEditor.java:264)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.doSetInput(SQLEditor.java:919)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditor.doSetInput(SQLScrapbookEditor.java:173)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3025)
>>> at
>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)
>>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
>>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>>> at
>>> org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2483)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3043)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3070)
>>> at
>>> org.eclipse.datatools.sqltools.sqleditor.SQLEditor.init(SQLEditor.java:544)
>>> at
>>> org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditor.init(SQLScrapbookEditor.java:128)
>>> at
>>> org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
>>> at
>>> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
>>> at
>>> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
>>> at
>>> org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410)
>>> at
>>> org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
>>> at
>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
>>> at
>>> org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
>>> at
>>> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java: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:2198)
>>> 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(Workbench.java:488)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:382)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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
>>