Comments (3)
Can you provide more information? Such as system version, device name or crash log.
from camerafilter.
When i try to launch app (first start) - app crashed (Xiaomi MI Note and Nexus 5). When i reopen the app - works stable. I think, problem with runtime permissions
E/AndroidRuntime: FATAL EXCEPTION: main
Process: cn.nekocode.camerafilter, PID: 17356
java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.nekocode.camerafilter.filter.CameraFilter.onAttach()' on a null object reference
at cn.nekocode.camerafilter.CameraRenderer.setSelectedFilter(CameraRenderer.java:128)
at cn.nekocode.camerafilter.MainActivity$1.onTouch(MainActivity.java:94)
at android.view.View.dispatchTouchEvent(View.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java)
at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java)
at android.app.Activity.dispatchTouchEvent(Activity.java)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java)
at android.view.View.dispatchPointerEvent(View.java)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
from camerafilter.
@ArtemSel I have just fixed this issue on the version 2.2.
from camerafilter.
Related Issues (20)
- this probably not a complete project package HOT 1
- Video Recording
- 能否接入第三方视频服务
- Filter Chain
- Camera not working for first time
- Camera Preview Shows Mirror image
- Can change the preview internal camera to extrenal OTG camera and vice versa
- Texture2D compatibility issue HOT 2
- Camera preview Image show little blur
- continues crash on camera preview : issue in camera rendering
- camptured image is show low quality
- frame > float[] > render float[]
- how to zoom out from camera preview HOT 1
- how to appy the filters in bitmap HOT 1
- Camera access is required HOT 2
- Add to F-Droid HOT 1
- Applying CameraFilter effects on single Bitmaps
- Realtime camera zoomIn and zoomOut HOT 1
- Cubak-an01
- sorry. please delete this issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camerafilter.