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

/processor.rb:55:in block in load_references': undefined method match' for nil:NilClass (NoMethodError) #29

Closed
RobbiNespu opened this issue May 11, 2020 · 3 comments

Comments

@RobbiNespu
Copy link
Contributor

I getting this error when build the site

 bundle exec jekyll serve --trace
Configuration file: D:/NOPE/robbinespu.gitlab.io/_config.yml
 Theme Config file: C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/octoflavor-ee4be458ed67/_config.yml
            Source: D:/NOPE/robbinespu.gitlab.io
       Destination: D:/NOPE/robbinespu.gitlab.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/premonition-4.0.0/lib/premonition/processor.rb:55:in `block in load_references': undefined method `match' for nil:NilClass (NoMethodError)
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/premonition-4.0.0/lib/premonition/processor.rb:54:in `each_line'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/premonition-4.0.0/lib/premonition/processor.rb:54:in `load_references'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/premonition-4.0.0/lib/premonition/processor.rb:19:in `adder'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/premonition-4.0.0/lib/premonition/hook.rb:29:in `block in generate'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/hooks.rb:99:in `block in trigger'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/hooks.rb:98:in `each'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/hooks.rb:98:in `trigger'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/document.rb:384:in `trigger_hooks'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/renderer.rb:61:in `run'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:525:in `render_regenerated'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:510:in `block (2 levels) in render_docs'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:509:in `each'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:509:in `block in render_docs'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:508:in `each_value'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:508:in `render_docs'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:202:in `render'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/site.rb:77:in `process'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-18f04c61adc8/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bin/jekyll:23:in `load'
        from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bin/jekyll:23:in `<main>'

RobbiNespu added a commit to RobbiNespu/premonition that referenced this issue May 11, 2020
@RobbiNespu RobbiNespu mentioned this issue May 11, 2020
2 tasks
@RobbiNespu
Copy link
Contributor Author

submit patch on #30 , hope you can review it

@lazee
Copy link
Owner

lazee commented May 25, 2020

@RobbiNespu Thanks a lot. I will review it.

Samplasion added a commit to Samplasion/premonition that referenced this issue Jun 13, 2020
@lazee
Copy link
Owner

lazee commented Jan 12, 2021

Fixed in 4.0.1 available in rubygems now.

@lazee lazee closed this as completed Jan 12, 2021
nitanmarcel added a commit to nitanmarcel/premonition that referenced this issue Feb 2, 2021
Version 4.0.1 is required as the one mentioned ends with error: lazee#29

"citations" is a typo, the correct name is "citation" [Ashamed that it took me 10 minutes to figure out that's what crashed my build]
@nitanmarcel nitanmarcel mentioned this issue Feb 2, 2021
lazee pushed a commit that referenced this issue Aug 20, 2021
Version 4.0.1 is required as the one mentioned ends with error: #29

"citations" is a typo, the correct name is "citation" [Ashamed that it took me 10 minutes to figure out that's what crashed my build]
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

2 participants