FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems after update 2.1.1 in netbeans

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
cedugenio



Joined: 06 Oct 2008
Posts: 1

PostPosted: Mon Oct 06, 2008 3:51 pm    Post subject: Problems after update 2.1.1 in netbeans Reply with quote

Hi Friends ,

After update my Netbeans 6-0 for Rails 2.1.1 I had this problem can someone help me???

Exception in thread "main" java.lang.NoSuchMethodError: org.jruby.RubyModule.defineAnnotatedMethods(Ljava/lang/Class;)V

at org.jruby.ext.openssl.ASN1.createASN1(ASN1.java:265)
at org.jruby.ext.openssl.OpenSSLReal.createOpenSSL(OpenSSLReal.java:80)
at JopensslService.basicLoad(JopensslService.java:3Cool
at org.jruby.runtime.load.ClassExtensionLibrary.load(ClassExtensionLibrary.java:50)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)
at org.jruby.runtime.load.LoadService.require(LoadService.java:333)
at org.jruby.RubyKernel.require(RubyKernel.java:762)
at org.jruby.RubyKernelInvokerSrequire1.call(Unknown Source)
at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)
at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:7Cool
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)
at org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1025)
at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:253)
at org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:533)
at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:201)
at org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1614)
at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:356)
at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)
at org.jruby.Ruby.loadScript(Ruby.java:1209)[/quote]
Back to top
View user's profile Send private message MSN Messenger
Erno Mononen
Posted via mailing list.





PostPosted: Tue Oct 07, 2008 7:35 am    Post subject: Problems after update 2.1.1 in netbeans Reply with quote

Hi,

cedugenio wrote:
Quote:
Hi Friends ,



After update my Netbeans 6-0 for Rails 2.1.1 I had this problem can someone help me???

You might want to upgrade to NetBeans 6.1 unless you're tied to 6.0 for
some reason.

Could you check which version of JRuby you're using? You can do that
from the command line for example as follows (the JRuby version number
might be something else, I don't remember now the exact version bundled
with 6.0):

<netbeans install dir>/ruby2/jruby-1.0.3/bin/jruby -v


(this assumes that you're using the JRuby distribution that was bundled
with the IDE)


Erno


Quote:


Exception in thread "main" java.lang.NoSuchMethodError: org.jruby.RubyModule.defineAnnotatedMethods(Ljava/lang/Class;)V



at org.jruby.ext.openssl.ASN1.createASN1(ASN1.java:265)

at org.jruby.ext.openssl.OpenSSLReal.createOpenSSL(OpenSSLReal.java:80)

at JopensslService.basicLoad(JopensslService.java:38)

at org.jruby.runtime.load.ClassExtensionLibrary.load(ClassExtensionLibrary.java:50)

at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)

at org.jruby.runtime.load.LoadService.require(LoadService.java:333)

at org.jruby.RubyKernel.require(RubyKernel.java:762)

at org.jruby.RubyKernelInvokerSrequire1.call(Unknown Source)

at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)

at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:78)

at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)

at org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1025)

at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:253)

at org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:533)

at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:201)

at org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1614)

at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:356)

at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)

at org.jruby.Ruby.loadScript(Ruby.java:1209)












[/quote]
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Tue Oct 07, 2008 7:51 am    Post subject: Problems after update 2.1.1 in netbeans Reply with quote

Erno Mononen wrote:
Quote:

Hi,

cedugenio wrote:
Quote:
Hi Friends ,



After update my Netbeans 6-0 for Rails 2.1.1 I had this problem can
someone help me???

You might want to upgrade to NetBeans 6.1 unless you're tied to 6.0
for some reason.

Could you check which version of JRuby you're using? You can do that
from the command line for example as follows (the JRuby version number
might be something else, I don't remember now the exact version
bundled with 6.0):

<netbeans install dir>/ruby2/jruby-1.0.3/bin/jruby -v


(this assumes that you're using the JRuby distribution that was
bundled with the IDE)

I should have added that if you're not using the latest JRuby version,
you may want to upgrade to the latest, 1.1.4 -- you can get it from
http://jruby.codehaus.org/. Then you need to install it and point the
IDE to use it; either in Tools -> Options -> Ruby, or if you install
6.1, which I'd strongly recommend, in Tools -> Ruby Platforms. In 6.1
you'll then need to change the project to use it in Project properties.

Lastly, with JRuby it is probably best to use Rails 2.1.0 for now since
there is a compatibility issue between Rails 2.1.1 and JRuby.

HTH,
Erno
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB