Weird Error from Xcode Debugger - iphone

I am using SQL lite database in my iPhone app. I have a refresh button on my Home screen and upon click of then refresh button I parse data from my web service and store the results into a SQL lite database. When I click on refresh button repeatedly I get an error. The error occurs after a variable number of clicks/refreshes each time. The error is:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was: 0xe00805 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib, 10): image not found"`
After this error, my app crashes and when I logged the error it gives me an error "Unable to open database"
Please help me to resolve this error.
Thanks
Sandy

It would appear that the debugger is having a problem loading the data formatters that create the displays for various datatypes in the debugger window's variable display panel. If you've added any customer formatters, you should remove them.
Try running the program without the debugger and see if you get a crash. If so, the problem is in the app. If not, it's most likely in Xcode itself. I would test a dummy project and see if you get the same error.
It's possible there is hellish recursion somewhere in your code. I have seen that bring the debugger down but not with this error message.

Related

Flutter debugger not showing error where it occurred in my Flutter app files

Flutter debugger is not showing the error where it occurred in my Flutter app files, instead, it shows the specific flutter file in which the error occurred this has made me unable to track where the error came from in my file. I get this when using flutter in vscode. The error is that I used a null check on a null value.
Flutter does this with a few errors, had the same issue with a declaration error where data from a JSON was int and I declared it as a list. I found that running it and inspecting the console on the HTML page sometimes helps and shows more info. If you could post the specific error it would be easier to help you find a solution.

How to display Eclipse console error into my alert dialog?

Hi i am creating Dynamic Web Project into Eclipse IDE.
Sometimes the Internet is not working properly so at Eclipse displays an error in the console window.
I am a developer so I can view the error, but I need to display the error to the user while they are using this online application.
I have added try..catch blocks for user-friendly display error to user,
but in some of the places I can't Identify the error and Eclipse is displaying an error in the Console.
So I want to display that Console error into user Screen.
There is any way to display Console error to user...??

crystal reports project deployment

I'm trying to deploy my crystal reports windows application project on clients computer.
the problem is I can't to load reports.
I installed CRRuntime_32bit_13_0_1 on client computer to solve the problem
but I encounter another error which appears when I try to load any of reports, the error is :
unhandled exception has occurred in your application, if you click continue, the application will ignore this error and attempt to continue. if you click quit, the application will close immediately,
when I click Continue button, my report loads without any data loaded.
what is the solution? the error detail is :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
It sounds like the path to the data source is incorrect I would recommend ensuring that the path not only exists but has the right permissions.
thanks a lot,
I used manual addressing in assigning report file for my reportDocument.load() method
when program loads on client computer, address goes invalid.
the problem solved!
instad of using reportDocument and manual addressing I make new object from each report file (which haves .cs class) and assing it to crystalreportwiewer.reportsource:
Rad.ExecuteForms.Forms.Reports.CrystalReport1 noticeMainReport = new Reports.CrystalReport1();
noticeMainReport.SetDataSource(Main);
noticeMainReport.VerifyDatabase();
crystalReportViewer1.ReportSource = noticeMainReport;

iphone core data app crash

I'm able to complete my iphone app using core data internally.
But for the first time when I'm running in simulator or on device its crashing with following error:
2010-03-18 10:55:41.785 CrData[1605:4603] Unresolved error Error Domain=NSCocoaErrorDomain Code=513 UserInfo=0x50448d0 "Operation could not be completed. (Cocoa error 513.)", {
NSUnderlyingException = Error validating url for store;
}
When I run the app again in simulator or on device, its running perfectly. I'm not able to identify the exact problem. Can some one guide me on how to proceed further???
You need to unroll the errors and see what is going on. Inside of that error (which you can set a break point on objc_exception_thrown to catch it) is the userInfo dictionary which you can interrogate to see what the underlying errors are.
update
What does your NSPersistentStoreCoordinator creation code look like?
Did you add a break point and do a po [error userInfo] so see if there were any additional errors in the userInfo?
Core Data can and does send you a hierarchy of errors and frequently on a small amount of information is exposed at the top error. Unrolling the errors via the debugger is best to determine the underlying causes.
update
Code error 513 means, write permissions for creating store in core data app failed. But the same piece of code is running well from next time. So, what might be the actual problem is not known to me..... how to proceed here.
Again, what does your persistent store creation code look like? You need to post some code so that I can take a look at it. Otherwise I am just guessing which is no fun.
8.2 has become more strict on the location (and permissions) of your persistent store. I've just seen the "513" error appear when the database was stored in the bundle and used with a read only option. Using a device with 8.1 it worked without failing, but on 8.2 the error and exception appeared causing a crash. On the simulator the exception did not occur and happily continued to work.
The solution that worked to copy the database into the application documents directory at start up.
NSFileManager copyItemAtURL:toURL:error will come in useful.

getting strange error when submitting to iTunes Connect

I am on the last stage of my upload, and i clicked submit, only to receive the error;
There was an error saving changes: NullPropertyException. Stack is: [Ljava.lang.StackTraceElement;#5528cffb
what does that mean?
I am 99% sure I built correctly.
the error changes ( the # bit) after a refresh and click of submit again.
Help me out please!
Sam
Apple's websites all run on WebObjects, which is Java based. Hence the Java error. This is almost certainly a problem on their side. I'd try submitting again tomorrow and if it still fails, contacting their support.