Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 52646200C7B for ; Fri, 5 May 2017 23:20:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 51047160BAA; Fri, 5 May 2017 21:20:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98CC0160BAF for ; Fri, 5 May 2017 23:20:09 +0200 (CEST) Received: (qmail 39053 invoked by uid 500); 5 May 2017 21:20:08 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 38930 invoked by uid 99); 5 May 2017 21:20:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2017 21:20:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4E6DF188A6E for ; Fri, 5 May 2017 21:20:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yNJ-CnLZSq34 for ; Fri, 5 May 2017 21:20:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8B4145F659 for ; Fri, 5 May 2017 21:20:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B754FE093C for ; Fri, 5 May 2017 21:20:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A67E021DED for ; Fri, 5 May 2017 21:20:04 +0000 (UTC) Date: Fri, 5 May 2017 21:20:04 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1423) New UI makes it impossible to add certificates to connections with certificate stores MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 05 May 2017 21:20:10 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998965#comment-15998965 ] Karl Wright commented on CONNECTORS-1423: ----------------------------------------- [~kishorekumar] Still blows up. If you want to try this it should be pretty easy to get hold of any X.509 cert and just try uploading it into the keystore following the instructions. In fact, I think *any* file will do to test the uploading. (You'll get an error, but it will be different). > New UI makes it impossible to add certificates to connections with certificate stores > ------------------------------------------------------------------------------------- > > Key: CONNECTORS-1423 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1423 > Project: ManifoldCF > Issue Type: Bug > Components: LiveLink connector, SharePoint connector, Web connector > Affects Versions: ManifoldCF 2.7 > Reporter: Karl Wright > Assignee: Kishore Kumar > Priority: Blocker > > (1) Create a Sharepoint repository connection > (2) Click on the Server tab > (3) Try to add a certificate by finding a valid cert and clicking the "Add" button > A 500 error is returned. The exception trace looks like this: > {code} > Caused by: java.lang.NullPointerException > at java.io.ByteArrayInputStream.(ByteArrayInputStream.java:106) > at org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointReposit > ory.processConfigurationPost(SharePointRepository.java:2359) > at org.apache.manifoldcf.core.interfaces.ConnectorFactory.processThisCon > figurationPost(ConnectorFactory.java:95) > at org.apache.manifoldcf.crawler.interfaces.RepositoryConnectorFactory.p > rocessConfigurationPost(RepositoryConnectorFactory.java:163) > at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:313) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper > .java:388) > {code} > It looks like the rendering flow is no longer the same, and therefore the certificate store is not loaded into the local variable that the processConfigurationPost() method is expecting to find it in. > The connector code can be rewritten for the connectors where this happens but frankly this will cause many of the connector UI's out there to break badly. Is there another way to address this? -- This message was sent by Atlassian JIRA (v6.3.15#6346)