Comments (5)
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.
Is context buddy open source? I wonder if I could contribute a fix for that..
from contextbuddy.
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:
- uninstalled the plugin, restarted the IDE
- installed the plugin, but without restarting the IDE
- modified the downloaded zip in
~/.cache/JetBrains/IdeaIC2020.1/plugins
the following way:
- packaged the
classes
directory into acontext-buddy.jar
- removed the
classes
directory - pasted the created jar into
lib
next to other jars
- 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.
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.
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:
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)
- Light theme not supported HOT 1
- Tracking history of changes across different files HOT 2
- Configurable color saturation of background highlighting HOT 1
- IntelliJ plugin crashed HOT 1
- NullPointerException in IntelliJ
- Add a date column to the tool tab
- Make the commit colors match the colors from the annotate view
- Doesn't work AT ALL in IntelliJ 2021.2.3 HOT 1
- Fails in remotessh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contextbuddy.