java.lang.NullPointerException: consumer secret is null

davidcrowley.me | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    consumer secret is null

    at twitter4j.TwitterBaseImpl.setOAuthConsumer()
  2. Twitter4j
    TwitterBaseImpl.setOAuthConsumer
    1. twitter4j.TwitterBaseImpl.setOAuthConsumer(TwitterBaseImpl.java:250)
    1 frame
  3. com.cloudera.flume
    TwitterSource.start
    1. com.cloudera.flume.source.TwitterSource.start(TwitterSource.java:129)
    1 frame
  4. Flume
    LifecycleSupervisor$MonitorRunnable.run
    1. org.apache.flume.source.EventDrivenSourceRunner.start(EventDrivenSourceRunner.java:44)
    2. org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251)
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames