You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/05/27 20:24:00 UTC
[jira] [Updated] (NETBEANS-4250) PHP: Symfony 2/3 support - create
new project wizard
[ https://issues.apache.org/jira/browse/NETBEANS-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomáš Procházka updated NETBEANS-4250:
--------------------------------------
Component/s: php - Symfony
> PHP: Symfony 2/3 support - create new project wizard
> ----------------------------------------------------
>
> Key: NETBEANS-4250
> URL: https://issues.apache.org/jira/browse/NETBEANS-4250
> Project: NetBeans
> Issue Type: Bug
> Components: php - Symfony
> Affects Versions: 12.0
> Environment: Windows
> Reporter: Czukowski
> Priority: Minor
>
> Synergy test case: [Create Symfony2 project|https://netbeans-vm.apache.org/synergy/client/app/#/case/6257/suite/1741/v/1]
> The installer usage is probably wrong. In New project wizard, if Symfony 2/3 PHP Web Framework is selected, the installer runs, but ends with error. An exception notification is shown and the wizard window is not closed.
> Clicking Finish again results in an error dialog with this message: "Project was not created because it already exists (maybe only in memory)". The project is not open at this point, but it opens when the dialog is dismissed.
> Output window contains the installer execution:
> {code}
> "C:\Xampp\htdocs\Symfony\symfony.exe" "--ansi" "--no-interaction" "new" "PhpProject16" "lts"
>
> Incorrect usage: Too many arguments
>
> Usage:
> symfony.exe local:new [options] [--] [<directory>]
> Arguments:
> directory Directory of the project to create
>
> Options:
> --dir=value Project directory
> --version=value The version of the Symfony skeleton (a version or one of "lts", "stable", "next", or "previous")
> --full Use github.com/symfony/website-skeleton
> --demo Use github.com/symfony/demo
> --book Clone the Symfony 5: The Fast Track book project
> --no-git Do not initialize Git
> --cloud Initialize SymfonyCloud
> --debug Display commands output
> --help, -h Show help
>
> Done.
> {code}
> Exception information:
> {code}
> java.lang.NullPointerException
> at org.netbeans.modules.php.symfony2.SymfonyPhpModuleExtender.copyFiles(SymfonyPhpModuleExtender.java:146)
> at org.netbeans.modules.php.symfony2.SymfonyPhpModuleExtender.extend(SymfonyPhpModuleExtender.java:122)
> at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.extendPhpModule(NewPhpProjectWizardIterator.java:584)
> at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.instantiate(NewPhpProjectWizardIterator.java:266)
> at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1048)
> at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
> at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
> at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
> at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:228)
> at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:155)
> at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1602)
> at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
> at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
> [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {code}
> Also, test case steps need to be updated: for Windows, the default download option is a {{setup.exe}} file which unpacks the actual installer I used above ({{symfony.exe}}) and as such the {{setup.exe}} could be confused for the actual installed that is to be configured in NetBeans.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists