Giter Site home page Giter Site logo

Comments (5)

odisseus avatar odisseus commented on September 24, 2024 1

I get a NoClassDefFoundError immediately after starting up IntelliJ.

Stack trace:

java.lang.NoClassDefFoundError: com/virtuslab/contextbuddy/ContextBuddy$
        at com.virtuslab.contextbuddy.StateManager.<init>(StateManager.scala:12)
        at com.virtuslab.contextbuddy.StateManager$.$anonfun$apply$1(StateManager.scala:27)
        at scala.util.Try$.apply(Try.scala:213)
        at com.virtuslab.contextbuddy.StateManager$.apply(StateManager.scala:27)
        at com.virtuslab.contextbuddy.ContextBuddyComponent.projectOpened(ContextBuddyComponent.scala:31)

IntelliJ 2020.1, Java 11 on Linux

Complete log available at https://ipfs.io/ipfs/QmTbcS9bQT6pdxDkN3oeEhtsY8DMNMqRwWuZTNuA1Y2xMq

from contextbuddy.

przemek-pokrywka avatar przemek-pokrywka commented on September 24, 2024

Is context buddy open source? I wonder if I could contribute a fix for that..

from contextbuddy.

przemek-pokrywka avatar przemek-pokrywka commented on September 24, 2024

I need to add that this error occurs after I try to install Context Buddy using IntelliJ's Plugin Marketplace. I noticed that the blog recommends to download the plugin from some other place. Can it be due to that? If so, can the version at the marketplace be updated?

By the way, the pasted stacktrace doesn't show up when I did the following:

  1. uninstalled the plugin, restarted the IDE
  2. installed the plugin, but without restarting the IDE
  3. modified the downloaded zip in ~/.cache/JetBrains/IdeaIC2020.1/plugins the following way:
  • packaged the classes directory into a context-buddy.jar
  • removed the classes directory
  • pasted the created jar into lib next to other jars
  1. restarted the IDE

Then the menu actions are available though I can click on anything and nothing happens, apart of the help.

/cc @romanowski @odisseus

from contextbuddy.

przemek-pokrywka avatar przemek-pokrywka commented on September 24, 2024

The plugin downloaded from the link at the blog also generates this error.

IntelliJ IDEA 2020.1.1 (Community Edition)
Build #IC-201.7223.91, built on April 30, 2020
Runtime version: 11.0.7+10-post-Ubuntu-3ubuntu1 amd64
VM: OpenJDK 64-Bit Server VM by Ubuntu
Linux 5.4.0-29-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Non-Bundled Plugins: AceJump, org.intellij.scala, org.jetbrains.kotlin, com.jetbrains.ChooseRuntime, Docker, PythonCore
Current Desktop: ubuntu:GNOME

from contextbuddy.

przemek-pokrywka avatar przemek-pokrywka commented on September 24, 2024

When I repackaged the version mentioned at the blog post (moved contents of classes into a jar in lib), the Context Buddy was able to display some UI elements:

image
but then I can't do anything useful with that and I can see the following in the Idea log:

2020-05-08 15:09:28,541 [ 173851]   WARN - marthistory.SmartHistoryModel$ - No data for com.intellij.openapi.editor.impl.EditorImpl@b25e044, cannot set enable to true 

from contextbuddy.

Related Issues (10)

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.