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 A0C18200C6C for ; Fri, 5 May 2017 23:56:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B461160BAF; Fri, 5 May 2017 21:56:09 +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 E1165160BAA for ; Fri, 5 May 2017 23:56:08 +0200 (CEST) Received: (qmail 19472 invoked by uid 500); 5 May 2017 21:56: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 19459 invoked by uid 99); 5 May 2017 21:56: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:56: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 9AF78188A6E for ; Fri, 5 May 2017 21:56:07 +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 U2M00wF4Gsnc for ; Fri, 5 May 2017 21:56:06 +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 E79C45F567 for ; Fri, 5 May 2017 21:56:05 +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 45EA6E06CF for ; Fri, 5 May 2017 21:56: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 86D7921DEA for ; Fri, 5 May 2017 21:56:04 +0000 (UTC) Date: Fri, 5 May 2017 21:56: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:56:09 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999017#comment-15999017 ] Karl Wright commented on CONNECTORS-1423: ----------------------------------------- [~kishorekumar]: I was able to get it to work by switching browsers. But I couldn't figure out how to flush Chrome's cache other than shutting the browser down entirely and restarting. How do you make this happen? > 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 > Attachments: Sharepoint_Certificate.png, WebCrawler_Certificate_Tab.png > > > (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)