java.lang.IllegalStateException: Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.

GitHub | xybCoder | 6 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.
  1. 0

    GitHub comment 779#254475497

    GitHub | 6 months ago | xybCoder
    java.lang.IllegalStateException: Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
  2. 0

    GitHub comment 8#260898372

    GitHub | 5 months ago | jp1017
    java.lang.IllegalStateException: Required view 'tv_hello' with ID 2131492994 for field 'mTextView' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
  3. 0

    GitHub comment 448#269893707

    GitHub | 4 months ago | HimanshuS01
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.fossasia.susi.ai/org.fossasia.susi.ai.activities.MainActivity}: java.lang.IllegalStateException: Required view 'date' with ID 2131624073 for field 'dates' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalStateException on Alertdialog and ButterKnife

    Stack Overflow | 2 months ago | sayres kabir
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.manifest.simplefiledownloadmanager/com.example.manifest.simplefiledownloadmanager.MainActivity}: java.lang.IllegalStateException: Required view 'editText_add_url' with ID 2131558531 for field 'editTextAddURL' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
  6. 0

    Rendering Problems: The following classes could not be instantiated: com.google.android.youtube.player.YoutubePlayerView

    Stack Overflow | 3 years ago | user3202058
    java.lang.IllegalStateException: A YouTubePlayerView can only be created with an Activity which extends YouTubeBaseActivity as its context. at com.google.android.youtube.player.YouTubePlayerView.<init> at com.google.android.youtube.player.YouTubePlayerView.<init>

  1. filpgame 2 times, last 2 months ago
  2. iridic 7 times, last 5 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.

    at butterknife.internal.Utils.findRequiredView()
  2. Butter Knife
    Utils.findRequiredViewAsType
    1. butterknife.internal.Utils.findRequiredView(Utils.java:138)
    2. butterknife.internal.Utils.findRequiredViewAsType(Utils.java:150)
    2 frames
  3. com.wanguqu.app
    MainActivity_ViewBinding.<init>
    1. com.wanguqu.app.ui.activity.MainActivity_ViewBinding.<init>(MainActivity_ViewBinding.java:21)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames