当前位置: 首页 > 知识库问答 >
问题:

无法在NetBeans 8.2和Apache 11 W/JDK 8U221中创建PHP项目(挂起40%)

慕容康安
2023-03-14

我有一台新的Windows10笔记本电脑,并在上面安装了NetBeans8.2。我试图用现有的源代码创建一个PHP项目,但这一直停留在40%。再次尝试多次,重新引导、删除和重新安装NetBeans都无济于事。

我需要这个项目工作。因此,我删除了NetBeans8.2并安装了Apache NetBeans11。我在创建项目时也遇到了同样的问题。进度停留在40%,IDE日志中有一个Java错误(Java.lang.NullPointerException)。

Googlen这个问题似乎表明我应该尝试手动安装JDK,并在/etc/netbeans.conf中设置它的位置。我这样做了,重新打开了Apache NetBeans。尝试创建项目会导致相同的问题(进度永远停留在40%),而且显然是相同的IDE日志:

-------------------------------------------------------------------------------
>Log Session: Tuesday, October 1, 2019 4:55:39 PM BST
>System Info: 
  Product Version         = Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)
  Operating System        = Windows 10 version 10.0 running on amd64
  Java; VM; Vendor        = 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0_221-b11
  Java Home               = C:\Program Files\Java\jdk1.8.0_221\jre
  System Locale; Encoding = en_GB (nb); Cp1252
  Home Directory          = C:\Users\44780
  Current Directory       = C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\bin
  User Directory          = C:\Users\44780\AppData\Roaming\NetBeans\11.0
  Cache Directory         = C:\Users\44780\AppData\Local\NetBeans\Cache\11.0
  Installation            = C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\nb
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\ergonomics
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\ide
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\extide
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\java
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\apisupport
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\webcommon
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\websvccommon
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\enterprise
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\profiler
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\php
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\harness
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\groovy
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\javafx
                            C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform
  Boot & Ext. Classpath   = C:\Program Files\Java\jdk1.8.0_221\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_221\jre\classes;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_221\jre\lib\ext\zipfs.jar
  Application Classpath   = C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\lib\boot.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-modules.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util-ui.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.8.0_221\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_221\lib\tools.jar
  Startup Classpath       = C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\asm-all-5.0.1.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\core-base.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\core.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform\core\org-openide-filesystems.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\nb\core\locale\core_nb.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/Users/44780/Documents/Tools/incubating-netbeans-11.0-bin/netbeans/
WARNING [org.netbeans.core.modules]: the modules [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.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-gradle-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-php-twig-editor-TwigDataObject-Extension.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-jade-editor-JadeLanguage-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-jshell-env-JShellDataObject-Extension.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-php-smarty-editor-TplDataObject-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-j2ee-persistence-jpqleditor-ui-JPQLEditorTopComponent-Extension.xml, org-netbeans-modules-php-latte-LatteDataObject-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-debugger-jpda-truffle-mime-LanguageResolvers-SimpleLanguage-Extension.xml, org-netbeans-modules-debugger-jpda-truffle-mime-LanguageResolvers-R-Extension.xml, org-netbeans-modules-debugger-jpda-truffle-mime-LanguageResolvers-Ruby-Extension.xml, org-netbeans-modules-debugger-jpda-truffle-mime-LanguageResolvers-Python-Extension.xml, org-netbeans-modules-defaults-mime-wav.xml]
WARNING [null]: Last record repeated 2 more times.
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
    org.openide.util.lookup [8.37.1 incubator-netbeans-release-404-on-20190319]
    org.openide.util [9.11.1 incubator-netbeans-release-404-on-20190319]
    org.openide.util.ui [9.12.1 incubator-netbeans-release-404-on-20190319]
    org.openide.modules [7.52.1 incubator-netbeans-release-404-on-20190319]
<snip due to character limit>
    com.jcraft.jzlib [1.0.7 1.0.7]
    com.googlecode.javaewah.JavaEWAH [0.7.9 0.7.9]
