Giter Club home page Giter Club logo

Comments (23)

oker1 avatar oker1 commented on August 11, 2024

Which version of PHPStorm are you using?

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

I'm using 4.0.3.

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

This error keeps popping up as a Fatal Error now and then and I cannot pin-point an exact source of what I'm doing to cause it. I will be editing any file-type and this comes up. (Figured I would report it, as I know bug reports help).

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

Thanks for the report! I'll try to reproduce this error. I think it has to do something with renaming or moving a file, because I use that listener for handling these changes.

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

Not a problem at all. I try my damnest to report any bugs that come up while I'm working. Glad this helps.

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

@oker1 So, I'm working on a Wordpress project at the moment in PHPStorm. I'm not sure if this is the same error message or not as I did not run a DIFF on it. No renaming or moving files in the last, maybe 15 or 20 minutes, and this came up:

null java.lang.NullPointerException at cc.takacs.php_codeverage_display.listener.FileOperationListener.beforePropertyChange(FileOperationListener.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89) at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34) at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:65) at $Proxy15.beforePropertyChange(Unknown Source) at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.b(BulkVirtualFileListenerAdapter.java:104) at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.before(BulkVirtualFileListenerAdapter.java:39) at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:110) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:220) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:212) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:202) at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42) at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:128) at $Proxy17.before(Unknown Source) at com.intellij.util.FileContentUtil$1.run(FileContentUtil.java:89) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:902) at com.intellij.util.FileContentUtil.reparseFiles(FileContentUtil.java:73) at com.intellij.execution.console.LanguageConsoleImpl.setDocumentFileAndInitPsi(LanguageConsoleImpl.java:672) at com.intellij.execution.console.LanguageConsoleImpl.setLanguage(LanguageConsoleImpl.java:588) at com.intellij.execution.console.LanguageConsoleImpl.<init>(LanguageConsoleImpl.java:132) at com.intellij.execution.console.LanguageConsoleImpl.<init>(LanguageConsoleImpl.java:122) at com.intellij.execution.console.LanguageConsoleViewImpl.<init>(LanguageConsoleViewImpl.java:35) at com.ansorgit.plugins.bash.runner.repl.BashConsoleRunner.createConsoleView(BashConsoleRunner.java:48) at com.intellij.execution.runners.AbstractConsoleRunnerWithHistory.a(AbstractConsoleRunnerWithHistory.java:90) at com.intellij.execution.runners.AbstractConsoleRunnerWithHistory.access$000(AbstractConsoleRunnerWithHistory.java:52) at com.intellij.execution.runners.AbstractConsoleRunnerWithHistory$1.run(AbstractConsoleRunnerWithHistory.java:83) at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1762) at com.intellij.execution.runners.AbstractConsoleRunnerWithHistory.initAndRun(AbstractConsoleRunnerWithHistory.java:80) at com.ansorgit.plugins.bash.actions.AddReplAction.actionPerformed(AddReplAction.java:67) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:260) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:891) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:114) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:226) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:100) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291) at javax.swing.AbstractButton.doClick(AbstractButton.java:389) at com.apple.laf.ScreenMenuItemCheckbox.itemStateChanged(ScreenMenuItemCheckbox.java:178) at java.awt.CheckboxMenuItem.processItemEvent(CheckboxMenuItem.java:364) at java.awt.CheckboxMenuItem.processEvent(CheckboxMenuItem.java:332) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:687) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:657) at java.awt.EventQueue$2.run(EventQueue.java:655) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:654) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

Attached is my idea.log from the last hour of coding, https://gist.github.com/006706585010b81ae4df#file_idea.20120731.log. I hope this helps a little?

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

Thanks for the log! Seems to me you're using sftp, are you editing files remotely?

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

No problem. For that specific project I am using SFTP but only to upload a few files, that's about that. I've been coding the last few hours on a Wordpress project for a client and the exception has came up four times. I think I've uploaded a few files, worked with some PHP and SASS and that's about it.

As this exception does not effect my workflow nor is it a fatal error; I was just wondering if you have any leads on what is causing this? (I'm a Web Developer but I have worked on Java applications in the past-- I do have a fairly good understanding).

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

the problem should be here

Something is null in these expressions. If you want to try debugging the plugin there's a short guide in the wiki about setting up Idea.

from phpunit_codecoverage_display.

jcanfield avatar jcanfield commented on August 11, 2024

Thanks. Not sure if I personally would be able to find the time to debug at the moment.

I've finally noticed what I'm actually doing to make that exception happen. I'm clicking 'Run' where a bash console is presented to me. When I minimize that 'Run'/Bash Console, that's when the exception happens.

Hope that might help your debugging efforts.

from phpunit_codecoverage_display.

cdegroot avatar cdegroot commented on August 11, 2024

I get a similar stacktrace whenever I open a project, even Java/Scala only projects. Not sure I'll have the time to debug either :)

null
java.lang.NullPointerException
at cc.takacs.php_codeverage_display.listener.FileOperationListener.beforePropertyChange(FileOperationListener.java:24)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:65)
at $Proxy14.beforePropertyChange(Unknown Source)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.b(BulkVirtualFileListenerAdapter.java:104)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.before(BulkVirtualFileListenerAdapter.java:39)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:110)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:220)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:212)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:202)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:128)
at $Proxy16.before(Unknown Source)
at com.intellij.util.FileContentUtil$1.run(FileContentUtil.java:89)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:902)
at com.intellij.util.FileContentUtil.reparseFiles(FileContentUtil.java:73)
at com.intellij.execution.console.LanguageConsoleImpl.setDocumentFileAndInitPsi(LanguageConsoleImpl.java:672)
at com.intellij.execution.console.LanguageConsoleImpl.setLanguage(LanguageConsoleImpl.java:588)
at com.intellij.execution.console.LanguageConsoleImpl.(LanguageConsoleImpl.java:132)
at com.intellij.execution.console.LanguageConsoleImpl.(LanguageConsoleImpl.java:122)
at net.orfjackal.sbt.plugin.SbtConsole.createLanguageConsole(SbtConsole.java:92)
at net.orfjackal.sbt.plugin.SbtConsole.createConsoleView(SbtConsole.java:75)
at net.orfjackal.sbt.plugin.SbtConsole.(SbtConsole.java:66)
at net.orfjackal.sbt.plugin.SbtRunnerComponent.createConsole(SbtRunnerComponent.java:102)
at net.orfjackal.sbt.plugin.SbtRunnerComponent.access$300(SbtRunnerComponent.java:34)
at net.orfjackal.sbt.plugin.SbtRunnerComponent$2.run(SbtRunnerComponent.java:89)
at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:203)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:163)
at com.intellij.openapi.project.impl.ProjectManagerImpl$5$2.run(ProjectManagerImpl.java:442)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

Could you try to reproduce it with an open source project and provide some details like OS version, PHPStorm version, project path? Then I should be able to reproduce it by replicating your setup somehow.

from phpunit_codecoverage_display.

ecrisostomo avatar ecrisostomo commented on August 11, 2024

Same thing happens to me.

OS: Mac OS X 10.7.5
IntelliJ: 12.1
JDK: 1.6.0_37
PHPUnit code coverage: v0.2.2

null
java.lang.NullPointerException
at cc.takacs.php_codeverage_display.listener.FileOperationListener.beforePropertyChange(FileOperationListener.java:24)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:66)
at $Proxy15.beforePropertyChange(Unknown Source)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.fireBefore(BulkVirtualFileListenerAdapter.java:115)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.before(BulkVirtualFileListenerAdapter.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at $Proxy16.before(Unknown Source)
at com.intellij.util.FileContentUtil$1.run(FileContentUtil.java:89)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
at com.intellij.util.FileContentUtil.reparseFiles(FileContentUtil.java:73)
at com.intellij.execution.console.LanguageConsoleImpl.d(LanguageConsoleImpl.java:731)
at com.intellij.execution.console.LanguageConsoleImpl.(LanguageConsoleImpl.java:140)
at com.intellij.persistence.database.console.JdbcConsole.(JdbcConsole.java:95)
at com.intellij.persistence.database.console.JdbcConsole.(JdbcConsole.java:90)
at com.intellij.persistence.database.editor.DatabaseEditorHelper.configureConsole(DatabaseEditorHelper.java:98)
at com.intellij.persistence.database.editor.DatabaseEditorHelper.access$000(DatabaseEditorHelper.java:47)
at com.intellij.persistence.database.editor.DatabaseEditorHelper$2.fileOpened(DatabaseEditorHelper.java:74)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:234)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:216)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at $Proxy97.fileOpened(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$13.run(FileEditorManagerImpl.java:860)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$14$1.run(FileEditorManagerImpl.java:919)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:613)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:597)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:567)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:55)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:465)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:686)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:511)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:334)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:751)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:195)
at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:701)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:300)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:294)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:254)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:415)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:502)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:178)
at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:46)
at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:321)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at $Proxy39.appStarting(Unknown Source)
at com.intellij.idea.IdeaApplication.d(IdeaApplication.java:349)
at com.intellij.idea.IdeaApplication.access$500(IdeaApplication.java:57)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:316)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:343)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:686)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:511)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

from phpunit_codecoverage_display.

ljthomas avatar ljthomas commented on August 11, 2024

I received the exact same error. I just purchased IntelliJ 12 (12.1.1). I received this error while using the Database plug in.

OS: Mac OS X 10.7.5
IntelliJ: 12.1.1
JDK: 1.6.0_45
PHPUnit code coverage: v0.2.2

Stack trace:

