Hi Gavi ! I joined this great course late too. I made first lessons with Netbeans 6.7, but at RailsBasics I could not use it to connect to MySql. Therefore I downloaded Netbeans 6.5.1 and Java 1.6.0_14 and now everything works beautifully. BTW, I am on Windows XP, it could be quite difefrent on Linux.
Did you manage to connect to MySql from NetBeans (without Rails) ? Sincerely, Miro On Jul 26, 2:02 pm, Gavi Grandea <[email protected]> wrote: > > I just started this course and came up with an error while > > generating a MODEL. I could not continue because of this. > > Any idea how to solve this? > > I'm at topic #6(Rails Basics). I'm using jdk1.6.0_12 and > > NetBeans 6.5 and MySQL. > > Thanks in advance! > > > java.lang.NullPointerException > > at > > org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:143) > > at > > org.netbeans.modules.ruby.railsprojects.GeneratorPanel.isValid(GeneratorPanel.java:480) > > at > > java.awt.Component.invalidateIfValid(Component.java:2740) > > at > > java.awt.Component.setLocale(Component.java:1810) > > at > > javax.swing.JComponent.<init>(JComponent.java:595) > > 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:90) > > at > > org.netbeans.modules.ruby.railsprojects.GenerateAction.generate(GenerateAction.java:174) > > at > > org.netbeans.modules.ruby.railsprojects.GenerateAction.performAction(GenerateAction.java:153) > > 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:572) > > [catch] at > > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) > > Get your new Email address! > Grab the Email name you've always wanted before someone else > does!http://mail.promotions.yahoo.com/newdomains/aa/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
