Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to deq...
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
staticNSString *CellIdentifier =@"Cell";[self.tableView registerClass:[UITableViewCellclass] forCellReuseIdentifier:CellIdentifier];UITableViewCell*cell =[tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];if(cell ==nil)
{
cell=[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier];
cell.selectionStyle=UITableViewCellSelectionStyleNone;
}//config cell...
returncell;
}
主要是加入了這句話解決
[self.tableView registerClass:[UITableViewCellclass] forCellReuseIdentifier:CellIdentifier];
相關文章
- *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[APPException
- iOS-程式錯誤導致App閃退了怎麼辦?Terminating app due to uncaught exception...iOSAPPException
- Unable to connect to any hosts due to exceptionException
- 【RAC】PMON: terminating the instance due to error 481Error
- LGWR (ospid: 29534): terminating the instance due to error 4021Error
- Fails to Start: PMON (ospid: nnnn): terminating the instance due to error 481AIError
- LMON: terminating instance due to error 29702 -- ORA-29702Error
- [總結]9i RAC LMON: terminating instance due to error 29702Error
- [總結]9i RAC LMON: terminating instance due to error 29702Error
- WebThread:signal SIGABRT 和 libc++abi.dylib:terminating with uncaughtWebthreadC++
- [Error]NSInternalInconsistencyExceptionErrorException
- terminating the instance due to error481導致ASM無法啟動故障ErrorASM
- jmeter報錯“Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]“JMeterExceptionthreadAI
- [GuzzleHttp\Exception\RequestException] cURL error 60: SSL certificate problem: unable to get localHTTPExceptionError
- Oracle9.2.0.4 RAC 升級到Oracle9.2.0.7 ,LMON: terminating instance due to error 29702OracleError
- 系統記憶體不足導致oracle程式被誤殺terminating the instance due to error 822記憶體OracleError
- nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379ExceptionRedislocalhost
- mac idea中的Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099問題MacIdeaAPPServerlocalhost
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.APPContextPackage
- Uncaught TypeError: $(...).attr(...) is undefinedErrorUndefined
- Uncaught TypeError: i is not a functionErrorFunction
- java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxyJavaExceptionAPPAndroidthread
- nested exception is org.hibernate.InvalidMappingException: Could not parse mappiExceptionAPP
- Vue : Expected the Promise rejection reason to be an ErrorVuePromiseError
- android restart reason機制AndroidREST
- Uncaught Error: Cannot instantiate interfaceError
- Uncaught SyntaxError: Unexpected token <反思Error
- jQuery報錯:Uncaught ReferenceError: $ is not definedjQueryError
- ExceptionException
- the application was unable to start correctly 0xc000007bAPP
- 啟動uwsgi報錯ImportError: No module named, unable to load appImportErrorAPP
- reason why confirmed quantity is zero 0
- Fatal error: Uncaught PDOException: could not find driverErrorException
- Uncaught TypeError: Object # has no method 'load'ErrorObject
- SpokenEnglish01_ When's it due?
- Oracle exceptionOracleException
- Java——ExceptionJavaException
- RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)RPCAPPAI