Closed wareczek closed 7 years ago
After update to v1.5.1
PhpStorm2017.1
Plugin 'Shifter' failed to initialize and will be disabled. Please restart PhpStorm.
thanks for your feedback, i will fix this this evening. -Please use the previous version 1.5.0 for the meantime.
@wareczek Hi Marek, thank you for your feedback. Can you please test the attached v1.5.1 of Shifter and report whether that exception does still occur at your place? (You might have to re-enable the Shifter plugin in your IDE's plugin settings when installing it) Shifter.zip
If it does still throw this exception - can you please provide more information on your setup? I seem not to be able to reproduce this exception, the attached (possible) bugfix therefor is merely a guess as to what might cause that exception.
Same issue with attached version :(
IDE Info:
Custom plugins: [Mongo Plugin (0.10.2016), .ignore (1.7.6), BashSupport (1.6.5.171), Handlebars/Mustache (171.3780.79), Meteor (171.3691.10)]
Disabled plugins:[Shifter (1.5.1)]
Build version: PhpStorm 2017.1 Build #PS-171.3780.104 March 21, 2017
Java version: 1.8.0_112-release-736-b13amd64
Operating System: Linux (4.8.0-44-generic, amd64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o
More logs from startup here:
2017-03-28 22:28:15,073 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2017-03-28 22:28:15,077 [ 4] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2017-03-28 22:28:15,083 [ 10] INFO - #com.intellij.idea.Main - IDE: PhpStorm (build #PS-171.3780.104, 21 Mar 2017 13:15)
2017-03-28 22:28:15,083 [ 10] INFO - #com.intellij.idea.Main - OS: Linux (4.8.0-44-generic, amd64)
2017-03-28 22:28:15,083 [ 10] INFO - #com.intellij.idea.Main - JRE: 1.8.0_112-release-736-b13 (JetBrains s.r.o)
2017-03-28 22:28:15,083 [ 10] INFO - #com.intellij.idea.Main - JVM: 25.112-b13 (OpenJDK 64-Bit Server VM)
2017-03-28 22:28:15,084 [ 11] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.3780.104/lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dide.no.platform.update=true -XX:ErrorFile=/home/marek/java_error_in_PHPSTORM_%p.log -XX:HeapDumpPath=/home/marek/java_error_in_PHPSTORM.hprof -Didea.paths.selector=PhpStorm2017.1 -Djb.vmOptionsFile=/home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.3780.104/bin/phpstorm64.vmoptions -Didea.platform.prefix=PhpStorm -Didea.jre.check=true
2017-03-28 22:28:15,084 [ 11] INFO - #com.intellij.idea.Main - ext: /home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.3780.104/jre/lib/ext: [sunpkcs11.jar, dnsns.jar, cldrdata.jar, sunec.jar, jaccess.jar, zipfs.jar, nashorn.jar, localedata.jar, sunjce_provider.jar, jfxrt.jar, meta-index]
2017-03-28 22:28:15,084 [ 11] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2017-03-28 22:28:15,094 [ 21] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 10 ms
2017-03-28 22:28:15,282 [ 209] INFO - .intellij.idea.IdeaApplication - WM detected: GNOME Shell
2017-03-28 22:28:15,282 [ 209] INFO - llij.openapi.wm.impl.X11UiUtil - impersonated WM: MUTTER_WM
2017-03-28 22:28:15,585 [ 512] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2017-03-28 22:28:15,639 [ 566] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2017-03-28 22:28:15,639 [ 566] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2017-03-28 22:28:15,655 [ 582] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2017-03-28 22:28:15,852 [ 779] INFO - llij.ide.plugins.PluginManager - 68 plugins initialized in 459 ms
2017-03-28 22:28:15,854 [ 781] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), AngularJS (171.3780.104), Apache config (.htaccess) support (171.3780.104), Behat Support (171.3780.104), Blade Support (171.3780.104), CSS Support (171.3780.104), CVS Integration (11), Codeception Framework (171.3780.104), CoffeeScript (2.0), Command Line Tool Support (171.3780.104), Copyright (8.1), Database Tools and SQL (1.0), Docker integration (2.5.2), Drupal Support (171.3780.104), File Watchers (171.3780.104), GNU GetText files support (*.po) (171.3780.104), Gherkin (999.999), Git Integration (8.1), GitHub (171.3780.104), Google App Engine Support for PHP (171.3780.104), HTML Tools (2.0), Haml (171.3780.104), IDEA CORE (171.3780.104), Ini4Idea (171.3780.104), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Joomla! Support (171.3780.104), Less support (171.3780.104), Markdown support (VERSION), NodeJS (171.3780.104), PHP (999.999), PHP Docker (171.3780.104), PHP Remote Interpreter (171.3780.104), PHPSpec BDD Framework (171.3780.104), Perforce Integration (2.0), Performance Testing (171.3780.104), Phing Support (171.3780.104), QuirksMode (171.3780.104), REST Client (171.3780.104), ReStructuredText Support (171.3780.104), Refactor-X (2.01), Remote Hosts Access (0.1), SSH Remote Run (0.1), Sass support (171.3780.104), Settings Repository (171.3780.104), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (VERSION), Time Tracking (1.0), Twig Support (171.3780.104), UML Support (1.0), Vagrant (171.3780.104), W3C Validators (2.0), WordPress Support (171.3780.104), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (171.3780.104), hg4idea (10.0), tslint (171.3780.104)
2017-03-28 22:28:15,854 [ 781] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (1.7.6), BashSupport (1.6.5.171), Handlebars/Mustache (171.3780.79), Meteor (171.3691.10), Mongo Plugin (0.10.2016), Shifter (1.5.1)
2017-03-28 22:28:16,186 [ 1113] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2017-03-28 22:28:16,215 [ 1142] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.3780.104/bin/fsnotifier64
2017-03-28 22:28:16,221 [ 1148] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-03-28 22:28:16,250 [ 1177] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2017-03-28 22:28:16,250 [ 1177] INFO - pi.util.registry.RegistryState - dumb.aware.run.configurations = true
2017-03-28 22:28:16,986 [ 1913] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-03-28 22:28:17,008 [ 1935] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-03-28 22:28:17,066 [ 1993] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:21
2017-03-28 22:28:17,069 [ 1996] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2017-03-28 22:28:17,089 [ 2016] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:15
2017-03-28 22:28:17,089 [ 2016] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2017-03-28 22:28:17,109 [ 2036] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-03-28 22:28:17,143 [ 2070] ERROR - llij.ide.plugins.PluginManager - com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.idea.MainImpl$1$1.a(MainImpl.java:63)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:343)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:249)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:509)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:473)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:425)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:411)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:199)
... 20 more
Caused by: com.intellij.diagnostic.PluginException: [Plugin: Shifter]
... 35 more
Caused by: java.lang.NullPointerException
at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:273)
at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:208)
at javax.swing.text.PlainView.getLineWidth(PlainView.java:671)
at javax.swing.text.PlainView.updateDamage(PlainView.java:569)
at javax.swing.text.PlainView.insertUpdate(PlainView.java:453)
at javax.swing.text.FieldView.insertUpdate(FieldView.java:293)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1884)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
at com.kstenschke.shifter.resources.forms.ShifterConfiguration.$$$setupUI$$$(ShifterConfiguration.java)
at com.kstenschke.shifter.resources.forms.ShifterConfiguration.<init>(ShifterConfiguration.java:46)
at com.kstenschke.shifter.ShifterSettings.<init>(ShifterSettings.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
... 32 more
2017-03-28 22:28:17,146 [ 2073] ERROR - llij.ide.plugins.PluginManager - PhpStorm 2017.1 Build #PS-171.3780.104
2017-03-28 22:28:17,146 [ 2073] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_112-release
2017-03-28 22:28:17,146 [ 2073] ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM
2017-03-28 22:28:17,146 [ 2073] ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o
2017-03-28 22:28:17,146 [ 2073] ERROR - llij.ide.plugins.PluginManager - OS: Linux
2017-03-28 22:28:17,439 [ 2366] INFO - pl$FileIndexDataInitialization - Initialization done:370
2017-03-28 22:28:17,474 [ 2401] INFO - exImpl$StubIndexInitialization - Initialization done:34
2017-03-28 22:28:18,084 [ 3011] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@379d75d5
2017-03-28 22:28:18,407 [ 3334] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@699e1080
2017-03-28 22:28:18,566 [ 3493] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@76936962
2017-03-28 22:28:33,768 [ 18695] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2017-03-28 22:28:33,769 [ 18696] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2017-03-28 22:28:33,798 [ 18725] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2017-03-28 22:28:33,798 [ 18725] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2017-03-28 22:28:33,798 [ 18725] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2017-03-28 22:28:33,806 [ 18733] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2017-03-28 22:28:33,807 [ 18734] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2017-03-28 22:28:33,808 [ 18735] INFO - org.jetbrains.io.BuiltInServer - web server stopped
+1
@kstenschke you totally should initialize settingsPanel
lazily in the first place.
@krasa thank you for your input. The "automagic" behind the intellij forms worked fine so far, to my knowledge i haven't made any changes to the form code- do you know of any API changes, maybe effecting linux / openJDK solely (as i couldn't reproduce the described behavior)?
@wareczek Hi Marek, thank you that you did test, can i ask you to check with the now newly attached jar again? (the specific initialization listed in your stack trace, should be fixed but as i didn't have the time to install a virtual machine with your setup, i could not reproduce the described problem before or after the change).
I had one freaky NPE recently too on Ubuntu 14.04: https://github.com/esteinberg/plantuml4idea/commit/b851721d6412e9b48d0e3cebe279a14974d26b18 It was probably caused by the same thing. In my case the Font was null, in yours FontMetrics,
I noticed that it is on a custom JDK from JetBrains, and since it is a NPE in JDK, it should totally be reported to them.
@kstenschke sorry but still errors :(
2017-04-12 23:14:29,620 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2017-04-12 23:14:29,626 [ 6] INFO - #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2017-04-12 23:14:29,632 [ 12] INFO - #com.intellij.idea.Main - IDE: PhpStorm (build #PS-171.4249.3, 12 Apr 2017 12:29)
2017-04-12 23:14:29,632 [ 12] INFO - #com.intellij.idea.Main - OS: Linux (4.8.0-46-generic, amd64)
2017-04-12 23:14:29,632 [ 12] INFO - #com.intellij.idea.Main - JRE: 1.8.0_112-release-736-b16 (JetBrains s.r.o)
2017-04-12 23:14:29,632 [ 12] INFO - #com.intellij.idea.Main - JVM: 25.112-b16 (OpenJDK 64-Bit Server VM)
2017-04-12 23:14:29,633 [ 13] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.4249.3/lib/boot.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dide.no.platform.update=true -XX:ErrorFile=/home/marek/java_error_in_PHPSTORM_%p.log -XX:HeapDumpPath=/home/marek/java_error_in_PHPSTORM.hprof -Didea.paths.selector=PhpStorm2017.1 -Djb.vmOptionsFile=/home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.4249.3/bin/phpstorm64.vmoptions -Didea.platform.prefix=PhpStorm -Didea.jre.check=true
2017-04-12 23:14:29,633 [ 13] INFO - #com.intellij.idea.Main - ext: /home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.4249.3/jre64/lib/ext: [sunpkcs11.jar, dnsns.jar, cldrdata.jar, sunec.jar, jaccess.jar, zipfs.jar, nashorn.jar, localedata.jar, sunjce_provider.jar, jfxrt.jar, meta-index]
2017-04-12 23:14:29,633 [ 13] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2017-04-12 23:14:29,648 [ 28] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 14 ms
2017-04-12 23:14:29,891 [ 271] INFO - .intellij.idea.IdeaApplication - WM detected: GNOME Shell
2017-04-12 23:14:29,892 [ 272] INFO - llij.openapi.wm.impl.X11UiUtil - impersonated WM: MUTTER_WM
2017-04-12 23:14:30,276 [ 656] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2017-04-12 23:14:30,360 [ 740] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2017-04-12 23:14:30,360 [ 740] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2017-04-12 23:14:30,390 [ 770] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2017-04-12 23:14:30,666 [ 1046] INFO - llij.ide.plugins.PluginManager - 69 plugins initialized in 642 ms
2017-04-12 23:14:30,667 [ 1047] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), AngularJS (171.4249.3), Apache config (.htaccess) support (171.4249.3), Behat Support (171.4249.3), Blade Support (171.4249.3), CSS Support (171.4249.3), CVS Integration (11), Codeception Framework (171.4249.3), CoffeeScript (2.0), Command Line Tool Support (171.4249.3), Copyright (8.1), Database Tools and SQL (1.0), Docker integration (2.5.3.1), Drupal Support (171.4249.3), File Watchers (171.4249.3), GNU GetText files support (*.po) (171.4249.3), Gherkin (999.999), Git Integration (8.1), GitHub (171.4249.3), Google App Engine Support for PHP (171.4249.3), HTML Tools (2.0), Haml (171.4249.3), IDEA CORE (171.4249.3), Ini4Idea (171.4249.3), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Joomla! Support (171.4249.3), Less support (171.4249.3), Markdown support (VERSION), NodeJS (171.4249.3), PHP (171.4249.3), PHP Docker (171.4249.3), PHP Remote Interpreter (171.4249.3), PHPSpec BDD Framework (171.4249.3), Perforce Integration (2.0), Performance Testing (171.4249.3), Phing Support (171.4249.3), PhpStorm Workshop (171.4249.3), QuirksMode (171.4249.3), REST Client (171.4249.3), ReStructuredText Support (171.4249.3), Refactor-X (2.01), Remote Hosts Access (0.1), SSH Remote Run (0.1), Sass support (171.4249.3), Settings Repository (171.4249.3), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (VERSION), Time Tracking (1.0), Twig Support (171.4249.3), UML Support (1.0), Vagrant (171.4249.3), W3C Validators (2.0), WordPress Support (171.4249.3), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (171.4249.3), hg4idea (10.0), tslint (171.4249.3)
2017-04-12 23:14:30,667 [ 1047] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (1.7.6), BashSupport (1.6.5.171), Handlebars/Mustache (171.4073.40), Meteor (171.3691.10), Mongo Plugin (0.10.2016), Shifter (1.5.1)
2017-04-12 23:14:30,982 [ 1362] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2017-04-12 23:14:31,021 [ 1401] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/marek/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/171.4249.3/bin/fsnotifier64
2017-04-12 23:14:31,028 [ 1408] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-04-12 23:14:31,066 [ 1446] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2017-04-12 23:14:31,066 [ 1446] INFO - pi.util.registry.RegistryState - dumb.aware.run.configurations = true
2017-04-12 23:14:31,868 [ 2248] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2017-04-12 23:14:31,887 [ 2267] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-04-12 23:14:31,916 [ 2296] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-04-12 23:14:31,981 [ 2361] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:25
2017-04-12 23:14:31,985 [ 2365] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2017-04-12 23:14:32,008 [ 2388] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:18
2017-04-12 23:14:32,009 [ 2389] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2017-04-12 23:14:32,039 [ 2419] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-04-12 23:14:32,083 [ 2463] ERROR - llij.ide.plugins.PluginManager - com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.idea.MainImpl$1$1.a(MainImpl.java:63)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:343)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing plugin Shifter
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:249)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:509)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:473)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:425)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:411)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:199)
... 20 more
Caused by: com.intellij.diagnostic.PluginException: [Plugin: Shifter]
... 35 more
Caused by: java.lang.NullPointerException
at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:273)
at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:208)
at javax.swing.text.PlainView.getLineWidth(PlainView.java:671)
at javax.swing.text.PlainView.updateDamage(PlainView.java:569)
at javax.swing.text.PlainView.insertUpdate(PlainView.java:453)
at javax.swing.text.FieldView.insertUpdate(FieldView.java:293)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1884)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
at com.kstenschke.shifter.resources.forms.ShifterConfiguration.$$$setupUI$$$(ShifterConfiguration.java)
at com.kstenschke.shifter.resources.forms.ShifterConfiguration.<init>(ShifterConfiguration.java:46)
at com.kstenschke.shifter.ShifterSettings.<init>(ShifterSettings.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:103)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:80)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:468)
... 32 more
2017-04-12 23:14:32,087 [ 2467] ERROR - llij.ide.plugins.PluginManager - PhpStorm 2017.1.2 Build #PS-171.4249.3
2017-04-12 23:14:32,087 [ 2467] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_112-release
2017-04-12 23:14:32,087 [ 2467] ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM
2017-04-12 23:14:32,087 [ 2467] ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o
2017-04-12 23:14:32,087 [ 2467] ERROR - llij.ide.plugins.PluginManager - OS: Linux
2017-04-12 23:14:32,393 [ 2773] INFO - pl$FileIndexDataInitialization - Initialization done:408
2017-04-12 23:14:32,472 [ 2852] INFO - exImpl$StubIndexInitialization - Initialization done:78
2017-04-12 23:14:33,177 [ 3557] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@750f3f31
2017-04-12 23:14:33,580 [ 3960] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@4e6b33c2
2017-04-12 23:14:33,798 [ 4178] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@34c91e7b
I've installed old versions up to 1.4.0 and after each install get same errors.
Hy, @kstenschke. Like many others I've also noticed this bug. Not gonna say the same thing. But while trying to find how to post the bug, I've added a comment here https://plugins.jetbrains.com/plugin/6149-shifter containing the error :D . Can you delete it? My bad
@kstenschke Oh, I am getting that NPE too, even when debugging on normal jdk1.8.0_112 :-) Want me to fix it?
After update to v1.5.1