jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

java.lang.SecurityException #21

Closed martennilsson closed 11 years ago

martennilsson commented 14 years ago

Hi, i'm trying to use a ruby gem called grackle in my Processing::App and get the following: java.lang.SecurityException: class "json.ext.Parser$s_method_0_1$RUBYINVOKER$newInstance"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(ClassLoader.java:807) at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:22) at org.jruby.internal.runtime.methods.InvocationMethodFactory.endClass(InvocationMethodFactory.java:1281) at at org.jruby.RubyModule.defineAnnotatedMethod(RubyModule.java:762) at org.jruby.anno.TypePopulator$DefaultTypePopulator.populate(TypePop ......

I am running jruby 1.4 with rvm (same problem with jruby-head). Is this a common problem ? Gratefull for all help.

monkstone commented 14 years ago

Probably a twitter thing. I've seen something on StackOverFlow about authorisation issues.

martennilsson commented 14 years ago

sry, the gist wasn't working

martennilsson commented 14 years ago

btw, i don't think it has anything to do with twitter, this is a java package signing thing

monkstone commented 14 years ago

If thats the case you should be able to sign the jar.

martennilsson commented 14 years ago

Are you saying i must sign the jruby jar because i'm using a rubygem? Doesn't sound right

monkstone commented 14 years ago

No ignore that I was caught up in another problem, seems odd though!!

monkstone commented 11 years ago

V.V old