Comments (6)
Hi, Same here . It happens on a kitkat device.
04-07 12:54:15.695 30270-30270/com.fidfood.app E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.fidfood.app, PID: 30270
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fidfood.app/com.fidfood.app.organisation.management.ActivityOrganisation}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2412)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4053)
at android.app.ActivityThread.access$1000(ActivityThread.java:174)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1313)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at gun0912.tedbottompicker.TedBottomPicker.setTitle(TedBottomPicker.java:483)
at gun0912.tedbottompicker.TedBottomPicker.setupDialog(TedBottomPicker.java:168)
at android.support.v4.app.DialogFragment.getLayoutInflater(DialogFragment.java:315)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2900)
at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:603)
at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1177)
at android.app.Activity.performStart(Activity.java:5468)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2385)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4053)
at android.app.ActivityThread.access$1000(ActivityThread.java:174)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1313)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
from tedbottompicker.
@joxad same here. Did you figure it out why? or did you find any solution for it?
from tedbottompicker.
@GuillemRoca @iammert
Can you upload your sample project code?
I will test and check error.
from tedbottompicker.
@ParkSangGwon It is not reproducible on my side. So I don't think sample code will help you because my app is already used by thousands of people and just %1 of users are crashing. Anyway, here is the sample code from my project.
TedBottomPicker bottomSheetDialogFragment = new TedBottomPicker.Builder(AskQuestionActivity.this)
.setOnImageSelectedListener(uri -> viewModel.startCropActivity(uri))
.setPeekHeight(getResources().getDisplayMetrics().heightPixels / 2)
.create();
bottomSheetDialogFragment.show(getSupportFragmentManager());
from tedbottompicker.
저도 이거 발생하네요.
제폰 노트5는 잘되는데
갤럭시s4 5.0.1버전은
Caused by: java.lang.NullPointerException: Attempt to read from field 'boolean gun0912.tedbottompicker.TedBottomPicker$Builder.showTitle' on a null object reference
널포인트 떠버리네요
사진 직접 촬영시 발생합니다.
잡히지가 않네요 boolean값인데 . 메모리 뻑나서 초기화되었나 싶어서
라지힙 트루도 줘보고,
사진 촬영의 화질을 낮춘걸로 해도 마찬가지네용 ㅎㅎ
from tedbottompicker.
I found a solution related to #43 that can apply to this issue.
from tedbottompicker.
Related Issues (20)
- Set allowed image file type (jpg|jpeg)
- ProxyActivity Issue.
- On select Google Photos
- Feature enhancement: Select Multiple images
- cant change background colour
- Mime type HOT 1
- 오타 수정 HOT 1
- Images don't load on Android 10+ HOT 9
- Open Camera throws exception on android 10 HOT 1
- Android Manifest Merge error, caused by file provider
- Do Not Have Gallery Option HOT 1
- Fatal Exception: java.lang.RuntimeException HOT 1
- Only shows external storage images
- How to add my own ImageProvider
- Not working for 1+ phones.
- No method explosed to change the span count of grid view
- Android 11 MediaScannerConnection.java line 250 android.media.MediaScannerConnection.lambda$scanFile$2
- picker를 내리거나 뒤로가기 했을때 콜백을 받지 못하나요?
- Could not resolve all files for configuration ':app:debugRuntimeClasspath'. HOT 1
- android 13 WRITE_EXTERNAL_STORAGE 퍼미션 문제
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 tedbottompicker.