PhpMetrics-jetbrains icon indicating copy to clipboard operation
PhpMetrics-jetbrains copied to clipboard

No output?

Open k3n opened this issue 10 years ago • 11 comments

I ran the command, and I get a green notification with:

PhpMetrics started. Your browser will be run in a few minutes...

But then that's the last I hear of it. I even ran it and left the computer alone for an hour during lunch, and there was still nothing when I came back.

I have PhpStorm 8 EAP (138.1161).

Please advise.

k3n avatar Jul 24 '14 20:07 k3n

Thank's for the report. What are your version of:

  • PHP
  • java
  • JRE

?

Halleck45 avatar Jul 24 '14 20:07 Halleck45

Is there a convenient place in PhpStorm to find this info? I'm new to PhpStorm, and have Googled around and poked around and could only find some info on the Help > About screen, but annoyingly that modal closes as soon as you click something else, even outside of the app... If the below isn't sufficient, then please let me know how/where I can find what you need.

PHP: 5.4.16

I'm using the bundled Java as far as I know, which appears to be:

java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)

k3n avatar Jul 25 '14 14:07 k3n

I have the same problem. I'm using it with

  • Windows 7
  • IntelliJ Idea Ultimate 13.1
  • PHP 5.5.5
  • JRE 1.8.0_25

szjani avatar Oct 28 '14 20:10 szjani

Same here

  • Windows 7
  • PhpStorm 8.0.1
  • PHP 5.6.0
  • bundled JRE: 1.7.0_45-b18 amd64

AbcAeffchen avatar Oct 29 '14 15:10 AbcAeffchen

You're all on Windows. Is the #6 fixes your problems ? I cannot test, I'm not on Windows and I haven't licence. Can you help me ?

Halleck45 avatar Nov 17 '14 11:11 Halleck45

Nothing yet, there is still no output I am on PHPStorm 8.0.3

Kreshnik avatar Jan 10 '15 02:01 Kreshnik

Hi,

can you test we the latest jar file ?

In order to install this plugin, you should open File > Settings >plugins > Install plugin from disk

Thanks!

Halleck45 avatar Mar 23 '16 06:03 Halleck45

When I try to run on selected folder using the above jar file "NullPointerException: null"

null
java.lang.NullPointerException
    at hal.phpmetrics.idea.RunPhpMetricsAction.actionPerformed(RunPhpMetricsAction.java:37)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:312)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
    at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:512)
    at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
    at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
    at java.awt.Component.processMouseEvent(Component.java:6525)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    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)

canadaka avatar Mar 23 '16 06:03 canadaka

Yeap - typical "open source" product.

Developer says "Sorry I have no Windows". Last commit 2.5 years ago... Rubbish!

Ziggizag avatar Dec 31 '16 02:12 Ziggizag

Actually the owner published a new version on jetbrains plugin repository.

On Dec 31, 2016 00:49, "Ziggizag" [email protected] wrote:

Yeap - typical "open source" product.

Developer says "Sorry I have no Windows". Last commit 2.5 years ago... Rubbish!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phpmetrics/PhpMetrics-jetbrains/issues/5#issuecomment-269845195, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD8jpb3J0tBpF6gMS5BS1KWokHXLDtwks5rNcKbgaJpZM4CQnUU .

davispeixoto avatar Dec 31 '16 03:12 davispeixoto

I dont get any ouput. Is it still wise to use this product?

edjekadetje avatar Jul 10 '18 09:07 edjekadetje

Closing this ancient issue, if anyone still has this problem, please open your own issue.

k3n avatar Jun 11 '24 18:06 k3n