INFO [org.netbeans.core.netigso.Netigso]: bundle org.eclipse.osgi@3.9.1.v20140110-1610 started
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Windows
INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]: Windows system proxy resolver: auto detect
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
Diagnostic information
Input arguments:
    -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
    -XX:+UseStringDeduplication
    -Xss2m
    -Dnetbeans.logger.console=true
    -Djdk.gtk.version=2.2
    -Dapple.laf.useScreenMenuBar=true
    -Dapple.awt.graphics.UseQuartz=true
    -Dsun.java2d.noddraw=true
    -Dsun.java2d.dpiaware=true
    -Dsun.zip.disableMemoryMapping=true
    -Dplugin.manager.check.updates=false
    -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
    --add-opens=java.base/java.net=ALL-UNNAMED
    --add-opens=java.base/java.lang.ref=ALL-UNNAMED
    --add-opens=java.base/java.lang=ALL-UNNAMED
    --add-opens=java.base/java.security=ALL-UNNAMED
    --add-opens=java.base/java.util=ALL-UNNAMED
    --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
    --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
    --add-opens=java.desktop/javax.swing=ALL-UNNAMED
    --add-opens=java.desktop/java.awt=ALL-UNNAMED
    --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
    --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
    --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
    --add-modules=jdk.jshell
    --add-exports=java.desktop/sun.awt=ALL-UNNAMED
    --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
    --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
    --add-exports=java.desktop/sun.swing=ALL-UNNAMED
    --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
    --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
    --add-exports=java.management/sun.management=ALL-UNNAMED
    --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
    --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
    -XX:+IgnoreUnrecognizedVMOptions
    -Djdk.home=C:\Program Files\Java\jdk1.8.0_221
    -Dnetbeans.home=C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\platform
    -Dnetbeans.user=C:\Users\44780\AppData\Roaming\NetBeans\11.0
    -Dnetbeans.default_userdir_root=C:\Users\44780\AppData\Roaming\NetBeans
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:HeapDumpPath=C:\Users\44780\AppData\Roaming\NetBeans\11.0\var\log\heapdump.hprof
    -Dsun.awt.keepWorkingSetOnMinimize=true
    -Dnetbeans.dirs=C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\nb;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\ergonomics;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\ide;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\extide;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\java;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\apisupport;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\webcommon;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\websvccommon;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\enterprise;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\mobility;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\profiler;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\python;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\php;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\identity;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\harness;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\cnd;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\cndext;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\dlight;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\groovy;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\extra;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\javacard;C:\Users\44780\Documents\Tools\incubating-netbeans-11.0-bin\netbeans\javafx
    exit
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 126.0MB maximum 1788.5MB
Non heap memory usage: initial 2.4MB maximum -1b
Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s)
Classes: loaded=6631 total loaded=6631 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 8,437,022,720
WARNING [org.openide.filesystems.Ordering]: Found same position 400 for both Templates/Project/AntJava/J2EE and Templates/Project/AntJava/j2sefreeform.xml
WARNING [org.openide.filesystems.Ordering]: Found same position 200 for both Templates/Project/AntJava/Web and Templates/Project/AntJava/org-netbeans-modules-java-j2seproject-ui-wizards-NewJ2SEProjectWizardIterator-library
INFO [org.openide.WizardDescriptor]
java.lang.NullPointerException
    at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.current(NewPhpProjectWizardIterator.java:351)
    at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.uninitialize(NewPhpProjectWizardIterator.java:170)
    at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.uninitialize(TemplateWizard.java:1054)
    at org.openide.loaders.TemplateWizardIterImpl.uninitialize(TemplateWizardIterImpl.java:215)
    at org.openide.loaders.TemplateWizardIteratorWrapper.uninitialize(TemplateWizardIteratorWrapper.java:131)
    at org.openide.WizardDescriptor.callUninitialize(WizardDescriptor.java:1541)
    at org.openide.WizardDescriptor.resetWizardOpen(WizardDescriptor.java:1383)
    at org.openide.WizardDescriptor.resetWizard(WizardDescriptor.java:1362)
[catch] at org.openide.WizardDescriptor.setValueOpen(WizardDescriptor.java:1346)
    at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1334)
    at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1367)
    at org.netbeans.core.windows.services.NbPresenter.windowClosing(NbPresenter.java:1257)
    at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
    at java.awt.Window.processWindowEvent(Window.java:2054)
    at javax.swing.JDialog.processWindowEvent(JDialog.java:683)
    at java.awt.Window.processEvent(Window.java:2013)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2297)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
    at java.awt.EventQueue$4.run(EventQueue.java:733)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
    at java.awt.Dialog.show(Dialog.java:1084)
    at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1060)
    at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1110)
    at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1082)
    at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:105)
    at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:115)
    at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:75)
    at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71)
    at org.openide.util.Mutex.readAccess(Mutex.java:193)
    at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1067)
    at java.awt.Component.show(Component.java:1671)
    at java.awt.Component.setVisible(Component.java:1623)
    at java.awt.Window.setVisible(Window.java:1014)
    at java.awt.Dialog.setVisible(Dialog.java:1005)
    at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:241)
    at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.run(DialogDisplayerImpl.java:167)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.XMLDataObject@69261669[MultiFileObject@4d416d96[Actions/Help/master-help.xml]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@203a369e[MultiFileObject@6bfeb124[Keymaps/NetBeans/D-BACK_QUOTE.shadow]]
WARNING [null]: Last record repeated again.

共有1个答案

柴浩大
2023-03-14

这不是Amswer;这只是一些临时建议,以及对进一步信息的请求,这些信息太大了,不能作为评论发布。

>

  • 不要使用NetBeans 11.0,而是使用最新版本NetBeans 11.1。
  • 您绝对不需要卸载其他版本的NetBeans,但谨慎的做法是一次只运行一个版本。
  • 看起来您已经激活了PHP,但是您是否尝试从头创建一个微不足道的PHP项目来验证所有内容都安装正确?如果没有:

    >

  • 首先,如果您还没有这样做,您需要为NetBeans指定一个PHP解释器:Tools>Options>PHP选项卡,然后单击Browse...按钮,然后导航到PHP.exe的安装。之后,您的屏幕看起来应该类似于如下所示的屏幕快照。

    接下来,创建一个简单的“Hello World”PHP应用程序:File>New Project>PHP>PHP应用程序(注意,不是使用现有源代码的PHP应用程序)。运行那个项目。那管用吗?如果没有,描述问题,因为这应该很好。

    如果您遇到了什么问题,请参阅https://PHP.tutorials24x7.com/blog/how-to-install-netbeans-11-for-php-on-windows了解在NetBeans上设置PHP的一般说明。

    如果您尝试了上面描述的步骤,更新的状态是什么?

  •  类似资料:
    • 我无法使用这个IDE Spring工具套件创建新maven项目。它显示了以下错误 CoreException:无法计算生成计划:插件org.apache.maven.plugins:maven-compiler-plugin:3.1或其依赖项之一无法解析:无法读取org.apache.maven的工件描述符。plugins:maven-compiler-plugin:jar:3.1:Artifac

    • 当我试图在eclipse中创建一个Maven项目(选择maven-archetype-quickstart,1.4版)时,我得到以下错误: 无法计算生成计划:插件org.apache.maven。插件:maven-resources-plugin:3.0.2或其依赖项之一无法解析:未能读取org.apache.maven的项目描述符。插件:maven-resources-plugin:3.0.2插

    • 我正在使用操作系统在我的系统中添加以下变量 :C:\users\user\appdata\roaming\npm\node_modules :C:\Windows\System32;C:\Windows;C:\Windows\System32\WBEM;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\程序文件(x86)\Windows工具包\8.1\W

    • 我有Windows10操作系统,我刚下载了JDK9,还有Netbeans 8.2版本的所有功能。当我想创建(Java)项目时,它就是做不到。不会给我一个错误什么的,只是这个空白屏幕。 这里有什么问题,所以我不能创建任何项目?

    • 我要加载图像的文件 pubspec.yaml

    • 所以我在这个问题上挣扎了很长一段时间。我想在Netbeans中创建一个新的JavaFX项目,但是我没有从列表中选择JavaFX的选项。因为我有最新的java版本,JavaFX应该包含在SDK中,对吗?我还查找了是否有位于目录我也这么做。那么为什么我不能创建一个常规的JavaFX项目呢?我是不是错过了什么? 提前谢谢你!