question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webstorm 2018.2.4 x64 cannot initialize wakatime plugin

See original GitHub issue

What steps will reproduce the problem? Install Wakatime plugin Restart WebStorm Exception occurs, WebStorm is unable to start. What is the expected result? WebStorm opens normally and Wakatime plugin works as expected

What happens instead? Internal error occurs (java.lang.NoClassDefFoundError)

WebStorm log:

Plugin 'com.wakatime.intellij.plugin' failed to initialize and will be disabled.  Please restart WebStorm.

java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
    at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
    at com.sun.jna.platform.win32.WinReg$HKEY.<init>(WinReg.java:42)
    at com.sun.jna.platform.win32.WinReg.<clinit>(WinReg.java:71)
    at com.wakatime.intellij.plugin.Dependencies.getPythonLocation(Dependencies.java:83)
    at com.wakatime.intellij.plugin.Dependencies.isPythonInstalled(Dependencies.java:45)
    at com.wakatime.intellij.plugin.WakaTime.initComponent(WakaTime.java:87)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:488)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:107)
    at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:157)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:580)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
    at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:453)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:91)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:405)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:391)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:209)
    at com.intellij.idea.IdeaApplication.a(IdeaApplication.java:75)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:361)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mihailgaberovcommented, Oct 17, 2018

Yup! You were right, @alanhamlett! Installing the latest version of Python fixed the issue. Big thanks!

1reaction
mihailgaberovcommented, Oct 14, 2018

Looks like it’s working fine now. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

wakatime plugin of webstorm doesn't work well #158 - GitHub
Now I change my daily editor to webstorm, I install wakatime plugin and set my Api Keys, but the plugin doesn't work well....
Read more >
Troubleshooting - WakaTime
To check the status of your plugins, use the plugins status page. For help with a specific plugin, find your editor below. Adobe...
Read more >
WakaTime - IntelliJ IDEs Plugin - JetBrains Marketplace
1. Inside your IDE, select Preferences -> Plugins -> Browse Repositories.... · 2. Search for wakatime. · 3. Click the green Install Plugin...
Read more >
jetbrains-wakatime - AndroidRepo
IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding. WakaTime. Last ...
Read more >
jetbrains-wakatime - GithubHelp
Inside your IDE, select Preferences -> Plugins . Search for WakaTime . Click the green Install button. Re-launch ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found