Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.0-M14
-
None
-
Windows 10.
Zulu Java 11, and Zulu Java 8
Description
Connecting to eDirectory 9.1 with Java 8 (Azul Zulu Java) works as expected. But if Java11 is first in your path. then parsing a certificate fails with the following error. Caused by: java.io.IOException: Invalid BER/DER data (too huge?)
eclipse.buildId=unknowneclipse.buildId=unknownjava.version=11.0.5java.vendor=Azul Systems, Inc.BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_USFramework arguments: /studio-rcp/resources/icons/linux/studio.xpmCommand-line arguments: -os win32 -ws win32 -arch x86_64 /studio-rcp/resources/icons/linux/studio.xpm
org.apache.directory.studio.valueeditorsErrorThu Nov 21 15:27:20 CST 2019Can't parse certificate:
java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Invalid BER/DER data (too huge?) at java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:115) at java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355) at org.apache.directory.studio.valueeditors.certificate.CertificateDialog.generateCertificate(CertificateDialog.java:278) at org.apache.directory.studio.valueeditors.certificate.CertificateDialog.updateInput(CertificateDialog.java:212) at org.apache.directory.studio.valueeditors.certificate.CertificateDialog.createDialogArea(CertificateDialog.java:196) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096) at org.eclipse.jface.window.Window.open(Window.java:783) at org.apache.directory.studio.valueeditors.certificate.CertificateValueEditor.openDialog(CertificateValueEditor.java:53) at org.apache.directory.studio.valueeditors.AbstractDialogValueEditor.activate(AbstractDialogValueEditor.java:162) at org.eclipse.jface.viewers.CellEditor.activate(CellEditor.java:895) at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:199) at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:422) at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:677) at org.eclipse.jface.viewers.ColumnViewer.editElement(ColumnViewer.java:423) at org.eclipse.jface.viewers.TreeViewer.editElement(TreeViewer.java:1106) at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.activateEditor(AbstractOpenEditorAction.java:140) at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.run(AbstractOpenEditorAction.java:111) at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenBestEditorAction.run(OpenBestEditorAction.java:212) at org.apache.directory.studio.ldapbrowser.common.actions.proxy.BrowserActionProxy.run(BrowserActionProxy.java:260) at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenDefaultEditorAction.run(OpenDefaultEditorAction.java:125) at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.EntryEditorWidgetUniversalListener$1.widgetDefaultSelected(EntryEditorWidgetUniversalListener.java:94) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:120) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.apache.directory.studio.Application.start(Application.java:51) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592) at org.eclipse.equinox.launcher.Main.run(Main.java:1498)Caused by: java.io.IOException: Invalid BER/DER data (too huge?) at java.base/sun.security.provider.X509Factory.readBERInternal(X509Factory.java:761) at java.base/sun.security.provider.X509Factory.readOneBlock(X509Factory.java:557) at java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:99) ... 49 more
Attachments
Attachments
Issue Links
- duplicates
-
DIRSTUDIO-1211 UserCertificate attribute shown as Invalid Certificate if "Apache... Client API" is used
- Closed