TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000216TADS 3Library - Adv3public2014-02-21 00:112016-06-04 14:46
ReporterBlackGeorge 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformIntelOSWindowsOS Version8
Summary0000216: runtime error given after some commands with commas
DescriptionTyping commands such as "hello, world" in a game gives "[Runtime error: nil object reference]" instead of something like "The story doesn’t understand that command." In a t3 file with debugging information, the output is

[Runtime error: nil object reference
–>c:\program files (x86)\tads 3\lib\adv3\parser.t, line 3986
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 3905
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1297
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1297
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 2000
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1297
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1297
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1297
   c:\program files (x86)\tads 3\lib\adv3\parser.t, line 1316
   c:\program files (x86)\tads 3\lib\adv3\en_us\en_us.t, line 5156
   c:\program files (x86)\tads 3\lib\adv3\exec.t, line 141
   <System>
   c:\program files (x86)\tads 3\lib\adv3\exec.t, line 141
   c:\program files (x86)\tads 3\lib\adv3\actor.t, line 10512
   c:\program files (x86)\tads 3\lib\adv3\actor.t, line 9417
   c:\program files (x86)\tads 3\lib\adv3\actor.t, line 9287
   c:\program files (x86)\tads 3\lib\adv3\pov.t, line 156
   c:\program files (x86)\tads 3\lib\adv3\pov.t, line 58
   c:\program files (x86)\tads 3\lib\adv3\actor.t, line 9287
   c:\program files (x86)\tads 3\lib\adv3\report.t, line 1941
   c:\program files (x86)\tads 3\lib\adv3\exec.t, line 1281
   c:\program files (x86)\tads 3\lib\adv3\actor.t, line 9287
   c:\program files (x86)\tads 3\lib\adv3\events.t, line 125
   c:\program files (x86)\tads 3\lib\adv3\misc.t, line 589
   c:\program files (x86)\tads 3\lib\adv3\misc.t, line 118
   c:\program files (x86)\tads 3\lib\adv3\misc.t, line 659
   c:\program files (x86)\tads 3\lib\adv3\misc.t, line 603
   c:\program files (x86)\tads 3\lib\_main.t, line 209
   c:\program files (x86)\tads 3\lib\_main.t, line 122
   c:\program files (x86)\tads 3\lib\_main.t, line 31
]
Steps To ReproduceType "hello, world" in any game produced by TADS 3.1.3 Workbench.
Additional InformationAttached file has a release version of the t3 file in the project root; debug version under debug.

Both HTML TADS Interpreter and QTads 2.1.6 give same results.

I gave this "major" severity based on (1) how a player may see the usefulness of the error message and (2) the inconvenience caused while testing a game file in Workbench. All apologies if I should have given it a different severity.
TagsNo tags attached.
Fixed In Version
Attached Fileszip file icon BugTest.zip [^] (2,717,415 bytes) 2014-02-21 00:11

- Relationships

-  Notes
(0000409)
mathew (reporter)
2016-06-04 14:46

Any update on official support for this? In the meantime I've changed line 3979 in parser.t to

    ret = nilToList(results.unknownNounPhrase(self, resolver));

- Issue History
Date Modified Username Field Change
2014-02-21 00:11 BlackGeorge New Issue
2014-02-21 00:11 BlackGeorge File Added: BugTest.zip
2016-06-04 14:46 mathew Note Added: 0000409


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker