Bug 495248 - NPE when trying to display certificates in Apache Directory Studio
Summary: NPE when trying to display certificates in Apache Directory Studio
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-06-02 04:29 EDT by Piotr Tarnowski CLA
Modified: 2016-06-04 22:23 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot with bug (86.76 KB, image/jpeg)
2016-06-02 04:29 EDT, Piotr Tarnowski CLA
no flags Details
Log file from Eclipse (58.88 KB, text/plain)
2016-06-03 06:54 EDT, Piotr Tarnowski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Tarnowski CLA 2016-06-02 04:29:00 EDT
Created attachment 262184 [details]
Screenshot with bug

Since Eclipse Mars 4.5.2 I cannot connect to LDAP server with Eclipse Apache Directory Studio Plugin in Eclipse. When I'm checking Network parameters it's OK, Authentication is OK, but TLS/SSL connection cannot be established. When I'm trying to remove certificates there is Null Pointer Exception Error like on attached screenshot.
Comment 1 Brian de Alwis CLA 2016-06-02 11:28:49 EDT
Could you please attach your .log file?

   https://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F
Comment 2 Piotr Tarnowski CLA 2016-06-03 06:54:20 EDT
Created attachment 262216 [details]
Log file from Eclipse

Requested log file
Comment 3 Brian de Alwis CLA 2016-06-03 12:20:37 EDT
Sorry to bounce you elsewhere, but this is a problem with Apache Studio.  Please file a bug report with them.

!ENTRY org.eclipse.jface 4 2 2016-04-20 09:08:14.010
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
	at org.apache.directory.studio.connection.ui.widgets.CertificateListComposite$1.selectionChanged(CertificateListComposite.java:114)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1228)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1257)
Comment 4 Piotr Tarnowski CLA 2016-06-04 10:51:14 EDT
Yes, I thought about that, but last time when I've search for solution, I've found that this is not ADS but Eclipse Bug and will be patched in next release.
Anyway, if you checked, and claims it's not Eclipse, I will try to file bug in ADS. Thank you.