java.lang.NullPointerException
at cc.takacs.php_codeverage_display.listener.FileOperationListener.beforePropertyChange(FileOperationListener.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:66)
at com.sun.proxy.$Proxy15.beforePropertyChange(Unknown Source)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.fireBefore(BulkVirtualFileListenerAdapter.java:115)
at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.before(BulkVirtualFileListenerAdapter.java:47)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at com.sun.proxy.$Proxy16.before(Unknown Source)
at com.intellij.util.FileContentUtil$1.run(FileContentUtil.java:89)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
at com.intellij.util.FileContentUtil.reparseFiles(FileContentUtil.java:73)
at com.intellij.execution.console.LanguageConsoleImpl.d(LanguageConsoleImpl.java:731)
at com.intellij.execution.console.LanguageConsoleImpl.(LanguageConsoleImpl.java:140)
at com.intellij.persistence.database.console.JdbcConsole.(JdbcConsole.java:95)
at com.intellij.persistence.database.console.JdbcConsole.(JdbcConsole.java:90)
at com.intellij.persistence.database.editor.DatabaseEditorHelper.configureConsole(DatabaseEditorHelper.java:98)
at com.intellij.persistence.database.editor.DatabaseEditorHelper.access$000(DatabaseEditorHelper.java:47)
at com.intellij.persistence.database.editor.DatabaseEditorHelper$2.fileOpened(DatabaseEditorHelper.java:74)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:120)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:234)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:216)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
at com.sun.proxy.$Proxy85.fileOpened(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$13.run(FileEditorManagerImpl.java:860)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$14$1.run(FileEditorManagerImpl.java:919)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:613)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:597)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:567)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:55)
at com.intellij.openapi.wm.impl.FocusManagerImpl$IdleRunnable.runEdt(FocusManagerImpl.java:102)
at com.intellij.openapi.util.EdtRunnable$1.run(EdtRunnable.java:28)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:669)
at java.awt.EventQueue$2.run(EventQueue.java:667)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:678)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:686)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:511)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

Just out of curiosity, why are you using the plugin from IntelliJ Idea?

I'll try to reproduce the error. If I can't, I'll try to be more defensive
with the nulls in that event handler, since so many people are having this
problem.

On Mon, Apr 22, 2013 at 11:27 PM, Lucas Thomas [email protected]:

I received the exact same error. I just purchased IntelliJ 12 (12.1.1). I
received this error while using the Database plug in.

OS: Mac OS X 10.7.5
IntelliJ: 12.1.1
JDK: 1.6.0_45
PHPUnit code coverage: v0.2.2


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-16825039
.

Zsolt Takacs

https://github.com/oker1
http://zsolt.takacs.cc

from phpunit_codecoverage_display.

ljthomas avatar ljthomas commented on August 11, 2024

I purchased the IntelliJ mainly because it was 50% off and it has the benefit of being able to work with multiple languages, PHP being one of them. Where I currently work, we have many projects in different languages. I'm currently working in PHP and NodeJS. I was using WebStorm for NodeJS and Zend Studio for PHP. Unfortunately, I've lost most of my confidence in Zend Studio and their support for the base license. We also do Android development, so I thought having the whole IntelliJ suite would be beneficial.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

I see, I didn't know it worked with other languages besides Java. Thanks
for the clarification!

On Tue, Apr 23, 2013 at 5:23 PM, Lucas Thomas [email protected]:

I purchased the IntelliJ mainly because it was 50% off and it has the
benefit of being able to work with multiple languages, PHP being one of
them. Where I currently work, we have many projects in different languages.
I'm currently working in PHP and NodeJS. I was using WebStorm for NodeJS
and Zend Studio for PHP. Unfortunately, I've lost most of my confidence in
Zend Studio and their support for the base license. We also do Android
development, so I thought having the whole IntelliJ suite would be
beneficial.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-16865143
.

Zsolt Takacs

https://github.com/oker1
http://zsolt.takacs.cc

from phpunit_codecoverage_display.

ljthomas avatar ljthomas commented on August 11, 2024

No problem at all. From what I understand, PHPStorm is pretty much IntelliJ without all the extra Java capabilities.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

Released a possible fix, it should appear soon in the channel.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

@ljthomas @jcanfield @cdegroot @ecrisostomo Did you try the update?

from phpunit_codecoverage_display.

ljthomas avatar ljthomas commented on August 11, 2024

I have upgraded to 0.2.3 and haven't seen any problems. Unfortunately, the error occurred while I was using the Database window within Intellij, so I can't exactly recreate the issue. I'll definitely let you know if I see anything happen with it. I'll try getting my PHP project hooked up to it and see if I run into any other problems - and can give you more solid information.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 11, 2024

I'm closing this now, feel free te reopen/comment if you would encounter this issue.

from phpunit_codecoverage_display.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.