You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/01/18 21:44:12 UTC

[jira] [Comment Edited] (CONNECTORS-617) Simple report causes NPE under Derby

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

Karl Wright edited comment on CONNECTORS-617 at 1/18/13 8:44 PM:
-----------------------------------------------------------------

Apparently a null value is being passed to the regexp match value.  This happens only when null values are possible for the selected activities.

                
      was (Author: kwright@metacarta.com):
    Apparently a null value is being passed to the regexp match value.  This happens only when null values are possible for the selected activities.  The real bug is therefore in the UI.

                  
> Simple report causes NPE under Derby
> ------------------------------------
>
>                 Key: CONNECTORS-617
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-617
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework crawler agent
>    Affects Versions: ManifoldCF 1.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.1
>
>
> The trace is:
> {code}
> Caused by: org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: SQLException doing query (38000): The exception 'java.lang.NullPointerException' was thrown while evaluating an expression.
> 	at org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:717)
> 	at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:763)
> 	at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1430)
> 	at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
> 	at org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:186)
> 	at org.apache.manifoldcf.core.database.DBInterfaceDerby.performQuery(DBInterfaceDerby.java:993)
> ...
> Caused by: java.lang.NullPointerException
> 	at java.util.regex.Matcher.getTextLength(Matcher.java:1151)
> 	at java.util.regex.Matcher.reset(Matcher.java:308)
> 	at java.util.regex.Matcher.<init>(Matcher.java:228)
> 	at java.util.regex.Pattern.matcher(Pattern.java:905)
> 	at org.apache.manifoldcf.core.database.DBInterfaceDerby.caseInsensitiveRegularExpressionCompare(DBInterfaceDerby.java:1566)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira