Skip to content

Instantly share code, notes, and snippets.

@Groogy
Created December 19, 2012 22:55
Show Gist options
  • Save Groogy/4341348 to your computer and use it in GitHub Desktop.
Save Groogy/4341348 to your computer and use it in GitHub Desktop.
Ruby runtime = this.container.getProvider().getRuntime();
LoadService loader = this.container.getLoadServiceCreator().create(runtime);
loader.require(library);
Exception in thread "main" java.lang.NullPointerException
at org.jruby.runtime.load.LoadService.featureAlreadyLoaded(LoadService.java:632)
at org.jruby.runtime.load.LoadService.requireCommon(LoadService.java:398)
at org.jruby.runtime.load.LoadService.require(LoadService.java:385)
at org.fu.script.ScriptController.require(ScriptController.java:26)
at org.fu.Game.main(Game.java:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment