Comments (3)
This sounds for me like a borked installation and/or missing IDEA configuration
You could have a look on my tries to run idea-cli-inspector
within a Docker container as part of a Travis CI build here:
- https://github.com/bentolor/microframeworks-showcase/tree/idea-cli-inspector
- Esp. https://github.com/bentolor/microframeworks-showcase/blob/idea-cli-inspector/.travis.yml in combination with
- https://github.com/bentolor/microframeworks-showcase/tree/idea-cli-inspector/tools/idea-cli-inspector
The thing is: IDEA sometimes require a few setting like JDK location and/or plugins that you would normally install.
I do this by manually adding/copying the minimum required configuration into the idea default configuration location.
You can see the result here: https://www.travis-ci.org/bentolor/microframeworks-showcase/builds/365273171
from idea-cli-inspector.
It looks like you are trying to inspect a Android project? If yes maybe you are better off to directly use a Android studio installation vs. a IDEA installation, because IDEA does not bring the Android plugins with it by default and AFAIK the Android addon is more than just a simple plugin.jar
to add to IDEA.
from idea-cli-inspector.
I added more notes in the README about how to start IntelliJ interactivly to directly understand and fix the issue:
For example I map the IDEA configuration directories and X11 socket into the Docker container, then start/fix/add the things I need, exit the Container and manually diff/add the nedded things by deleting the others
xhost +
docker run -it --rm \
--dns 192.168.144.18 --dns 8.8.8.8 \
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v `pwd`/root/.IntelliJIdea2018.1:/root/.IntelliJIdea2018.1 \
-v `pwd`/root/.java:/root/.java debug-ideacli-dockeragent \
/bin/bash
In our private docker image this looks as follows. But this is far far more that you need for a minimal configuration/install
.
├── bamboo-capabilities.properties
├── Dockerfile
├── .dockerignore
├── README.asciidoc
├── root
│ ├── .IntelliJIdea2017.3
│ │ ├── config
│ │ │ ├── disabled_plugins.txt
│ │ │ ├── idea.key
│ │ │ ├── options
│ │ │ │ ├── debugger.xml
│ │ │ │ ├── dimensions.xml
│ │ │ │ ├── feature.usage.statistics.xml
│ │ │ │ ├── ide.general.xml
│ │ │ │ ├── images.support.xml
│ │ │ │ ├── jdk.table.xml
│ │ │ │ ├── laf.xml
│ │ │ │ ├── options.xml
│ │ │ │ ├── path.macros.xml
│ │ │ │ ├── project.default.xml
│ │ │ │ ├── recentProjects.xml
│ │ │ │ ├── statistics.actions.xml
│ │ │ │ ├── statistics.application.usages.xml
│ │ │ │ ├── statistics.shortcuts.xml
│ │ │ │ ├── stubIndex.xml
│ │ │ │ └── updates.xml
│ │ │ ├── plugins
│ │ │ │ ├── availables.xml
│ │ │ │ ├── availables.xml.etag
│ │ │ │ ├── handlebars
│ │ │ │ │ └── lib
│ │ │ │ │ ├── handlebars.jar
│ │ │ │ │ └── resources_en.jar
│ │ │ │ ├── js-karma
│ │ │ │ │ ├── js_reporter
│ │ │ │ │ │ └── karma-intellij
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ ├── fakePlugin.js
│ │ │ │ │ │ │ ├── intellijCli.js
│ │ │ │ │ │ │ ├── intellij.conf.js
│ │ │ │ │ │ │ ├── intellijCoverageReporter.js
│ │ │ │ │ │ │ ├── intellijPlugin.js
│ │ │ │ │ │ │ ├── intellijReporter.js
│ │ │ │ │ │ │ ├── intellijRunner.js
│ │ │ │ │ │ │ ├── intellijServer.js
│ │ │ │ │ │ │ ├── intellijUtil.js
│ │ │ │ │ │ │ ├── karma-browser-tracker.js
│ │ │ │ │ │ │ ├── karma-intellij-debug.js
│ │ │ │ │ │ │ ├── kjhtml
│ │ │ │ │ │ │ │ ├── intellij-restore-specFilter-after-kjhtml.js
│ │ │ │ │ │ │ │ ├── intellij-save-specFilter-before-kjhtml.js
│ │ │ │ │ │ │ │ └── kjhtml-specFilter-patch.js
│ │ │ │ │ │ │ └── tree.js
│ │ │ │ │ │ ├── LICENSE.txt
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ └── static
│ │ │ │ │ │ └── delay-karma-start-in-debug-mode.js
│ │ │ │ │ └── lib
│ │ │ │ │ └── js-karma.jar
│ │ │ │ ├── NodeJS
│ │ │ │ │ ├── js
│ │ │ │ │ │ ├── mocha-intellij
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── mochaIntellijReporter.js
│ │ │ │ │ │ │ │ ├── mocha-intellij-stringifier.js
│ │ │ │ │ │ │ │ ├── mochaIntellijTree.js
│ │ │ │ │ │ │ │ ├── mochaIntellijUtil.js
│ │ │ │ │ │ │ │ ├── mochaTreeUtil.js
│ │ │ │ │ │ │ │ └── single-element-queue.js
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── README.md
│ │ │ │ │ │ ├── node-core-modules
│ │ │ │ │ │ │ └── node-core-modules-loader.js
│ │ │ │ │ │ └── nodeunit
│ │ │ │ │ │ └── nodeunit-intellij-starter.js
│ │ │ │ │ └── lib
│ │ │ │ │ ├── NodeJS.jar
│ │ │ │ │ └── resources_en.jar
│ │ │ │ ├── Scala
│ │ │ │ │ ├── launcher
│ │ │ │ │ │ ├── sbt-launch.jar
│ │ │ │ │ │ ├── sbt-structure-0.12.jar
│ │ │ │ │ │ ├── sbt-structure-0.13.jar
│ │ │ │ │ │ └── sbt-structure-1.0.jar
│ │ │ │ │ └── lib
│ │ │ │ │ ├── bcel.jar
│ │ │ │ │ ├── compiler-shared.jar
│ │ │ │ │ ├── evo-inflector.jar
│ │ │ │ │ ├── fastparse.jar
│ │ │ │ │ ├── jamm.jar
│ │ │ │ │ ├── jps
│ │ │ │ │ │ ├── compiler-interface.jar
│ │ │ │ │ │ ├── compiler-interface-sources-2.10.jar
│ │ │ │ │ │ ├── compiler-interface-sources-2.11.jar
│ │ │ │ │ │ ├── compiler-jps.jar
│ │ │ │ │ │ ├── incremental-compiler.jar
│ │ │ │ │ │ ├── nailgun.jar
│ │ │ │ │ │ ├── repl-interface-sources.jar
│ │ │ │ │ │ └── sbt-interface.jar
│ │ │ │ │ ├── runners.jar
│ │ │ │ │ ├── sbt-structure-core.jar
│ │ │ │ │ ├── scala-library.jar
│ │ │ │ │ ├── scalamacros.jar
│ │ │ │ │ ├── scalameta120.jar
│ │ │ │ │ ├── scalameta.jar
│ │ │ │ │ ├── scala-nailgun-runner.jar
│ │ │ │ │ ├── scala-parser-combinators.jar
│ │ │ │ │ ├── scalap.jar
│ │ │ │ │ ├── scala-play-2-jps-plugin.jar
│ │ │ │ │ ├── scala-plugin.jar
│ │ │ │ │ ├── scala-reflect.jar
│ │ │ │ │ ├── scalariform.jar
│ │ │ │ │ ├── scalastyle.jar
│ │ │ │ │ ├── scalatest-finders-patched.jar
│ │ │ │ │ └── scala-xml.jar
│ │ │ │ └── vuejs
│ │ │ │ └── lib
│ │ │ │ ├── resources_en.jar
│ │ │ │ └── vuejs.jar
│ │ │ └── port.lock
│ │ └── system
│ │ ├── consentOptions
│ │ │ └── accepted
│ │ ├── frameworks
│ │ │ └── detection
│ │ │ └── detectors-registry.dat
│ │ ├── .home
│ │ └── port.lock
│ └── .java
│ └── .userPrefs
│ ├── jetbrains
│ │ ├── <uuid>
│ │ │ └── prefs.xml
│ │ ├── <scrambled name>
│ │ │ └── prefs.xml
│ │ ├── jetprofile
│ │ │ └── prefs.xml
│ │ └── prefs.xml
│ ├── prefs.xml
│ ├── .user.lock.root
│ └── .userRootModFile.root
├── srv
└── ideainspect.groovy
from idea-cli-inspector.
Related Issues (16)
- Fails to launch intellij idea 2016.01 on OSX HOT 3
- Identifying new violations introduced with changes HOT 4
- Inspection fails on checkstyle.xml - how to fix? HOT 2
- IDEA reporting OK though "Inspection cannot proceed" due to unresolved path variable HOT 5
- command line arguments should override .ideainspect file HOT 5
- Allow to specify fullpath of pom.xml as project path HOT 3
- Incorporate sylvainlaurent/docker-intellij-inspect with idea-cli-inspector
- required files in repo to run this inspect tool HOT 1
- Does it run with other IDEs HOT 4
- Remove usage of `jcenter` HOT 1
- Jenkins Pipelining HOT 6
- Custom Scopes in Inspections HOT 7
- Configure Libraries HOT 2
- Startup Error: Application cannot start in headless mode HOT 8
- Script looks for `idea.sh` for Android Studio installations under Linux
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 idea-cli-inspector.