[
https://issues.apache.org/jira/browse/CASSANDRA-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729900#comment-13729900
]
Brandon Williams commented on CASSANDRA-5826:
---------------------------------------------
This actually doesn't help since the NPE is occurring slightly sooner:
{noformat}
Caused by: java.lang.NullPointerException
at
org.apache.cassandra.utils.FBUtilities.cassandraTriggerDir(FBUtilities.java:350)
at
org.apache.cassandra.triggers.TriggerExecutor.reloadClasses(TriggerExecutor.java:58)
at
org.apache.cassandra.triggers.TriggerExecutor.<init>(TriggerExecutor.java:49)
at
org.apache.cassandra.triggers.TriggerExecutor.<clinit>(TriggerExecutor.java:41)
... 17 more
{noformat}
> Fix trigger directory detection code
> ------------------------------------
>
> Key: CASSANDRA-5826
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5826
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0 beta 2
> Environment: OS X
> Reporter: Aleksey Yeschenko
> Assignee: Vijay
> Labels: triggers
> Fix For: 2.0 rc1
>
> Attachments: 0001-5826.patch, 0001-handle-trigger-non-existance.patch
>
>
> At least when building from source, Cassandra determines the trigger
> directory wrong. C* calculates the trigger directory as 'build/triggers'
> instead of 'triggers'.
> FBUtilities.cassandraHomeDir() is to blame, and should be replaced with
> something more robust.
--
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