junichi11 / fuelphp-netbeans

Support for FuelPHP Framework
26 stars 3 forks source link

java.lang.NullPointerException at org.netbeans.modules.php.fuel.commands.ui.FuelPhpGeneratePanel.setControllerExtendsComboBox(FuelPhpGeneratePanel.java:263) #11

Closed ladariha closed 11 years ago

ladariha commented 11 years ago

Originally reported against NetBeans, for stacktrace please see

https://netbeans.org/bugzilla/show_bug.cgi?id=229150

User Comments: kzsfluxus: Using fuelphp plugin, fuelphp->generate.

windows xp sp3, netbeans 7.3

junichi11 commented 11 years ago

@ladariha Thank you!

kzsfluxus commented 11 years ago

netbeans 7.3 windows xp sp3 fuelphp plugin 0.7.0

i've got this exception every time i try to use fuelphp->generate, fuelphp->run command menu works perfectly.

junichi11 commented 11 years ago

I see. This is a bug.

Is your controller directory is empty? If so, the workaround is to create the controller file in app/classes/controller

I'll try to fix it.

Thanks for reporting!

kzsfluxus commented 11 years ago

NO, the controller directory is not empty.

But, my index.php is in the webroot directory. The fuelphp folder is in the c:\ root, and i renamed the app folder to localhost

Zs.

2013/4/30 junichi11 notifications@github.com

I see. This is a bug.

Is your controller directory is empty? If so, the workaround is to create the controller file in app/classes/controller

I'll try to fix it.

Thanks for reporting!

— Reply to this email directly or view it on GitHubhttps://github.com/junichi11/fuelphp-netbeans/issues/11#issuecomment-17225834 .

junichi11 commented 11 years ago

@kzsfluxus

I assume that app directory name is not changed. So if you change it to another name, I guess that other features for plugin also don't work.

You can change only fuel directory name in this plugin.

And currently, It doesn't seem that Run Command action work if user uses other fuel directory names. I'll also fix it.

kzsfluxus commented 11 years ago

Thank you for the information, i will rerename the app folder...

2013/4/30 junichi11 notifications@github.com

@kzsfluxus https://github.com/kzsfluxus

I assume that app directory name is not changed. So if you change it to another name, I guess that other features for plugin also don't work.

You can change only fuel directory name in this plugin.

And currently, It doesn't seem that Run Command action work if user uses other fuel directory names. I'll also fix it.

— Reply to this email directly or view it on GitHubhttps://github.com/junichi11/fuelphp-netbeans/issues/11#issuecomment-17227388 .

kzsfluxus commented 11 years ago

I've renamed the app folder to app and now the generate menu works perfectly

2013/4/30 kzsfluxus . kzsfluxus@gmail.com

Thank you for the information, i will rerename the app folder...

2013/4/30 junichi11 notifications@github.com

@kzsfluxus https://github.com/kzsfluxus

I assume that app directory name is not changed. So if you change it to another name, I guess that other features for plugin also don't work.

You can change only fuel directory name in this plugin.

And currently, It doesn't seem that Run Command action work if user uses other fuel directory names. I'll also fix it.

— Reply to this email directly or view it on GitHubhttps://github.com/junichi11/fuelphp-netbeans/issues/11#issuecomment-17227388 .

junichi11 commented 11 years ago

@kzsfluxus

I see. Thanks for letting me know. If you can not run "Run Command Action", Please fix the oil file (see https://github.com/junichi11/fuelphp-netbeans/issues/12)