<p dir="auto">We're about to turn on auto-link checking for the website, but we noticed there are a few links that 404:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
- _site/animations/index.html
  *  External link https://docs.flutter.io/flutter/physics/ScrollSimulation-class.html failed: 404 No error
- _site/assets-and-images/index.html
  *  External link https://docs.flutter.io/flutter/services/ImageResource-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/widgets/AssetVendor-class.html failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/widgets failed: 404 No error
- _site/debugging/index.html
  *  External link https://docs.flutter.io/flutter/material/InkFeatures-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/rendering/RenderObject/debugDescribeSettings.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/scheduler/Scheduler/addPersistentFrameCallback.html failed: 404 No error
- _site/platform-services/index.html
  *  External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error
- _site/rendering/index.html
  *  internally linking to ../../example/rendering/sector_layout.dart, which does not exist (line 577)
     &lt;a href=&quot;../../example/rendering/sector_layout.dart&quot;&gt;sector_layout.dart
example&lt;/a&gt;
- _site/text-input/index.html
  *  External link https://docs.flutter.io/flutter/widgets/RawInputLine-class.html failed: 404 No error
- _site/widgets-intro/index.html
  *  External link https://docs.flutter.io/flutter/material/InputState-class.html failed: 404 No error
htmlproofer 3.4.0 | Error:  HTML-Proofer found 18 failures!"><pre class="notranslate"><code class="notranslate">
- _site/animations/index.html
  *  External link https://docs.flutter.io/flutter/physics/ScrollSimulation-class.html failed: 404 No error
- _site/assets-and-images/index.html
  *  External link https://docs.flutter.io/flutter/services/ImageResource-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/widgets/AssetVendor-class.html failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/widgets failed: 404 No error
- _site/debugging/index.html
  *  External link https://docs.flutter.io/flutter/material/InkFeatures-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/rendering/RenderObject/debugDescribeSettings.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/scheduler/Scheduler/addPersistentFrameCallback.html failed: 404 No error
- _site/platform-services/index.html
  *  External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error
- _site/rendering/index.html
  *  internally linking to ../../example/rendering/sector_layout.dart, which does not exist (line 577)
     &lt;a href="../../example/rendering/sector_layout.dart"&gt;sector_layout.dart
example&lt;/a&gt;
- _site/text-input/index.html
  *  External link https://docs.flutter.io/flutter/widgets/RawInputLine-class.html failed: 404 No error
- _site/widgets-intro/index.html
  *  External link https://docs.flutter.io/flutter/material/InputState-class.html failed: 404 No error
htmlproofer 3.4.0 | Error:  HTML-Proofer found 18 failures!
</code></pre></div>
<p dir="auto">Once we fix these, we can turn on link checking and never have a broken link again [1]</p>
<p dir="auto">[1] results may vary</p>
<p dir="auto">App crashes when users gives permission to access the gallery for the very first time with error message showing</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="07-20 12:41:37.841 4132-4132/com.----.--- E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.----.-----, PID: 4132
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference
        at io.flutter.plugins.camera.CameraPlugin$Camera.startPreview(CameraPlugin.java:676)
        at io.flutter.plugins.camera.CameraPlugin$Camera.access$2000(CameraPlugin.java:243)
        at io.flutter.plugins.camera.CameraPlugin$Camera$3.onOpened(CameraPlugin.java:443)
        at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:139)
        at android.os.Handler.handleCallback(Handler.java:789)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6541)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)"><pre class="notranslate"><code class="notranslate">07-20 12:41:37.841 4132-4132/com.----.--- E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.----.-----, PID: 4132
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference
        at io.flutter.plugins.camera.CameraPlugin$Camera.startPreview(CameraPlugin.java:676)
        at io.flutter.plugins.camera.CameraPlugin$Camera.access$2000(CameraPlugin.java:243)
        at io.flutter.plugins.camera.CameraPlugin$Camera$3.onOpened(CameraPlugin.java:443)
        at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:139)
        at android.os.Handler.handleCallback(Handler.java:789)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6541)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
</code></pre></div>
<p dir="auto"><strong>Version:</strong><br>
Flutter 0.5.1<br>
camera: "^0.2.1"<br>
image_picker: "^0.4.5"</p>
<p dir="auto"><strong>Steps To Reproduce,</strong></p>
<ol dir="auto">
<li>Create a Stack view with CameraPreview with 2 button to capture and open gallery</li>
<li>Click on open gallery button (At first time it asks for permission click allow -&gt; CRASHED)<br>
open gallery by using <code class="notranslate">final File galleryImagePath = await ImagePicker.pickImage(source:ImageSource.gallery);</code></li>
</ol>
<p dir="auto">sample code to Reproduce <a href="https://gist.github.com/aravindhkumar23/739cf778e31fa48f4f38c7494066d721">CameraView - sample code</a></p>