| View previous topic :: View next topic |
| Author |
Message |
Kinsfire
Joined: 10 Feb 2009 Posts: 4
|
Posted: Tue Feb 10, 2009 8:27 pm Post subject: Weird problem with generating scaffold |
|
|
I'm running ruby 1.8, Netbeans 6.5 (fresh install), and have gems and rails installed. It's on an XP machine with SP3.
Everything works fine when I try to follow the tutorial here at the netbeans.org site on the 10 minute blog. Except...
I can create the project. WHen I highlight the project name and right-click it, I get the menu that's topped with generate. When I click it, nothing happens. Nada. Zip. Zilch. No extra box asking me what I want to create/generate. I can't do the tutorial if part of it simply doesn't happen at all.
Did I miss an important part of installing Netbeans? |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Tue Feb 10, 2009 8:43 pm Post subject: Weird problem with generating scaffold |
|
|
Hi,
Definitely sounds like a bug -- can you please turn on detailed logging
(http://wiki.netbeans.org/FaqRubyNBLogging), reproduce the issue and
send the log to me? Or better yet, create a ticket for this in our bug
tracker at http://www.netbeans.org/community/issues.html (the right
component would be ruby, subcomponent rails).
Does it work if you use the bundled JRuby 1.1.4 platform for creating
the project?
Erno
Kinsfire wrote:
| Quote: | I'm running ruby 1.8, Netbeans 6.5 (fresh install), and have gems and rails installed. It's on an XP machine with SP3.
Everything works fine when I try to follow the tutorial here at the netbeans.org site on the 10 minute blog. Except...
I can create the project. WHen I highlight the project name and right-click it, I get the menu that's topped with generate. When I click it, nothing happens. Nada. Zip. Zilch. No extra box asking me what I want to create/generate. I can't do the tutorial if part of it simply doesn't happen at all.
Did I miss an important part of installing Netbeans?
|
|
|
| Back to top |
|
 |
Kinsfire
Joined: 10 Feb 2009 Posts: 4
|
Posted: Tue Feb 10, 2009 11:25 pm Post subject: |
|
|
I do not get a response from clicking "Generate..." whether I use the built-in JRuby or the Ruby install I have.
I'm creating the ticket as soon as Netbeans re-opens for me. (cue Jeopardy theme...) |
|
| Back to top |
|
 |
PCke
Joined: 11 Feb 2009 Posts: 2
|
Posted: Wed Feb 11, 2009 12:52 pm Post subject: |
|
|
This bug is related to:
http://forums.netbeans.org/post-24094.html
You can see the error console on the right bottom on the screen if you click on the generate button.
I am also still waiting for a solution or a workaround |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Feb 11, 2009 1:16 pm Post subject: Weird problem with generating scaffold |
|
|
Hi,
PCke wrote:
| Quote: | This bug is related to:
http://forums.netbeans.org/post-24094.html
You can see the error console on the right bottom on the screen if you click on the generate button.
I am also still waiting for a solution or a workaround
|
Could you please try a dev build
(http://bits.netbeans.org/dev/nightly/latest/) and see if you have the
same problem there? I recently fixed something in this area which might
have solved the issue.
Thanks,
Erno |
|
| Back to top |
|
 |
Kinsfire
Joined: 10 Feb 2009 Posts: 4
|
Posted: Wed Feb 11, 2009 3:29 pm Post subject: |
|
|
I noticed that it states that there is a Java.null exception error when I try it.
Also, following the instructions to put the thing in debug mode leads to an interesting error where it seems to think that nothing is installed, based on the error message. |
|
| Back to top |
|
 |
MarkDavoren
Joined: 12 Feb 2009 Posts: 3
|
Posted: Thu Feb 12, 2009 11:57 pm Post subject: |
|
|
I had this problem. I believe it is due to netbean's interaction with JDK 6u12. Downgrading to JDK 1.6.0_07 "fixed" the problem.
I couldn't find the option to tell netbeans to switch jdk, so I uninstalled it and reinstalled it and selected jdk 1.6.0_07. I can now get the generate window.
A bit more info is at:
http://www.netbeans.org/issues/show_bug.cgi?id=157326
Mark. |
|
| Back to top |
|
 |
Chris Kutler Posted via mailing list.
|
Posted: Fri Feb 13, 2009 1:14 am Post subject: Weird problem with generating scaffold |
|
|
No need to uninstall and reinstall the IDE. See this blog for an easier
way to tell the IDE which JDK to use:
http://blogs.sun.com/divas/entry/telling_netbeans_ide_which_jdk
MarkDavoren wrote:
| Quote: | I had this problem. I believe it is due to netbean's interaction with JDK 6u12. Downgrading to JDK 1.6.0_07 "fixed" the problem.
I couldn't find the option to tell netbeans to switch jdk, so I uninstalled it and reinstalled it and selected jdk 1.6.0_07. I can now get the generate window.
A bit more info is at:
http://www.netbeans.org/issues/show_bug.cgi?id=157326
Mark.
|
--
Chris Kutler
------------
E ho mai ka ike mai luna mai e |
|
| Back to top |
|
 |
Kinsfire
Joined: 10 Feb 2009 Posts: 4
|
Posted: Fri Feb 13, 2009 4:05 am Post subject: |
|
|
It was definitely the version of JDK - when I installed 1.6u7, set the IDE to start with 7, I now get the response that I should from the program.
Thank you all. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Feb 13, 2009 7:53 am Post subject: Weird problem with generating scaffold |
|
|
Hi Mark,
Thanks for finding the culprit, indeed the generator panel
(accidentally) overrides the isValid method, causing problems with u12.
Incidentally, I was told about it already yesterday (when someone
searched the whole NB source tree for classes overridig isValid()), but
I didn't connect the dots with this particular issue. The fix should
make it to the next nightly build. This is a problem only with u12, so
you can safely use u11.
Thanks,
Erno
MarkDavoren wrote:
| Quote: | I had this problem. I believe it is due to netbean's interaction with JDK 6u12. Downgrading to JDK 1.6.0_07 "fixed" the problem.
I couldn't find the option to tell netbeans to switch jdk, so I uninstalled it and reinstalled it and selected jdk 1.6.0_07. I can now get the generate window.
A bit more info is at:
http://www.netbeans.org/issues/show_bug.cgi?id=157326
Mark.
|
|
|
| Back to top |
|
 |
|