manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1524) Documentum Connector fails with NullPointerException
Date Tue, 02 Oct 2018 09:29:00 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635195#comment-16635195
] 

James Thomas commented on CONNECTORS-1524:
------------------------------------------

I have found another issue that manifests across Java versions.

If I start MCF 2.11 and Documentum processes using Java 9 or later I find that attempting
to view or edit a Documentum connector will result in this error into the console:
{noformat}
3 [RMI TCP Connection(2)-127.0.0.1] ERROR com.documentum.fc.common.DfPreferences  - [DFC_PREFERENCE_BAD_VALUE]
Bad value for preference "dfc.date_format", value="M/d/yyyy, h:mm:ss a"
com.documentum.fc.common.DfException: Illegal syntax found in the date format 'M/d/yyyy, h:mm:ss
a'. The default localized short date format will be used.

{noformat}
I can work around this by adding this line to my dfc.properties:
{noformat}
 dfc.date_format=yyyy.MM.dd HH:mm:s{noformat}
I don't see this issue with Java(TM) SE Runtime Environment (build 1.8.0_181-b13)

> Documentum Connector fails with NullPointerException
> ----------------------------------------------------
>
>                 Key: CONNECTORS-1524
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1524
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Documentum connector
>    Affects Versions: ManifoldCF 2.10
>            Reporter: James Thomas
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.11
>
>         Attachments: 500_server_error.txt
>
>
> I am running ManifoldCF 2.10 patched for issues 1512 and 1517.
> I recently upgraded Java to 10.0.2 (for another server on the same machine) and find
that when I try to create jobs using the Documentum connector, clicking on (e.g.) the Paths
tab will give this error dialog:
> {code:java}
> HTTP ERROR 500
> Problem accessing /mcf-crawler-ui/execute.jsp. Reason:
>     Server Error
> Caused by:
> org.apache.jasper.JasperException: An exception occurred processing JSP page /execute.jsp
at line 1542
> 1539:           {
> 1540:             threadContext.save("JobObject",job);
> 1541: %>
> 1542:             <jsp:forward page="editjob.jsp"/>
> 1543: <%
> 1544:           }
> 1545:           else if (op.equals("Save")){code}
> There's a lot of stack trace (which I'll attach) but it includes some ManifoldCF calls:
>  
> {code:java}
> Caused by: java.lang.RuntimeException: Unexpected exception type: java.lang.NullPointerException:
null
>     at org.apache.manifoldcf.crawler.connectors.DCTM.DCTM$GetSessionThread.finishUp(DCTM.java:117)
>     at org.apache.manifoldcf.crawler.connectors.DCTM.DCTM.getSession(DCTM.java:173)
> ...
> Caused by: java.lang.NullPointerException
>     at com.documentum.fc.client.impl.docbase.DocbaseDateFormat.getSeparator(DocbaseDateFormat.java:119)
>     at ...
> {code}
> If I revert to OpenJDK 1.8.0_171 (the version I upgraded from) the issue is not seen.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message