일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- command not found
- 아이튠즈
- 실행
- 삭제버튼
- delete button
- IPA
- api19
- Cluster
- bash
- mybatis
- DELETE
- KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED
- Drawer
- backspace
- dataSource
- beanCreationException
- 삭제
- KVO
- 단축키
- mysql
- sqlSession
- googlemap
- itunes
- 색상 변경
- NoClassDefFoundError
- Detect
- color
- Exception
- Query
- UITextField
- Today
- Total
BlueAroma
[Error] Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference 본문
[Error] Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
BlueAroma 2019. 9. 25. 16:35
[ Error메세지 ]
android.view.InflateException: Binary XML file line #22: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
[ Error 메세지 발생 위치 ]
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
>> mBinding = DataBindingUtil.inflate(inflater, R.layout.fragment_layout_res_id, container, false)
return mBinding.root
}
[ Error 의 문제점 ]
R.layout.fragment_layout_res_id XML 파일에서 선을 긋기 위해 넣은 View 컴포넌트
1
2
3
4
5
|
<View style="@style/Line05"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@id/tab_layout"
android:background="@color/light_gray"
/>
|
cs |
의 View 를 view로 잘못입력하여 발생.
<View style="@style/Line05" 를 <view style="@style/Line05" 로 입력함..
'내맘대로 프로그래밍 > Android' 카테고리의 다른 글
[Error] error: inner element must either be a resource reference or empty. (0) | 2019.10.03 |
---|---|
[Android] Drawer 아이콘 색상 변경 (0) | 2018.02.27 |
화면 사이즈 별 dimens 폴더 (0) | 2016.10.27 |
[deprecated] Html.fromHtml ( Android N 부터 ) (0) | 2016.10.23 |
국가/언어별 문자열 적용방법 (0) | 2016.10.18 |