Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot invoke this object (REPR: Null; VMNull)" Error when using Grammar::Debugger #6234

Open
p6rt opened this issue May 18, 2017 · 2 comments

Comments

@p6rt
Copy link

p6rt commented May 18, 2017

Migrated from rt.perl.org#131326 (status was 'new')

Searchable as RT131326$

@p6rt
Copy link
Author

p6rt commented May 18, 2017

From halganeiny@gmail.com

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

@p6rt
Copy link
Author

p6rt commented May 18, 2017

From @zoffixznet

For records, the problematic commit in the mentioned repo is this one​: hythm7/galaxy-old@957d414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant