junichi11 / cakephp3-netbeans

CakePHP3/4 support in NetBeans
Apache License 2.0
46 stars 10 forks source link

Error when creating a new CakePHP3 Framework app in NetBeans 8.2 #62

Closed pavulon18 closed 6 years ago

pavulon18 commented 6 years ago

Overview description

Creation of a new CakePHP3 Framework Application project in NetBeans results in a corrupted and unopenable project.

Steps to reproduce

I open NB IDE, go to New / Project. In the categories, I go to PHP and in the projects window, I select CakePHP3 Framework Application.

project creation step 1

Assign the project a name and a place to live in the file system.

Click "Finish"

project creation step 2

As it runs, it seems to run correctly until the end. At the end, I get the following screens: project creation failure screen 1

project creation failure screen 1a

project creation failure screen 1b

as well as the following error message: project creation error message

When I try to go back and "Open Project" through netbeans, I get an error message saying the project is corrupted.

Actual results

Corrupted Netbeans project

Expected results

Functional Netbeans CakePHP3 Framework Project

Version number of the plugin

Cakephp3-netbeans version 0.5.1

Version information of NetBeans

Netbeans 8.2

pavulon18 commented 6 years ago

Slight correction: Netbeans will let me "open" the project, but the project will be opened as "???" (three question marks) instead of the name given to it when the project was created.

I attempted to change the name of the project by right clicking on the "???" and selecting "Rename...". I immediately get a pop-up error message saying the project is corrupt and asking me if I want to open the "Project Problems dialog". If I choose "Yes", I am given a blank project problems dialog box. Nothing happens when I click the "Resolve" button.

junichi11 commented 6 years ago

Unfortunately, I cannot reproduce it... Could you look at your IDE log (perhaps, View > IDE log)? Then, could you also verify your nbproject/project.properties and project.xml?

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Java: 1.8.0_151; Java HotSpot(TM) 64-Bit Server VM 25.151-b12
Runtime: Java(TM) SE Runtime Environment 1.8.0_151-b12
System: Linux version 4.4.0-104-generic running on amd64; UTF-8;
pavulon18 commented 6 years ago

here are some highlights in the IDE Log. I can send you a copy of the full log, if that would be helpful. I'd rather not post it publicly, though.


Log Session: Wednesday, January 17, 2018 7:15:21 PM CST System Info: Product Version = NetBeans IDE 8.2 (Build 201705191307) (#5fd841261bf9) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_152; Java HotSpot(TM) 64-Bit Server VM 25.152-b16; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_152-b16 Java Home = C:\Program Files\Java\jdk1.8.0_152\jre System Locale; Encoding = en_US (nb); Cp1252 Home Directory = C:\Users\pavul Current Directory = C:\Program Files\NetBeans 8.2 User Directory = C:\Users\pavul\AppData\Roaming\NetBeans\8.2 Cache Directory = C:\Users\pavul\AppData\Local\NetBeans\Cache\8.2 Installation = C:\Program Files\NetBeans 8.2\nb C:\Program Files\NetBeans 8.2\ide C:\Program Files\NetBeans 8.2\extide C:\Program Files\NetBeans 8.2\java C:\Program Files\NetBeans 8.2\apisupport C:\Program Files\NetBeans 8.2\websvccommon C:\Program Files\NetBeans 8.2\profiler C:\Program Files\NetBeans 8.2\harness C:\Program Files\NetBeans 8.2\javafx C:\Program Files\NetBeans 8.2\platform Boot & Ext. Classpath = C:\Program Files\Java\jdk1.8.0_152\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_152\jre\classes;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_152\jre\lib\ext\zipfs.jar Application Classpath = C:\Program Files\NetBeans 8.2\platform\lib\boot.jar;C:\Program Files\NetBeans 8.2\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans 8.2\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans 8.2\platform\lib\org-openide-util-ui.jar;C:\Program Files\NetBeans 8.2\platform\lib\org-openide-util.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\boot_ja.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\boot_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\boot_ru.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\boot_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-modules_ja.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-modules_ru.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-ui_ja.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-ui_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-ui_ru.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util-ui_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util_ja.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util_ru.jar;C:\Program Files\NetBeans 8.2\platform\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files\Java\jdk1.8.0_152\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_152\lib\tools.jar Startup Classpath = C:\Users\pavul\AppData\Roaming\NetBeans\8.2\core\org-openide-filesystems.jar;C:\Users\pavul\AppData\Roaming\NetBeans\8.2\core\locale\org-openide-filesystems_ja.jar;C:\Users\pavul\AppData\Roaming\NetBeans\8.2\core\locale\org-openide-filesystems_pt_BR.jar;C:\Users\pavul\AppData\Roaming\NetBeans\8.2\core\locale\org-openide-filesystems_ru.jar;C:\Users\pavul\AppData\Roaming\NetBeans\8.2\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\core\asm-all-5.0.1.jar;C:\Program Files\NetBeans 8.2\platform\core\core-base.jar;C:\Program Files\NetBeans 8.2\platform\core\core.jar;C:\Program Files\NetBeans 8.2\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\NetBeans 8.2\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core-base_ja.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core-base_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core-base_ru.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core-base_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core_ja.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core_ru.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\core_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-netbeans-libs-asm_ja.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-netbeans-libs-asm_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-netbeans-libs-asm_ru.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-netbeans-libs-asm_zh_CN.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-openide-filesystems-compat8_ja.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-openide-filesystems-compat8_pt_BR.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-openide-filesystems-compat8_ru.jar;C:\Program Files\NetBeans 8.2\platform\core\locale\org-openide-filesystems-compat8_zh_CN.jar;C:\Program Files\NetBeans 8.2\nb\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\core_nb.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\core_nb_ja.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\core_nb_pt_BR.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\core_nb_ru.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\core_nb_zh_CN.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\org-netbeans-upgrader_ja.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\org-netbeans-upgrader_pt_BR.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\org-netbeans-upgrader_ru.jar;C:\Program Files\NetBeans 8.2\nb\core\locale\org-netbeans-upgrader_zh_CN.jar

INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Program Files/NetBeans 8.2/ WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.form.nb] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.) WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.apisupport.ant, org.netbeans.modules.java.hints, org.netbeans.modules.maven.hints, org.netbeans.modules.maven.j2ee, org.netbeans.modules.web.beans] use org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java Hints SPI (org.netbeans.spi.java.hints) instead. Cannot migrate automatically. Found a manually altered configuration for the 'Open URL at GIT repository hoster' plugin. In the plugin options reset the configuration and then reintroduce your changes. WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [CtpResolver.xml, ctp-Registration.xml, org-netbeans-gradle-project-filesupport-GradleDataObject-Extension.xml, dotcake-Registration.xml], but some are: [org-openide-loaders-DataLoaderPool$InstanceLoaderSystem-Extension.xml, org-netbeans-core-startup-layers-SystemFileSystem-Extension.xml, org-netbeans-modules-java-JavaDataObject-Extension.xml, org-netbeans-modules-java-ClassDataObject-Extension.xml, org-netbeans-modules-image-ImageDataObject-serialVersionUID-Extension.xml, org-netbeans-modules-image-ImageDataObject-IMAGE_ICON_BASE-Extension.xml, org-netbeans-modules-image-ImageDataObject-openSupport-Extension.xml, org-netbeans-modules-image-ImageDataObject-printSupport-Extension.xml, org-netbeans-modules-properties-PropertiesDataObject-Extension.xml, org-netbeans-modules-javascript-gulp-file-Gulpfile-Registration.xml, org-netbeans-modules-javascript-grunt-file-Gruntfile-Registration.xml, org-netbeans-modules-javascript2-editor-JsonLanguage-createMultiViewEditorElement-Registration.xml, org-netbeans-modules-javascript-karma-util-KarmaUtils-Registration.xml, org-netbeans-modules-javascript-nodejs-file-PackageJson-Registration.xml, org-netbeans-modules-javascript-bower-file-BowerJson-Registration.xml, org-netbeans-modules-javascript-bower-file-BowerrcJson-Registration.xml, org-netbeans-modules-languages-manifest-MfDataObject-Extension.xml, org-netbeans-modules-languages-apacheconf-ApacheConfDataObject-Registration.xml, org-netbeans-modules-javascript-jstestdriver-JSTestDriverSupport-Registration.xml, org-netbeans-modules-languages-ini-IniDataObject-Extension.xml, org-netbeans-modules-languages-neon-NeonDataObject-Extension.xml, org-netbeans-modules-form-FormDataLoader-Extension.xml, org-netbeans-core-ide-ServiceTabProcessor-Extension.xml, org-netbeans-modules-testng-ui-wizards-TestNGSuiteDataObject-Registration.xml, org-netbeans-modules-css-editor-CssProjectSupport-Extension.xml, org-netbeans-modules-languages-diff-DiffDataObject-Extension.xml, org-netbeans-modules-javascript2-editor-JsLanguage-createMultiViewEditorElement-Extension.xml, org-netbeans-modules-javascript2-editor-JsonLanguage-createMultiViewEditorElement-Extension.xml, org-netbeans-modules-db-sql-loader-SQLDataObject-Extension.xml, org-netbeans-modules-javawebstart-JnlpDataObject-Extension.xml, org-netbeans-modules-j2ee-persistence-unit-PUDataObject-Registration.xml, org-netbeans-modules-groovy-gsp-GspLanguage-Extension.xml, org-netbeans-modules-languages-yaml-YamlLanguage-Extension.xml, org-netbeans-modules-groovy-editor-api-parser-GroovyLanguage-Extension.xml, org-netbeans-modules-php-editor-index-PHPIndexer-LOG-Extension.xml, org-netbeans-modules-html-HtmlDataObject-Registration.xml, org-netbeans-modules-maven-grammar-POMDataObject-Registration.xml, org-apache-tools-ant-module-loader-AntProjectDataObject-Registration.xml, org-netbeans-modules-apisupport-project-layers-LayerDataObject-Namespace.xml, org-netbeans-modules-editor-settings-storage-SettingsProvider-Registration.xml, org-netbeans-modules-j2ee-ddloaders-common-DD2beansDataObject-Registration.xml, org-netbeans-modules-j2ee-sun-ddloaders-SunDescriptorDataObject-Registration.xml, org-netbeans-modules-url-URLDataObject-Extension.xml, org-netbeans-modules-pdf-PDFDataObject-Extension.xml, org-netbeans-modules-tomcat5-ui-nodes-TomcatInstanceNode-createMultiViewEditorElement-Registration.xml, org-netbeans-modules-web-core-jsploader-JspDataObject-Registration.xml, org-netbeans-modules-web-jsf-JSFConfigDataObject-Registration.xml, org-netbeans-modules-web-struts-StrutsConfigDataObject-Namespace.xml, org-netbeans-modules-spring-beans-loader-SpringXMLConfigDataObject-Namespace.xml, org-netbeans-modules-xsl-XSLDataObject-Namespace.xml, org-netbeans-modules-java-jarloader-JarDataObject-Registration.xml, org-netbeans-modules-xml-jaxb-JAXBWizard-Extension.xml, org-netbeans-lib-editor-codetemplates-storage-CodeTemplatesStorage-Namespace.xml, org-netbeans-modules-editor-macros-storage-MacrosStorage-Namespace.xml, mimeresolver-Registration.xml, org-netbeans-modules-web-beans-BeansDataObject-Namespace.xml, org-netbeans-modules-j2ee-sun-ide-sunresources-resourcesloader-SunResourceDataObject-Extension.xml, org-netbeans-modules-profiler-oql-language-OQLLanguageProvider-Extension.xml, org-netbeans-modules-dbschema-jdbcimpl-DBschemaDataObject-Extension.xml, org-netbeans-modules-css-prep-editor-less-LessCslLanguage-Extension.xml, org-netbeans-modules-css-prep-editor-scss-ScssCslLanguage-Extension.xml, org-netbeans-modules-hibernate-loaders-cfg-HibernateCfgDataObject-Namespace.xml, org-netbeans-modules-hibernate-loaders-mapping-HibernateMappingDataObject-Namespace.xml, org-netbeans-modules-hibernate-loaders-reveng-HibernateRevengDataObject-Namespace.xml, org-netbeans-modules-hibernate-hqleditor-ui-HQLEditorTopComponent-Extension.xml, org-netbeans-modules-j2ee-persistence-jpqleditor-ui-JPQLEditorTopComponent-Extension.xml, org-netbeans-modules-profiler-snaptracer-impl-NpssDataObject-Registration.xml, org-netbeans-modules-java-hints-declarative-HintDataObject-Extension.xml, org-netbeans-modules-javafx2-editor-fxml-FXMLDataObject-Extension.xml, org-netbeans-modules-form-palette-PaletteItemDataObject-Extension.xml, org-netbeans-modules-xml-XMLDataObject-MIME_PLAIN_XML-Registration.xml, org-netbeans-modules-xml-DTDDataObject-Extension.xml, org-netbeans-modules-xml-EntityDataObject-Extension.xml, org-netbeans-modules-xml-XMLDataObject-MIME_XSD_XML-Registration.xml, org-netbeans-libs-freemarker-FreemarkerFactory-Registration.xml, org-netbeans-modules-apisupport-project-layers-LayerDataObject-Registration.xml, resources-Registration.xml, org-netbeans-modules-profiler-ui-NpsDataObject-Registration.xml, org-netbeans-modules-profiler-ui-HprofDataObject-Registration.xml, org-netbeans-modules-javascript-nodejs-file-NodeMimeResolver-Registration.xml, org-netbeans-modules-xml-XMLDataObject-Registration.xml, org-netbeans-modules-java-hints-declarative-test-DeclarativeHintsTestDataObject-Extension.xml, org-netbeans-modules-defaults-mime-wav.xml] WARNING [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]: Ineffective registration of resolver Services/MIMEResolver/CtpResolver.xml use @MIMEResolver.Registration! See bug #191777. WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [CtpResolver.xml, ctp-Registration.xml, dotcake-Registration.xml, org-netbeans-gradle-project-filesupport-GradleDataObject-Extension.xml], but some are: [org-openide-loaders-DataLoaderPool$InstanceLoaderSystem-Extension.xml, org-netbeans-core-startup-layers-SystemFileSystem-Extension.xml, org-netbeans-modules-java-JavaDataObject-Extension.xml, org-netbeans-modules-java-ClassDataObject-Extension.xml, org-netbeans-modules-image-ImageDataObject-serialVersionUID-Extension.xml, org-netbeans-modules-image-ImageDataObject-IMAGE_ICON_BASE-Extension.xml, org-netbeans-modules-image-ImageDataObject-openSupport-Extension.xml, org-netbeans-modules-image-ImageDataObject-printSupport-Extension.xml, org-netbeans-modules-properties-PropertiesDataObject-Extension.xml, org-netbeans-modules-javascript-gulp-file-Gulpfile-Registration.xml, org-netbeans-modules-javascript-grunt-file-Gruntfile-Registration.xml, org-netbeans-modules-javascript2-editor-JsonLanguage-createMultiViewEditorElement-Registration.xml, org-netbeans-modules-javascript-karma-util-KarmaUtils-Registration.xml, org-netbeans-modules-javascript-nodejs-file-PackageJson-Registration.xml, org-netbeans-modules-javascript-bower-file-BowerJson-Registration.xml, org-netbeans-modules-javascript-bower-file-BowerrcJson-Registration.xml, org-netbeans-modules-languages-manifest-MfDataObject-Extension.xml, org-netbeans-modules-languages-apacheconf-ApacheConfDataObject-Registration.xml, org-netbeans-modules-javascript-jstestdriver-JSTestDriverSupport-Registration.xml, org-netbeans-modules-languages-ini-IniDataObject-Extension.xml, org-netbeans-modules-languages-neon-NeonDataObject-Extension.xml, org-netbeans-modules-form-FormDataLoader-Extension.xml, org-netbeans-core-ide-ServiceTabProcessor-Extension.xml, org-netbeans-modules-testng-ui-wizards-TestNGSuiteDataObject-Registration.xml, org-netbeans-modules-css-editor-CssProjectSupport-Extension.xml, org-netbeans-modules-languages-diff-DiffDataObject-Extension.xml, org-netbeans-modules-javascript2-editor-JsLanguage-createMultiViewEditorElement-Extension.xml, org-netbeans-modules-javascript2-editor-JsonLanguage-createMultiViewEditorElement-Extension.xml, org-netbeans-modules-db-sql-loader-SQLDataObject-Extension.xml, org-netbeans-modules-javawebstart-JnlpDataObject-Extension.xml, org-netbeans-modules-j2ee-persistence-unit-PUDataObject-Registration.xml, org-netbeans-modules-groovy-gsp-GspLanguage-Extension.xml, org-netbeans-modules-languages-yaml-YamlLanguage-Extension.xml, org-netbeans-modules-groovy-editor-api-parser-GroovyLanguage-Extension.xml, org-netbeans-modules-php-editor-index-PHPIndexer-LOG-Extension.xml, org-netbeans-modules-html-HtmlDataObject-Registration.xml, org-netbeans-modules-maven-grammar-POMDataObject-Registration.xml, org-apache-tools-ant-module-loader-AntProjectDataObject-Registration.xml, org-netbeans-modules-apisupport-project-layers-LayerDataObject-Namespace.xml, org-netbeans-modules-editor-settings-storage-SettingsProvider-Registration.xml, org-netbeans-modules-j2ee-ddloaders-common-DD2beansDataObject-Registration.xml, org-netbeans-modules-j2ee-sun-ddloaders-SunDescriptorDataObject-Registration.xml, org-netbeans-modules-url-URLDataObject-Extension.xml, org-netbeans-modules-pdf-PDFDataObject-Extension.xml, org-netbeans-modules-tomcat5-ui-nodes-TomcatInstanceNode-createMultiViewEditorElement-Registration.xml, org-netbeans-modules-web-core-jsploader-JspDataObject-Registration.xml, org-netbeans-modules-web-jsf-JSFConfigDataObject-Registration.xml, org-netbeans-modules-web-struts-StrutsConfigDataObject-Namespace.xml, org-netbeans-modules-spring-beans-loader-SpringXMLConfigDataObject-Namespace.xml, org-netbeans-modules-xsl-XSLDataObject-Namespace.xml, org-netbeans-modules-java-jarloader-JarDataObject-Registration.xml, org-netbeans-modules-xml-jaxb-JAXBWizard-Extension.xml, org-netbeans-lib-editor-codetemplates-storage-CodeTemplatesStorage-Namespace.xml, org-netbeans-modules-editor-macros-storage-MacrosStorage-Namespace.xml, mimeresolver-Registration.xml, org-netbeans-modules-web-beans-BeansDataObject-Namespace.xml, org-netbeans-modules-j2ee-sun-ide-sunresources-resourcesloader-SunResourceDataObject-Extension.xml, org-netbeans-modules-profiler-oql-language-OQLLanguageProvider-Extension.xml, org-netbeans-modules-dbschema-jdbcimpl-DBschemaDataObject-Extension.xml, org-netbeans-modules-css-prep-editor-less-LessCslLanguage-Extension.xml, org-netbeans-modules-css-prep-editor-scss-ScssCslLanguage-Extension.xml, org-netbeans-modules-hibernate-loaders-cfg-HibernateCfgDataObject-Namespace.xml, org-netbeans-modules-hibernate-loaders-mapping-HibernateMappingDataObject-Namespace.xml, org-netbeans-modules-hibernate-loaders-reveng-HibernateRevengDataObject-Namespace.xml, org-netbeans-modules-hibernate-hqleditor-ui-HQLEditorTopComponent-Extension.xml, org-netbeans-modules-j2ee-persistence-jpqleditor-ui-JPQLEditorTopComponent-Extension.xml, org-netbeans-modules-profiler-snaptracer-impl-NpssDataObject-Registration.xml, org-netbeans-modules-java-hints-declarative-HintDataObject-Extension.xml, org-netbeans-modules-javafx2-editor-fxml-FXMLDataObject-Extension.xml, org-netbeans-modules-form-palette-PaletteItemDataObject-Extension.xml, org-netbeans-modules-xml-XMLDataObject-MIME_PLAIN_XML-Registration.xml, org-netbeans-modules-xml-DTDDataObject-Extension.xml, org-netbeans-modules-xml-EntityDataObject-Extension.xml, org-netbeans-modules-xml-XMLDataObject-MIME_XSD_XML-Registration.xml, org-netbeans-libs-freemarker-FreemarkerFactory-Registration.xml, org-netbeans-modules-apisupport-project-layers-LayerDataObject-Registration.xml, resources-Registration.xml, org-netbeans-modules-profiler-ui-NpsDataObject-Registration.xml, org-netbeans-modules-profiler-ui-HprofDataObject-Registration.xml, org-netbeans-modules-javascript-nodejs-file-NodeMimeResolver-Registration.xml, org-netbeans-modules-xml-XMLDataObject-Registration.xml, org-netbeans-modules-java-hints-declarative-test-DeclarativeHintsTestDataObject-Extension.xml, org-netbeans-modules-defaults-mime-wav.xml] Cannot migrate automatically. Found a manually altered configuration for the 'Open URL at GIT repository hoster' plugin.

INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 16,039,284,736 WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.executable for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.framework for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.phpmodule for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.composer for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.composer for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.framework for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.executable for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.phpmodule for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [null]: Last record repeated again. WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.executable for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.framework for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.phpmodule for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.composer for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.composer for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.framework for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.executable for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.phpmodule for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.apisupport.project]: Warning - could not find dependent module org.netbeans.modules.php.api.editor for C:\Users\pavul\Downloads\cakephp3-netbeans-master WARNING [org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformImpl]: No sun.boot.class.path property in platform JDK 9, broken platform? WARNING [org.netbeans.JarClassLoader]: Opening C:\Users\pavul\AppData\Roaming\NetBeans\8.2\modules\ext\kxml2-2.3.0.jar took 609 ms

WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.modules.apisupport.project.NbModuleProject$4.run(NbModuleProject.java:760) WARNING [org.openide.awt.Toolbar]: Too long AWTTask: 7,398 ms for org.openide.awt.MenuBar$LazyMenu$MenuFolder@526d5bac(FolderList{MultiFileObject@6aa51e79[Menu/Profile]}) WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [com-peter-mavenrunner-MavenRunnerTopComponent.shadow], but some are: [org-netbeans-modules-project-ui-logical-tab-action.shadow, org-netbeans-modules-project-ui-physical-tab-action.shadow, org-netbeans-modules-favorites-View.shadow, org-netbeans-core-ide-ServicesTabAction.shadow, org-netbeans-modules-navigator-ShowNavigatorAction.shadow, org-netbeans-modules-tasklist-ui-TaskListAction.shadow, org-netbeans-modules-tasks-ui-DashboardTopComponent.shadow, org-netbeans-core-io-ui-IOWindowAction.shadow, SwitchToRecentDocumentAction.shadow, Debug, Profile, Web, Tools, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, GroupsMenuAction.shadow, DocumentsAction.shadow] WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.api.editor WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.api.executable WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.api.framework WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.api.phpmodule WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.composer WARNING [org.netbeans.modules.apisupport.project]: Detected dependency on module which cannot be found in the current module's universe (platform, suite): org.netbeans.modules.php.editor

pavulon18 commented 6 years ago

I downloaded the source from GitHub. file: CakePHP3ActionsExtender.java

The following imports cannot be found: import org.netbeans.modules.php.api.phpmodule.PhpModule; import org.netbeans.modules.php.spi.framework.PhpModuleActionsExtender; import org.netbeans.modules.php.spi.framework.actions.GoToActionAction; import org.netbeans.modules.php.spi.framework.actions.GoToViewAction; import org.netbeans.modules.php.spi.framework.actions.RunCommandAction;

File: CakePHP3FrameworkProvider.java cannot find the following imports import org.netbeans.modules.php.api.framework.BadgeIcon; import org.netbeans.modules.php.api.phpmodule.PhpModule; import org.netbeans.modules.php.api.phpmodule.PhpModuleProperties; import org.netbeans.modules.php.spi.editor.EditorExtender; import org.netbeans.modules.php.spi.framework.PhpFrameworkProvider; import org.netbeans.modules.php.spi.framework.PhpModuleActionsExtender; import org.netbeans.modules.php.spi.framework.PhpModuleCustomizerExtender; import org.netbeans.modules.php.spi.framework.PhpModuleExtender; import org.netbeans.modules.php.spi.framework.PhpModuleIgnoredFilesExtender; import org.netbeans.modules.php.spi.framework.commands.FrameworkCommandSupport; import org.netbeans.modules.php.spi.phpmodule.ImportantFilesImplementation;

There are more unfounded imports in other files, but this gives you an idea of what I am seeing.

junichi11 commented 6 years ago

Probably, you are using NetBeans for PHP. So you cannot import them, I guess.

Please try to look at the IDE log after the Exception(your last image) occurred.

could you also verify your nbproject/project.properties and project.xml?

Did you try to look at this?

pavulon18 commented 6 years ago

I'll check the IDE log after the exception as you asked.

nbproject/project.properties javac.source=1.7 javac.compilerargs=-Xlint -Xlint:-serial license.file=license.txt nbm.homepage=https://github.com/junichi11/cakephp3-netbeans nbm.module.author=junichi11(Junichi Yamamoto) project.license=cddl-netbeans-sun keystore=nbproject/private/keystore nbm_alias=cakephp3

project.xml (not sure what I'm looking for here. Sorry). <?xml version="1.0" encoding="UTF-8"?>

org.netbeans.modules.apisupport.project org.netbeans.modules.php.cake3 org.netbeans.api.annotations.common 1 1.24.1 org.netbeans.api.progress 1 1.46.1 org.netbeans.api.progress.nb 1.46.1 org.netbeans.api.templates 1.5.1 org.netbeans.core.multitabs 1 1.11.1.1 org.netbeans.libs.json_simple 1 0.9.1 org.netbeans.modules.csl.api 2 2.47.1.2.1.1.8 org.netbeans.modules.csl.types 1 1.0.1 org.netbeans.modules.editor 3 1.79.1.5.22.43 org.netbeans.modules.editor.codetemplates 1 1.38.1.1 org.netbeans.modules.editor.completion 1 1.40.1.2 org.netbeans.modules.editor.document 1.5.1.1 org.netbeans.modules.editor.lib 3 3.49.2.22.43 org.netbeans.modules.editor.lib2 1 org.netbeans.modules.editor.mimelookup 1 1.36.1 org.netbeans.modules.extexecution 2 1.42.1 org.netbeans.modules.extexecution.base 2 1.1.1 org.netbeans.modules.lexer 2 1.59.1.1 org.netbeans.modules.options.api 1 1.41.1 org.netbeans.modules.parsing.api 1 1.78.3.8 org.netbeans.modules.parsing.indexing 9.6.1.1.1.8 org.netbeans.modules.php.api.editor 0 0.24.1 org.netbeans.modules.php.api.executable 0 0.30.1 org.netbeans.modules.php.api.framework 0 0.24.1 org.netbeans.modules.php.api.phpmodule 2.53.1 org.netbeans.modules.php.composer 0 0.29.1 org.netbeans.modules.php.editor org.netbeans.modules.projectapi 1 1.66.1 org.netbeans.modules.projectuiapi 1 1.78.1.8 org.netbeans.modules.projectuiapi.base 1 1.85.1.9 org.netbeans.swing.tabcontrol 1.54.1 org.openide.actions 6.39.1 org.openide.awt 7.62.1 org.openide.dialogs 7.38.1 org.openide.filesystems 9.8.1 org.openide.io 1.45.1 org.openide.loaders 7.57.2 org.openide.nodes 7.39.1 org.openide.text 6.62.2 org.openide.util 8.39.1 org.openide.util.lookup 8.25.1 org.openide.util.ui 9.3.1 org.openide.windows 6.71.1 unit org.netbeans.insane org.netbeans.libs.junit4 org.netbeans.modules.nbjunit
junichi11 commented 6 years ago

I meant not this module(cakephp3-netbeans) but your CakePHP3 project. i.e. ErrorMessageProject/nbproject/project.properties and ErrorMessageProject/nbproject/project.xml Probably, these files are broken or missing.

pavulon18 commented 6 years ago

whoops. my bad. i'll get you the correct information.

pavulon18 commented 6 years ago

These are from my project I tried to create. nbproject/project.properties: include.path=${php.global.include.path} php.version=PHP_70 source.encoding=UTF-8 src.dir=. tags.asp=false tags.short=false web.root=.

nbproject/project.xml: <?xml version="1.0" encoding="UTF-8"?>

org.netbeans.modules.php.project app
pavulon18 commented 6 years ago

from my IDE log WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.processtreekiller.ProcessTreeKiller$Windows.(ProcessTreeKiller.java:187) WARNING [org.openide.WizardDescriptor] java.lang.IllegalArgumentException: Project org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject@50dda7ce was not recognized as an Ant-based project at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:226) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:123) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:250) at org.openide.util.Mutex.writeAccess(Mutex.java:299) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:123) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:104) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject0(PhpProjectGenerator.java:168) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject(PhpProjectGenerator.java:122) at org.netbeans.modules.php.project.util.PhpModuleGeneratorImpl.createModule(PhpModuleGeneratorImpl.java:61) at org.netbeans.modules.php.cake3.ui.wizards.CakePHP3NewProjectWizardIterator.instantiate(CakePHP3NewProjectWizardIterator.java:126) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605) at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:76) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

junichi11 commented 6 years ago

These are from my project I tried to create.

Thank you. Umm, It seems that they have no problems...

my project.properties:

auxiliary.org-netbeans-modules-php-cake3.enabled=true
include.path=${php.global.include.path}
php.version=PHP_54
source.encoding=UTF-8
src.dir=.
tags.asp=false
tags.short=false
web.root=.

my project.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
    <type>org.netbeans.modules.php.project</type>
    <configuration>
        <data xmlns="http://www.netbeans.org/ns/php-project/1">
            <name>ErrorMessageProject</name>
        </data>
    </configuration>
</project>
junichi11 commented 6 years ago

from my IDE log

Thank you for this log. I'll try to look at it later.

pavulon18 commented 6 years ago

java.lang.IllegalArgumentException: Project org.netbeans.modules.project.ui.convertor.ProjectConvertorFactory$ConvertorProject@67dd30f9 was not recognized as an Ant-based project at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:226) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:123) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:250) at org.openide.util.Mutex.writeAccess(Mutex.java:299) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:123) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:104) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject0(PhpProjectGenerator.java:168) at org.netbeans.modules.php.project.util.PhpProjectGenerator.createProject(PhpProjectGenerator.java:122) at org.netbeans.modules.php.project.util.PhpModuleGeneratorImpl.createModule(PhpModuleGeneratorImpl.java:61) at org.netbeans.modules.php.cake3.ui.wizards.CakePHP3NewProjectWizardIterator.instantiate(CakePHP3NewProjectWizardIterator.java:126) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605) at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:76) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570) at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

junichi11 commented 6 years ago

I've looked at the Exception position. But I'm not sure the cause... Umm, I've installed a CakePHP3 project on Windows 10. However, I cannot reproduce this.

Could you do that using another project name again? (Please don't do anything after you click the finish button.)

pavulon18 commented 6 years ago

Ok. I ran through the steps a second time using a different name. I used the name "payroll" for my project name this time.

showing the initial directory structure. The directory "payroll" does not exist prior to the creation of the project. initial directory structure

Shows a fresh run of Netbeans. I have no other projects opened. initial netbeans

I select the type of project I want from the list of available projects. project selection

I specify the name and the location of the project files. project build location

After the project runs through all of the steps to setup the files and directories, I get this error message. after project creation

A picture of one of the two error messages first error message

I had to run the setup a second time to capture this next error message as I missed it and accidentally dismissed it when I initially ran the project creation. If the project names are different, that is the reason. StackTrace.txt

The following is a copy of the messages displayed while the project was being created. Project Creation Output.txt

I have also reported this bug to Netbeans through the automagic issue submitter. http://statistics.netbeans.org/analytics/exception.do?id=870276 http://statistics.netbeans.org/analytics/detail.do?id=217542

I don't know if these links will help you. If I can do anything else, please let me know. I would really like to see this project continue.

junichi11 commented 6 years ago

Thank you for your information. Sorry, I have no idea at the moment... Probably, this is not this plugin's issue. If you can create a project in another folder(e.g. your home folder), the cause might relate to OS.

As another verification: Please try to create a new CakePHP3 project manually. i.e. run the composer command (composer create-project --no-interaction --prefer-dist cakephp/app your-app-name) in C:\wamp64\www Then create a new NetBeans Project from existing source(your-app-name). If this way works well, you can use it as a workaround. Otherwise, this is not plugin's problem. Sorry for the inconvenience.

pavulon18 commented 6 years ago

I attempted to create the project using Netbeans plugin in my home directory with the same outcome.

I next followed the CLI commands given above. composer create-project --no-interaction --prefer-dist cakephp/app your-app-name seemed to work flawlessly.

When I attempted to create the new project from existing sources, I get this error message. manual project creation error on import

I did some research on the error message. I hope some of this helps....

from http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-project-ant/org/netbeans/spi/project/support/ant/ProjectGenerator.html Throws: IOException - if there is a problem physically creating the project IllegalArgumentException - if the project type does not match a registered Ant-based project type factory or if the directory is already recognized as some kind of project or if the new project on disk is recognized by some other factory


Here is a similar problem which might give some clues from: https://github.com/kelemen/netbeans-gradle-project/issues/356

This seems to be a problem in NB itself (or rather the web.clientproject subproject) not this plugin. This is what happens:

ClientSideProjectConvertor sees a bower.json or package.json in the directory
Due to the request of ClientSideProjectConvertor NB will try to create a project in the directory.
NB realizes that a project cannot be created there (because there is already a project there), so it fails.

My recommendation for a fix would to have ClientSideProjectConvertor check if a project is already there or better: whoever tries to create a project based on the request should not do so, if a project is already there.

You should report this issue here: https://issues.apache.org/jira/projects/NETBEANS


and finally on bugzilla https://netbeans.org/bugzilla/show_bug.cgi?id=252593

junichi11 commented 6 years ago

Unfortunately, I cannot do anything because probably this is another module's problem as kelemen wrote...

Just one idea: Please try to remove your cache directory (see Help > About > Cache directory). Also, please try to remove your user directory(see Help > About > User directory) if possible. Note that your settings(Options) will be initialized.

pavulon18 commented 6 years ago

I removed those two directories as requested. After I got everything set back up and installed, I was able to successfully create a new project using this plugin.

junichi11 commented 6 years ago

Great!