when does occur this crash report? - realbasic

I got this crash report from my app, and I can't reproduce it as I don't know when it happens and how can happen.
Someone can tell me what sees from this report?
Code:
Error Name: NilObjectException
Error Number: 0
Error Message:
Stack Trace:
RaiseNilObjectException
ConScheduler.ConScheduler.StyleGrid1_DropObject%%o<ConScheduler.ConScheduler>o<DragItem>i4
_Z17UpdateMouseCursorv
Delegate.Invoke%%
Application._CallFunctionWithExceptionHandling%%o<Application>p
_Z33CallFunctionWithExceptionHandlingPFvvE
_Z8mainloopv
RuntimeRun
REALbasic._RuntimeRun
_Main
% main
Regards,
Pentium10

Based on the text, you might want to check out your usage of the Einhugur StyleGrid. It appears the NilObjectException came from there.

Related

What does this FreeType2 error code mean?

Using FreeType2, I'm calling FT_Load_Glyph, and getting a return value of 0xFFFFFFFF. According to https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_load_glyph, a non-zero value means an error.
However, this error isn't listed at https://www.freetype.org/freetype2/docs/reference/ft2-error_code_values.html. Can anyone explain to me what this error code means?
I asked this question over at https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063#note_955441, and was told that it is invalid offset (11040).

Access Report.IsLoaded=true SubReport.IsLoaded=false, why?

Hello to all and thanks in advance. I have a Report which gives a list of all projects and then a subreport in the Report Footer that sums the Project Costs over each department. I am trying to access data in that subreport but every time I try:
yr_strt=me.sbrptProposalSummary.Report.lblFY1.caption
I get "Run-time error '2455': You entered an expression that has an invalid reference to the property Form/Report.
Then I tried:
yr_strt=Reports("sbrptProposalOverview").lblFY1.Caption
and I get the error (2451) that the report name is misspelled or refers to a report that isn't open or does't exist.
Which led me to the IsLoaded:
Debug.Print Application.CurrentProject.AllReports("rptProposalOverview").IsLoaded
Debug.Print Application.CurrentProject.AllReports("sbrptProposalOverview").IsLoaded
and I get True and False respectively. What's the deal? So frustrated right now!
Thank You!
Jessica
Jessica - In what event/form is this statement? yr_strt=me.sbrptProposalSummary.Report.lblFY1.caption
Could it be the form isn't loaded when this line is hit?
Excellent coding though! Love to see those calls instead of trying easier and less efficient methods.
Stay frustrated! It is the primary symptom of learning! :)

How to get Developer Exception page to show multiple lines of code around exception?

This page https://learn.microsoft.com/en-us/aspnet/core/api/microsoft.aspnetcore.builder.developerexceptionpageoptions states that a DeveloperExceptionPageOptions object can be passed as a parameter to app.UseDeveloperExceptionPage() and one of the properties on the options object is SourceCodeLineCount. Specifically, it says that the SourceCodeLineCount property:
Determines how many lines of code to include before and after the line of code present in an exception's stack frame. Only applies when symbols are available and source code referenced by the exception stack trace is present on the server.
But when I put the following code in the Configure method of the startup.cs class:
app.UseDeveloperExceptionPage( new DeveloperExceptionPageOptions() { SourceCodeLineCount = 10} );
The output in the Developer Exception Page doesn't appear to show the 20 lines of source code that it's suppose to.
How does one get the Developer Exception page to show multiple lines of code around exception?
I'm not sure if you're still having this problem or not, but have you tried browsers other than IE? When I'm running in Chrome, I'm seeing a little [+] symbol on the left of each line number, that can be used to expand each snippet of code.
The line that the error occurs is highlighted in red, and the SourceCodeLineCount value (in my case, set to 2) is used to display the number of lines above the line that caused your exception.
See sample screenshot below. Hope this helps!

ERR Error compiling script (new function): user_script:1: unexpected symbol near ')'

I have installed StackExchange as a Redis Client for my API using C#, I followed all the steps in this tutorial : http://tostring.it/2015/04/23/An-easy-way-to-use-StackExchange-Redis%20copy/
When I make a request to the server I receive this error :
Message: "An error has occurred.",
ExceptionMessage: "ERR Error compiling script (new function): user_script:1: unexpected symbol near ')' ",
ExceptionType: "StackExchange.Redis.RedisServerException",
StackTrace: " a StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message ResultProcessor`1 processor, ServerEndPoint server) in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\R edis\ConnectionMultiplexer.cs:line 1935
at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message,ResultProcessor`1 processor, ServerEndPoint server) in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\Redis\RedisBase.cs:line 80at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags)
in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\Redis\RedisDatabase.cs:line 873
at StackExchange.Redis.Extensions.Core.StackExchangeRedisCacheClient.GetAll[T](IEnumerable`1 keys)
I recieved this error when I post. Could please advice , thank you kindly
Presumably this error is coming from the 3rd party code(StackExchange.Redis.Extensions, which is not part of StackExchange.Redis - it simply uses it) generating invalid Lua in the CreateLuaScriptForMget method. It isn't obvious to me why it is doing any of this, since there is already a varadic mget method that would do this correctly, without touching Lua at any point. I'm not going to try to fix the 3rd-party code, but if I was: I'd be replacing any code that uses CreateLuaScriptForMget with, instead code that uses the RedisValue[] IDatabase.StringGet(RedisKey[] keys, ...) API, which will use mget internally.
I've changed the methods for AddAll/GetAll removing Lua script and using StringGet/StringSet with the specific array (here the commit)
It's deployed on Nuget here
The problem should be fixed, let me know.
Thanks for the support

xCode not showing descriptive error in log console - just hex values

Here is my console of an error occurring in my applications(iOS). i understand what the error is, but i don't know how to get a more descriptive trace of where this is in my code. Before iOS5 and the new xCode, i would be pointed to the line of error in my code. Now most times all i see is a hexadecimal output, and sometimes i get a short descriptive output like shown below.
2011-11-14 09:37:42.868 AppName[916:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:]: row (0) beyond bounds (0) for section (0).'
*** First throw call stack:
(0x343288bf 0x345781e5 0x343287b9 0x343287db 0x3779ef1f 0x50cd 0x3428722b 0x4edb 0x4fe9 0x5059 0x3175 0x41f1 0x3770a7ff 0x37708f9d 0x376fb941 0x3776d541 0x2bdf 0x377097eb 0x377033bd 0x376d1921 0x376d13bf 0x376d0d2d 0x30b03df3 0x342fc553 0x342fc4f5 0x342fb343 0x3427e4dd 0x3427e3a5 0x37702457 0x376ff743 0x2987 0x23d0)
terminate called throwing an exception
How can i get a more descriptive log output on errors like this? I would like to be shown/brought to the line of error in my code. Hexadecimal output doesn't help me - or i don't know how to use it to my benefit.
You can print all of your item's attributes.
EDIT:
Error descriptions will be at console, there are no more description to reach.

Resources