i get the following error when i click on project name ->generate in netbeans IDE. help please.. j*ava.lang.NullPointerException* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) * * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.isValid(GeneratorPanel.java:459) * * at java.awt.Component.invalidateIfValid(Component.java:2809)* * at java.awt.Component.setLocale(Component.java:1879)* * at javax.swing.JComponent.<init>(JComponent.java:584)* * at javax.swing.JPanel.<init>(JPanel.java:65)* * at javax.swing.JPanel.<init>(JPanel.java:92)* * at javax.swing.JPanel.<init>(JPanel.java:100)* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.<init>(GeneratorPanel.java:87) * * at org.netbeans.modules.ruby.railsprojects.GenerateAction.generate(GenerateAction.java:148) * * at org.netbeans.modules.ruby.railsprojects.GenerateAction.performAction(GenerateAction.java:127) * * at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) * * at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111) * * at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104)* * at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52) * * at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:102) * * at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:71) * * at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)* *[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)* * * * * *thanks* * * -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12 Mar 2011, at 07:28, "Er.SALIM MANDREKAR" <mandrekar.salim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i get the following error when i click on project name ->generate in netbeans IDE. help please.. >Please don''t post the same message across 4 different threads, all at the same time. Fred.> > java.lang.NullPointerException > at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) > at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.isValid(GeneratorPanel.java:459) > at java.awt.Component.invalidateIfValid(Component.java:2809) > at java.awt.Component.setLocale(Component.java:1879) > at javax.swing.JComponent.<init>(JComponent.java:584) > at javax.swing.JPanel.<init>(JPanel.java:65) > at javax.swing.JPanel.<init>(JPanel.java:92) > at javax.swing.JPanel.<init>(JPanel.java:100) > at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.<init>(GeneratorPanel.java:87) > at org.netbeans.modules.ruby.railsprojects.GenerateAction.generate(GenerateAction.java:148) > at org.netbeans.modules.ruby.railsprojects.GenerateAction.performAction(GenerateAction.java:127) > at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) > at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111) > at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104) > at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52) > at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:102) > at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:71) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) > [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) > > > thanks > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ok.. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Mar 12, 2011 at 1:28 AM, Er.SALIM MANDREKAR < mandrekar.salim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i get the following error when i click on project name ->generate in > netbeans IDE. help please.. > >Stop using NetBeans to generate your rails application. Use the command prompt to do it then import your newly created app into NetBeans for editing. Follow this guide for learning how to create rails apps: http://guides.rubyonrails.org/getting_started.html B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
*when i do that using command prompt* *rails server* *a folder is created "server" into my project directory..* * * *n further things r not working. please provide the help.* *ill also give the list of gems installed..* * *** LOCAL GEMS *** actionmailer (2.2.3) actionpack (2.2.3) activerecord (2.2.3) activerecord-odbc-adapter (2.0) activeresource (2.2.3) activesupport (3.0.5, 2.2.3) builder (3.0.0) dbi (0.4.3) deprecated (3.0.0) minitest (2.0.2, 1.6.0) rails (2.2.3) rake (0.8.7) rdoc (2.5.8) * now guide me with best tutorial -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hi Frederick Cheung can u suggest me one fulfledge site which provides full tutorial abt ruby on rails n mysql using netbeans6.0.1. sorry for iritating everyone on google groups. * * -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mar 12, 10:51 am, salim mandrekar <mandrekar.sa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> *when i do that using command prompt* > *rails server* > *a folder is created "server" into my project directory..* > *That sounds like you''ve got rails 2.x. With rails 2 you run ruby script/server to start the server (rails server is for rails 3 and above) The use of the rails command line tools change substantially between 2.x and 3.x Can''t help you with your netbeans troubles - I''ve never used it before. Fred> * > *n further things r not working. please provide the help.* > *ill also give the list of gems installed..* > * *** LOCAL GEMS *** actionmailer (2.2.3) actionpack (2.2.3) activerecord > (2.2.3) activerecord-odbc-adapter (2.0) activeresource (2.2.3) activesupport > (3.0.5, 2.2.3) builder (3.0.0) dbi (0.4.3) deprecated (3.0.0) minitest > (2.0.2, 1.6.0) rails (2.2.3) rake (0.8.7) rdoc (2.5.8) * > > now guide me with best tutorial-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Please stop posting the same message multiple times... On 12 March 2011 10:51, salim mandrekar <mandrekar.salim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> when i do that using command prompt > rails server > a folder is created "server" into my project directory..So you have Rails 2.x> n further things r not working. please provide the help.What "further things"?> ill also give the list of gems installed.. > *** LOCAL GEMS *** actionmailer (2.2.3) actionpack (2.2.3) activerecord > (2.2.3) activerecord-odbc-adapter (2.0) activeresource (2.2.3) activesupport > (3.0.5, 2.2.3) builder (3.0.0) dbi (0.4.3) deprecated (3.0.0) minitest > (2.0.2, 1.6.0) rails (2.2.3) rake (0.8.7) rdoc (2.5.8) > now guide me with best tutorialWell, what tutorials have you followed to get you to this position? Have you looked at the Ruby on Rails "getting started" guide? http://guides.rubyonrails.org/getting_started.html ...and google for "Rails getting started" for dozens more links. BTW You''re asking about Netbeans 6.0, while the current release is 6.9... I''d suggest using the latest release, as it works well, but for the majority of things you need to use at your level (or arguably at any level... but let''s not start that again! :-) any text editor would be fine. Don''t rely on the IDE to do stuff for you (like creating projects, generating migrations, running rake takes); but when you know how to do it yourself, use the IDE if it makes it easier for you then. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
thank you sir for valuable rpy n suggestion.. On Mar 13, 1:28 am, Michael Pavling <pavl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please stop posting the same message multiple times... > > On 12 March 2011 10:51, salim mandrekar <mandrekar.sa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > when i do that using command prompt > > rails server > > a folder is created "server" into my project directory.. > > So you have Rails 2.x > > > n further things r not working. please provide the help. > > What "further things"? > > > ill also give the list of gems installed.. > > *** LOCAL GEMS *** actionmailer (2.2.3) actionpack (2.2.3) activerecord > > (2.2.3) activerecord-odbc-adapter (2.0) activeresource (2.2.3) activesupport > > (3.0.5, 2.2.3) builder (3.0.0) dbi (0.4.3) deprecated (3.0.0) minitest > > (2.0.2, 1.6.0) rails (2.2.3) rake (0.8.7) rdoc (2.5.8) > > now guide me with best tutorial > > Well, what tutorials have you followed to get you to this position? > Have you looked at the Ruby on Rails "getting started" guide?http://guides.rubyonrails.org/getting_started.html > ...and google for "Rails getting started" for dozens more links. > > BTW You''re asking about Netbeans 6.0, while the current release is > 6.9... I''d suggest using the latest release, as it works well, but for > the majority of things you need to use at your level (or arguably at > any level... but let''s not start that again! :-) any text editor > would be fine. Don''t rely on the IDE to do stuff for you (like > creating projects, generating migrations, running rake takes); but > when you know how to do it yourself, use the IDE if it makes it easier > for you then.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
dude ruby script/server also gives me an error.. which says C:\demo>ruby script/server <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- script/../config/boot (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require'' from script/server:2:in `<main>'' wil u please tel me why this error occurs.? thanks On Mar 13, 1:28 am, Michael Pavling <pavl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please stop posting the same message multiple times... > > On 12 March 2011 10:51, salim mandrekar <mandrekar.sa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > when i do that using command prompt > > rails server > > a folder is created "server" into my project directory.. > > So you have Rails 2.x > > > n further things r not working. please provide the help. > > What "further things"? > > > ill also give the list of gems installed.. > > *** LOCAL GEMS *** actionmailer (2.2.3) actionpack (2.2.3) activerecord > > (2.2.3) activerecord-odbc-adapter (2.0) activeresource (2.2.3) activesupport > > (3.0.5, 2.2.3) builder (3.0.0) dbi (0.4.3) deprecated (3.0.0) minitest > > (2.0.2, 1.6.0) rails (2.2.3) rake (0.8.7) rdoc (2.5.8) > > now guide me with best tutorial > > Well, what tutorials have you followed to get you to this position? > Have you looked at the Ruby on Rails "getting started" guide?http://guides.rubyonrails.org/getting_started.html > ...and google for "Rails getting started" for dozens more links. > > BTW You''re asking about Netbeans 6.0, while the current release is > 6.9... I''d suggest using the latest release, as it works well, but for > the majority of things you need to use at your level (or arguably at > any level... but let''s not start that again! :-) any text editor > would be fine. Don''t rely on the IDE to do stuff for you (like > creating projects, generating migrations, running rake takes); but > when you know how to do it yourself, use the IDE if it makes it easier > for you then.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.