Skip Menu |
Report information
Id: 131326
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: halganeiny [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
From: Hythem Alganeiny <halganeiny [...] gmail.com>
Date: Thu, 18 May 2017 14:32:40 -0400
Subject: "Cannot invoke this object (REPR: Null; VMNull)" Error when using Grammar::Debugger
Download (untitled) / with headers
text/plain 1.1k
Hello,

Perl6 Version: 
This is Rakudo version 2017.04.3-282-g541597b82 built on MoarVM version 2017.04-64-g6d5ea042
implementing Perl 6.c.

OS Version: Linux Slackware64 - current, 64-bit

I get this error when I add "use Grammar::Debugger" to my code.

perl6 bin/galaxy.p6 laws cnf/laws 
TOP
Cannot invoke this object (REPR: Null; VMNull)
  in block  at /home/helganiny/.rakudobrew/moar-nom/install/share/perl6/site/sources/C0DCFF5AEFDF38901A375AE53AF39C4F12B3F6FC (Grammar::Tracer) line 43
  in regex TOP at /home/helganiny/dev/rakudo/Galaxy/lib/Laws.pm (Laws) line 63
  in block  at /home/helganiny/.rakudobrew/moar-nom/install/share/perl6/site/sources/C0DCFF5AEFDF38901A375AE53AF39C4F12B3F6FC (Grammar::Tracer) line 47
  in method create at /home/helganiny/dev/rakudo/Galaxy/lib/Laws.pm (Laws) line 131
  in method  at /home/helganiny/dev/rakudo/Galaxy/lib/Universe.pm (Universe) line 12
  in block <unit> at bin/galaxy.p6 line 6

How to reproduce:

1- Clone the code from here: https://github.com/alphah77/galaxy.git

2- Uncomment first line "use Grammar::Debugger" from lib/Laws.pm.

3- run the program as: perl6 bin/galaxy.p6 laws cnf/laws.


Thanks you.
-hythm
Download (untitled) / with headers
text/plain 153b
For records, the problematic commit in the mentioned repo is this one: https://github.com/alphah77/galaxy/commit/957d41441e6f2be3c81f9390a26635c8879ad066


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org