digi-cazter / omniship Goto Github PK
View Code? Open in Web Editor NEWShipping API for common shipping couriers
License: MIT License
Shipping API for common shipping couriers
License: MIT License
Has anyone had problems with omniship and recurly (a CC payment processor) while used in a rails project?
If I use omniship with my rails project with recurly, I had a nasty NullPointerException on JRuby.
Haven't tried to debug.. any ideas?
Java::JavaLang::NullPointerException:
from nokogiri.XmlNode.attribute(XmlNode.java:605)
from nokogiri.XmlNode$INVOKER$i$1$0$attribute.call(XmlNode$INVOKER$i$1$0$attribute.gen)
from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
from org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
from org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110)
from org.jruby.ast.AndNode.interpret(AndNode.java:97)
from org.jruby.ast.IfNode.interpret(IfNode.java:110)
from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
from org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
from org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
from org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:206)
from org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:157)
from org.jruby.runtime.Interpreted19Block.yieldSpecific(Interpreted19Block.java:135)
from org.jruby.runtime.Block.yieldSpecific(Block.java:120)
from org.jruby.ast.YieldOneNode.interpret(YieldOneNode.java:35)
... 261 levels...
from org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)
from org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)
from org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
from org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
from $dot.script.rails.file(./script/rails:6)
from $dot.script.rails.load(./script/rails)
from org.jruby.Ruby.runScript(Ruby.java:811)
from org.jruby.Ruby.runScript(Ruby.java:804)
from org.jruby.Ruby.runNormally(Ruby.java:673)
from org.jruby.Ruby.runFromMain(Ruby.java:522)
from org.jruby.Main.doRunFromMain(Main.java:395)
from org.jruby.Main.internalRun(Main.java:290)
from org.jruby.Main.run(Main.java:217)
from org.jruby.Main.main(Main.java:197)
Any ideas how I get rid of that? I think it's calling out to a sandbox maybe. I don't see any examples in your documentation on what the right way is to tell the gem that we are running production code.
Thanks.
am
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.