Error Object reference

Error Object reference - Mensajes

#1 Publicado: 17/2/2022 10:28:08
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

FXsp.sm (502,52 KiB) descargado 1641 vez(es).

When trying to open the file, the following error appears "object reference not defined for an instance of an object".

Can you tell me how to solve it.
#2 Publicado: 17/2/2022 10:40:54
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

When trying to open the file, the following error appears "object reference not defined for an instance of an object".


File does not open incorrect format
Probably caused by an active AV at time saved.
#3 Publicado: 17/2/2022 10:42:57
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

When trying to open the file, the following error appears "object reference not defined for an instance of an object".


File does not open incorrect format
Probably caused by an active AV at time saved.




it is possible solver?
#4 Publicado: 17/2/2022 10:54:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

it is possible solver?


If it would relate to a solver of some kind it would turn red.
Try to save as instead of just save.
Personally, I always save as ... never simply save.
#5 Publicado: 17/2/2022 10:58:10
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

it is possible solver?


If it would relate to a solver of some kind it would turn red.
Try to save as instead of just save.
Personally, I always save as ... never simply save.




So this scrypt is lost?
#6 Publicado: 17/2/2022 11:02:45
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !
#7 Publicado: 17/2/2022 11:08:25
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !



thank you very much friend
#8 Publicado: 17/2/2022 12:45:28
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Wrote

So this script is lost ?


Maybe yes up to this point ?
Can't help so far !


I won't make a promise, but maybe it can be recoverable.
At least and maybe, some parts of it.
Don't fall into Jean's false claims.
#9 Publicado: 17/2/2022 13:03:57
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

First attempt to fix the file.
I have removed the force crash section.
Next I am going to correct the crashing section.
I think I can fix very most part of it.

Regards

FXsp_r0.sm (473,96 KiB) descargado 1621 vez(es).
#10 Publicado: 17/2/2022 13:33:20
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Here is your file, completely recovered.

Regards

FXsp_r1.sm (603,84 KiB) descargado 1626 vez(es).

Click to Enlarge
A 1 usuarios les gustó este mensaje
#11 Publicado: 17/2/2022 13:39:51
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Here is your file, completely recovered.

Regards

FXsp_r1.sm (603,84 KiB) descargado 1626 vez(es).

Click to Enlarge



thank you very much friend, can you tell me what was done to fix this error?
#12 Publicado: 17/2/2022 14:32:30
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png
#13 Publicado: 17/2/2022 15:22:03
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png



thx u pro
#14 Publicado: 17/2/2022 15:23:18
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

thank you very much friend, can you tell me what was done to fix this error?


You are welcome.
Culprit is usually an empty \[REGION[####]]\. Yours was at line#1963.
SMath files are sophisticated xml files actually.
You can edit them with a text editor.
The hash inside \[REGION[#####]]\ can differ, but pattern is always same.
\[REGION[#######################]]\
I usually search for this and remove its regions entirely.
If fix works, then try to remove \[REGION[###]]\ individually.

This mostly works to fix the files.
If it doesn't, I remove sections one by one.
Or multiple of them at same time until file works again.
Then re-add them to pinpoint which region makes crash.

Most important, I always work on file copies to prevent more data loss.

Regards

2022-02-17_20-23.png



thx u pro -->can you tell me why I can't save this same file in .exe form?
#15 Publicado: 17/2/2022 15:44:20
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

thx u pro -->can you tell me why I can't save this same file in .exe form?


I don't know your Windows setup. So can't tell.
I even use linux and I could make an exe file.
Try to Log-in to your account in SMath.
(Login button is Up-Right of SMath window)
This will activate pro mode while saving exe's.
And uncheck compression option.
This is what I did.

Regards

This zip file contains exe of your file:
FXsp_r1.exe.gz (1,84 MiB) descargado 839 vez(es).

2022-02-17_21-40.png
#16 Publicado: 17/2/2022 16:13:34
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

Wrote

thx u pro -->can you tell me why I can't save this same file in .exe form?


I don't know your Windows setup. So can't tell.
I even use linux and I could make an exe file.
Try to Log-in to your account in SMath.
(Login button is Up-Right of SMath window)
This will activate pro mode while saving exe's.
And uncheck compression option.
This is what I did.

Regards

This zip file contains exe of your file:
FXsp_r1.exe.gz (1,84 MiB) descargado 839 vez(es).

2022-02-17_21-40.png



I still get the same error as in the topic below

https://en.smath.com/forum/yaf_postst21695_Error-trying-to-save-to--exe.aspx

#17 Publicado: 17/2/2022 16:20:20
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

I still get the same error as in the topic below

https://en.smath.com/forum/yaf_postst21695_Error-trying-to-save-to--exe.aspx


Let me try this with a Windows installed computer.
Than maybe I can get what is going on about the issue.
#18 Publicado: 17/2/2022 17:08:08
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

I tried your file with a windows 10 installed computer.
It didn't made the executable file on that either.
I have replaced writer plugin regions with embedded text regions.
Now exe file can be created, but not visually as you desired I guess.
And it creates some maple files in document directory when executed.

Actually you don't need maple to solve that kind of functions you used.
Embedded solve() or roots() enough for that, I have replaced it.

So, there is a inconsistency with Linux and Windows versions.
While using Writer Regions and making executable files,
Windows version can't finish while Linux can.
Interesting finding indeed.

Regards

FXsp_r2.sm (502,91 KiB) descargado 1632 vez(es).
#19 Publicado: 17/2/2022 18:03:00
TIAGO C DOS SANTOS

TIAGO C DOS SANTOS

1 me gusta en 27 mensajes.

Grupo: User

Wrote

I tried your file with a windows 10 installed computer.
It didn't made the executable file on that either.
I have replaced writer plugin regions with embedded text regions.
Now exe file can be created, but not visually as you desired I guess.
And it creates some maple files in document directory when executed.

Actually you don't need maple to solve that kind of functions you used.
Embedded solve() or roots() enough for that, I have replaced it.

So, there is a inconsistency with Linux and Windows versions.
While using Writer Regions and making executable files,
Windows version can't finish while Linux can.
Interesting finding indeed.

Regards

FXsp_r2.sm (502,91 KiB) descargado 1632 vez(es).




perfect thank you very much for making your time available, I have been using smart for 4 months and in this learning phase you are one of the best help, thank you very much friend

A 1 usuarios les gustó este mensaje
overlord 17/2/2022 18:06:00
  • Nuevos mensajes
  • Sin mensajes nuevos