Quantcast
Viewing all 5661 articles
Browse latest View live

Structural Search Inspection not working for Structural Search that does?

Hello, All -

 

If I issue this Structural Search:

$field$ = $something$;if ($field$ == null) {     thrownew ServletException($msg$);}

with all default constraints via Edit > Find > Search Structurally, it matches code you'd expect it to, e.g.,

metricId = inputForm.getMetricId();if (metricId == null) {     thrownew ServletException("Missing metricId");}

 

If you dump this into a Structural Search Inspection as a Search Template, it doesn't flag this same code. (All of my other SS Inspections work great - I love this feature!)  Ideas?

 

Thanks in advance,

- Luke


Haxe plugin future

Could someone from JetBrains please comment on the future of Haxe plugin for IntelliJ IDEA?

It's been a long time since any official commits to the repository, there's plenty of pull-requests on github and issues open on issue tracker.

With the release on IDEA 13.1 it got completely broken and became unusable. It would be great at least to get compatability fixes to make it work in 13.1.

cant build IInAppBillingService.java (in-app purchases)

I was doing this following these steps as mentioned in the link.

  1. Created directory /src/com/android/vending/billing and copy the IInAppBillingService.aidl file into this directory.

     

  2. Rebuilded application. (a generated file IInAppBillingService.java in the /gen directory expected, but nothing!)

 

when I finished that, IInAppBillingService.java still not exists in \gen

whats wrong?

Shift + ESC is not working

Hi,

the keyboard shortcut Shift + ESC (hide active tool window) is not working. I added a diffrent shortcut (Ctrl + Shift + Alt + Q) and tried it successfully, but I would like to use the original shortcut Shift + ESC. I use IntelliJ Idea 13 on Windows 8.1 x64. Any suggestions?

 

Thanks in advance,

Michael

Maven dependency suggestions in IDEA 13

I use Intellij IDEA 13 on Ubuntu 13.10 (in Virtualbox) and maven for a project. Everything worked fine up until recently, when IDEA suddenly stopped giving suggestions for groupId, artifactId etc. for dependencies. I didn't do any changes to setting in IDEA or anywhere else. The only change I can remember doing around the same time was updating Virtualbox.

 

I noticed that in settings => maven => repositories the remote repository was set to http://repo.maven.org/maven2, and it gave an error. After fiddling a lot it suddenly changed back to http://repo1.maven.org/maven2 and doesn't give any error anymore.

But I still have the problem where IDEA refuses to give any suggestions when editing pom.xml files (except the modules in my project). If I run the build, it downloads all the depdencies and everything seems to work well.

 

Also, in "Artifactory or Nexus Service URLs" the http://oss.sonatype.org/service/local/ doesn't return any repositories. Don't know if it relevant.

Some import statements missing color syntax highlight

Hi,

 

Using IJ CE 13.1.1, Sometimes, there are some import statements which have no syntax highliting.In the code, the classes coming from these imports also suffer from the lack of syntax highlighting. Is it because of the java lib itself or does IJ has some rules regarding syntax highlighting which leave out these classes?

 

Thanks in advance for any help.

 

[URL=http://imgur.com/JTIIpXN][IMG]http://i.imgur.com/JTIIpXN.png[/IMG][/URL]

List of plugins was not loaded: Invalid Http response

Whenever I run Intellij and go to settings -> plugins -> browse repositories, I get an error message popup "List of plugins was not loaded: Invalid Http response".  No idea why.  I'm not behind an HTTP proxy.

 

In researching this issue, I found some other posts which point to invalid xml.

 

http://devnet.jetbrains.com/message/5284025#5284025

http://devnet.jetbrains.com/message/5267778#5267778

http://youtrack.jetbrains.com/issue/IDEA-56538

 

I did find one xml error in availables.xml in .IntelliJIdea13\config\plugins but it seems to recreate this file each time so fixing it doesn't work.  The xml problem is in the entry for the Log4JPlugin:

 

<idea-plugin downloads='29099' size='110269' date='1302711954000' url='http://plugins.intellij.net/plugin/?idea&amp;amp;id=13'><name>Log4JPlugin</name>

 

It should be &amp; instead of &amp;amp;

 

In Manage Repositories the only repository is http://plugins.jetbrains.com.  When I try to use http://plugins.jetbrains.com/?idea instead using the Check Now button, I get a different error: "Plugin descriptions contain some errors. Please, check idea.log for details."  The error in the log (provided below, is the same, though as for the other error.

 

Image may be NSFW.
Clik here to view.
ScreenHunter_02 Apr. 06 14.34.gif

 

 

The log from startup to the error is:

 

2014-04-06 14:55:25,343 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------

2014-04-06 14:55:25,457 [    114]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-135.480, 21 Mar 2014 00:00)

2014-04-06 14:55:25,458 [    115]   INFO -        #com.intellij.idea.Main - OS: Windows 8 (6.2, x86)

2014-04-06 14:55:25,458 [    115]   INFO -        #com.intellij.idea.Main - JRE: 1.7.0_40-b43 (Oracle Corporation)

2014-04-06 14:55:25,458 [    115]   INFO -        #com.intellij.idea.Main - JVM: 24.0-b56 (Java HotSpot(TM) Server VM)

2014-04-06 14:55:25,468 [    125]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Xbootclasspath/a:C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\boot.jar -Didea.paths.selector=IntelliJIdea13

2014-04-06 14:55:25,612 [    269]   INFO -        #com.intellij.idea.Main - JNA library loaded (32-bit) in 144 ms

2014-04-06 14:55:25,839 [    496]   INFO -        #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 196 ms

2014-04-06 14:55:25,881 [    538]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational

2014-04-06 14:55:25,893 [    550]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.

2014-04-06 14:55:31,507 [   6164]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor flex-ide-specific.xml

2014-04-06 14:55:32,883 [   7540]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-tapestry-support.xml

2014-04-06 14:55:33,931 [   8588]   INFO - llij.ide.plugins.PluginManager - 129 plugins initialized in 3961 ms

2014-04-06 14:55:33,938 [   8595]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Application Servers View (0.2.0), Byte Code Viewer (0.1), CSS Support, Commander (1.0.0), Copyright (8.1), Coverage, DSM Analysis (1.0.0), Database Support (1.0), Eclipse Integration (3.0), GWT Support (1.0), Git Integration (8.1), GitHub, Google App Engine Integration (1.1.4), Groovy (9.0), GuiceyIDEA (8.0), HTML Tools (2.0), I18n for Java, IDEA CORE, J2ME (1.0), JUnit (1.0), Java EE: Bean Validation Support (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction  (1.0), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), LESS support, Maven Integration, Maven Integration Extension, Persistence Frameworks Support (1.0), Properties Support, QuirksMode, REST Client, Refactor-X (2.01), Remote Hosts Access (0.1), SASS support, SQL support (1.0), SSH Remote Run (0.1), Spring MVC Support (1.0), Spring Support (1.0), Spy-js (999.999), Structural Search (9.0), Stylus support (999.999), Task Management (1.0), Terminal (0.1), Tomcat and TomEE Integration (1.0), Type Migration, UI Designer, UML Support (1.0), Vaadin Support (1.0), W3C Validators (2.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0)

2014-04-06 14:55:33,939 [   8596]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Bitbucket (1.2.1), JRebel Plugin (5.5.2-idea13), Lombok Plugin (0.8.5)

2014-04-06 14:55:33,939 [   8596]   INFO - llij.ide.plugins.PluginManager - Disabled plugins: ASP (0.1), Android Designer, Android Support (10.0), Ant Support (1.0), AspectJ Support (1.1), CFML Support (3.53), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Cucumber for Groovy (999.999), Cucumber for Java (999.999), Emma, Flash/Flex Support (1.0), FreeMarker support (1.0), Geronimo Integration (1.0), Gherkin (999.999), GlassFish Integration (1.0), Gradle, Grails (9.0), HAML, Heroku integration (1.0), Hibernate Support (1.0), IDEtalk (1.0), IntelliLang (8.0), JBoss Drools Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), Java EE: Batch Applications (1.0), Java EE: Contexts and Dependency Injection (1.1), Java EE: Java Server Faces (2.2.X.), Jelastic Cloud Platform Integration (1.1), OpenShift integration (1.0), Osmorc (1.4.4), Perforce Integration (2.0), Playframework Support (1.0), Plugin DevKit (1.0), Resin Integration (8.1), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring OSGi (1.0), Spring Roo Console (1.0), Spring Security (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Struts 1.x (2.0), Struts 2 (1.0), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), TestNG-J (8.0), Time Tracking (1.0), Velocity support (1.0), Visual SourceSafe Integration (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), YAML, ZKM-Unscramble (1.0), dmServer Support (0.9.5)

2014-04-06 14:55:36,357 [  11014]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=498008064

2014-04-06 14:55:36,591 [  11248]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\bin\fsnotifier.exe

2014-04-06 14:55:36,612 [  11269]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.

2014-04-06 14:55:39,250 [  13907]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []

2014-04-06 14:55:45,916 [  20573]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null

2014-04-06 14:55:45,922 [  20579]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null

2014-04-06 14:55:46,703 [  21360]   INFO - lij.util.xmlb.OptionTagBinding - Duplicate options for com.zeroturnaround.javarebel.idea.plugin.notifications.PersistentSettings@f85c1b will be ignored

2014-04-06 14:55:46,942 [  21599]   INFO - v.intellij.plugin.LombokLoader - Lombok plugin initialized for IntelliJ

2014-04-06 14:55:46,949 [  21606]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null

2014-04-06 14:55:46,970 [  21627]   INFO - pl.stores.ApplicationStoreImpl - 104 application components initialized in 12787 ms

2014-04-06 14:55:47,254 [  21911]   INFO - .intellij.idea.IdeaApplication - App initialization took 23248 ms

2014-04-06 14:55:47,922 [  22579]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/customization.xml file is null

2014-04-06 14:55:48,250 [  22907]   INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.

2014-04-06 14:55:53,369 [  28026]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dynamic.xml file is null

2014-04-06 14:55:53,565 [  28222]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/deployment.xml file is null

2014-04-06 14:55:53,579 [  28236]   INFO - ellij.project.impl.ProjectImpl - 153 project components initialized in 4786 ms

2014-04-06 14:55:53,886 [  28543]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 307 ms

2014-04-06 14:55:55,122 [  29779]   INFO - CompilerWorkspaceConfiguration - Available processors: 4

2014-04-06 14:55:55,272 [  29929]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 0 ms, indexed 0 directories

2014-04-06 14:55:55,331 [  29988]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqldialects.xml file is null

2014-04-06 14:55:55,340 [  29997]   INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 63 ms

2014-04-06 14:55:55,816 [  30473]   INFO - org.jetbrains.io.BuiltInServer - We cannot bind to our default range, so, try to bind to any free port

2014-04-06 14:55:56,173 [  30830]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 50250

2014-04-06 14:55:56,341 [  30998]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null

2014-04-06 14:55:56,342 [  30999]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null

2014-04-06 14:55:56,889 [  31546]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null

2014-04-06 14:55:57,998 [  32655]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/uml.xml file is null

2014-04-06 14:55:58,106 [  32763]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2631 ms

2014-04-06 14:55:58,106 [  32763]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update

2014-04-06 14:55:58,106 [  32763]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms

2014-04-06 14:55:58,859 [  33516]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gant_config.xml file is null

2014-04-06 14:55:59,828 [  34485]   INFO - ution.rmi.RemoteProcessSupport - "C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\jre\jre\bin\java" -Djava.awt.headless=true -Didea.version==13.1.1 -Xmx512m -Dfile.encoding=windows-1252 -classpath "/C:/dropbox/PortableApps/IntelliJ IDEA 13.1.1/lib/resources_en.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\log4j.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\picocontainer.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jdom.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\annotations.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\resources_en.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\oromatcher.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jna.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\util.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\trove4j.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jna-utils.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\lucene-core-2.4.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven-server-api.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3-server-impl.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-api-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-connector-wagon-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-impl-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-spi-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-util-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\archetype-catalog-2.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\archetype-common-2.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\commons-cli-1.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-aether-provider-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-artifact-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-compat-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-core-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-dependency-tree-1.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-embedder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-model-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-model-builder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-plugin-api-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-repository-metadata-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-settings-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-settings-builder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nekohtml-1.9.6.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nexus-indexer-3.0.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nexus-indexer-artifact-1.0.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-cipher-1.7.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-classworlds-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-component-annotations-1.5.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-interpolation-1.14.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-sec-dispatcher-1.3.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-utils-2.0.6.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-guava-0.9.9.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-guice-3.1.0-no_aop.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-inject-bean-2.3.0.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-inject-plexus-2.3.0.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-file-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-http-2.4-shaded.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-provider-api-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\xercesMinimal-1.9.6.2.jar" org.jetbrains.idea.maven.server.RemoteMavenServer

2014-04-06 14:56:00,618 [  35275]   INFO - ution.rmi.RemoteProcessSupport - Port/ID: 25527/Maven3ServerImpl64ac3cd8

2014-04-06 14:56:05,357 [  40014]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 16618 ms

2014-04-06 14:56:08,444 [  43101]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/postfixTemplates.xml file is null

2014-04-06 14:56:14,071 [  48728]   INFO - .ide.plugins.PluginManagerMain - Invalid Http response

java.io.IOException: Invalid Http response

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1342)

at java.net.URL.openStream(URL.java:1037)

at com.intellij.openapi.updateSettings.impl.UpdateChecker$12.run(UpdateChecker.java:574)

at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)

at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)

2014-04-06 14:56:18,600 [  53257]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/cachedDictionary.xml file is null

2014-04-06 14:56:19,857 [  54514]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webContexts.xml file is null

2014-04-06 14:56:33,499 [  68156]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/jsLibraryMappings.xml file is null

2014-04-06 14:56:33,513 [  68170]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/dataSources.xml file is null

2014-04-06 14:56:33,519 [  68176]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dataSources.xml file is null

2014-04-06 14:56:33,522 [  68179]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqlDataSources.xml file is null

2014-04-06 14:56:33,716 [  68373]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/databaseColors.xml file is null

2014-04-06 14:56:34,271 [  68928]   INFO - org.jetbrains.io.BuiltInServer - web server stopped

2014-04-06 14:56:34,282 [  68939]   INFO - v.intellij.plugin.LombokLoader - Lombok plugin disposed for IntelliJ

2014-04-06 14:56:34,283 [  68940]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN

2014-04-06 14:56:34,345 [  69002]   INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN

2014-04-06 14:56:34,345 [  69002]   INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN

2014-04-06 14:56:34,345 [  69002]   INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN

2014-04-06 14:56:34,346 [  69003]   INFO - .history.utils.LocalHistoryLog - Purging local history...

2014-04-06 14:56:34,350 [  69007]   INFO - .history.utils.LocalHistoryLog - Local history storage successfully closed.

2014-04-06 14:56:34,353 [  69010]   WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0

2014-04-06 14:56:34,353 [  69010]   INFO - newvfs.persistent.PersistentFS - VFS dispose started

2014-04-06 14:56:34,365 [  69022]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed

2014-04-06 14:56:34,367 [  69024]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------

Artifact's setup cleared after external build

Hi,

 

I have a 'Directory content' added to 'my-webapp:war exploded' artifcat under WEB-INF/classes. Each time I run maven build from console the 'Directory content' is being lost. Is it bug or feature?

 

Best regards, Eugene.


Proxy settings not exported

Hello,

 

I'd like to create a base configuration that will be imported by all the developpers at work. They will then configure it as they wish, but I'd like to provide a common ground for everybody.

 

When I export my settings, the proxy configuration is not included. This is typically the kind of settings that are the same on every developer's machine.

 

Is it a bug? Or is there a way to make sure that it is included?

 

Thanks,

 

Sébastien

Configure Idea config + system paths

Hello,

 

When users have their home directory on the network, it's pretty bad for the IDE performance.

 

Is there a way to configure the system and config paths to be somewhere else, at installation time?

 

I know that I can modify the idea.properties file, but I would love to have a way to install the IDE (with a command line, for example) that would configure the paths automatically.

 

Thanks for your advice,

 

Sébastien

Generate Transfer Objects from Persistence Tool Window (JPA)

Hello,

 

I have several JPA entities as domain objects and need to send DTOs of this entities to the client for displaying. It's really annoying to create a DTO mostly the same as the entity. Is there a way to generate automatically this kind of classes through IntelliJ?

I saw that EJB has this kind of features but for JPA entities, I didn't find it.

 

Thanks

How can i get the Structure Window to appear in the far left panel directly under the Project Window ?

Hi.. 

 

I remember when I used eclipse i was able to reposition windows and they had some kind of gravity feature which caused them to anchor to some corner of the main window frame. 

 

This feature allowed me to set up my project view so that it was directly over my structure view.  Then when i set 'scroll to/from source'  and navigated to some source file,

that files position in the project and it's 'structure view' would appear in the left hand side of the workspace.   In case that wasnt' clear.. here is a picture of what i would like to do (below).

Any advice greatly appreciated.    thanks / chris


------------------------

|         |            | 

|         |            |

| proj    |   main     |

|_________|   editor   |

|         |   window   |

| struct  |            |

------------------------

Maven Profiles integration with parameters in pom

Hello,

 

I created a pom with several profiles in, one profile containing parameters (username and password) that need to be supplied. If I run maven command line with -Duser=blah -Dsecret=blah, it seems to work. However, I don't find a consistent way of configuring IntelliJ to use these parameters.

 

I select the Profile in the Maven Projects view, and I tried to supply those parameters in all kinds of ways on the junit configuration but it's not being picked up. What seems to work i creating a Run Configuration for maven on the Maven Projects tab, for example compile, and supplying the parameters to that configuration. Then each time I launch that maven compile configuration, the next junit runs will pick the parameters up, it seems. That is to say, as long as the JUnit Run Configuration existed before I ran the Maven Run Configuration. For a new test I need to rerun the maven configuration, if I relaunch the editor I need to do so, and so on. Is there any consistent way of supplying parameters to the maven profile in the JUnit configuration (I would like to have it in the JUnit configuration, must be possible because there's clearly a link between the selected maven profile and the junit configuration, different profiles yield clearly different results, it just seems to not want to work with parameters in the profile). Is this a bug in the editor or one in my head?

 

Kasper

some problems with Groovy compiler use

I have some new problems with Groovy

- when something fails I do not have the slightest idea of what is compiled (see attached image: in that case this is a Big project -90 Maven Modules- and I have no idea of what is happening because there is no indication about the source which is compiled

(this is critical because I do not see any Groovy source with the missing class! is there a way to have the complete stacktrace?

-  a groovy source in a "test" directory does not see Java code in the same directory (I was obliged to add the test classes directory to the dependencies explicitly)

 

thanks for any hint

is it possible to use git blame within intellij

Hello,

 

I'm using 13.1 for MAC. just wondering if it is possible to use 'blame' with the git integration. Any helps/hints woud be appreciated.

 

Thanks


IDEA 13.1.1 Tomcat debug issues

I can use the "Run" action on my integrated Tomcat server, but when I click Debug it just shows

 

C:\folder\apache-tomcat-7.0.47\bin\catalina.bat run

[2014-04-07 10:59:17,478] Artifact webapp:war exploded: Server is not connected. Deploy is not available.

Using CATALINA_BASE:   "C:\Users\rluthr\.IntelliJIdea12\system\tomcat\orders"

Using CATALINA_HOME:   "C:\folder\apache-tomcat-7.0.47"

Using CATALINA_TMPDIR: "C:\folder\apache-tomcat-7.0.47\temp"

Using JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_51"

Using CLASSPATH:       "C:\folder\apache-tomcat-7.0.47\bin\bootstrap.jar;C:\folder\apache-tomcat-7.0.47\bin\tomcat-juli.jar"

When I use "Run" there is more output that follows and the server starts. Debug doesn't do anything other than spit out the above text.
Thanks in advance for any help you can provide.
Using 13.1.1 Ultimate.

how to make intellij recognize the Spring settings

Hello,

I'm using Intellij 13.1 for MAC. I opened my project by import -> open the pom
and I have clicked almost all the checkboxes for the project opening dialog, like
open the projects recursively, etc

but still, after the project is open, I got

Spring Configuration Check

Unmapped Spring configuration files found.
Please configure/setup          Spring facet for modules:

 

which has almost all my modules listed.

 

Could you please shed some light into how to resolve this? Thanks a lot

Creating a module under a different VCS repository

Hello,

 

I have an established open-source project that I am working on in IntelliJ IDEA. It resides in a public GitHub repository. I wish to develop a proprietary component, which will therefore need to go in a private repository.

 

I read that IntelliJ IDEA has support for multiple roots:

http://blog.jetbrains.com/idea/2012/08/git-branches-for-multi-root-projects/

 

These directions show how to navigate within a multi-root project. It was not clear to me, however, how to create such a project in the first place.

 

My best guess was to go on GitHub, create a new repository, and then attempt to import it into IntelliJ IDEA as a module for my existing project. I went to the VCS menu and chose "Check out from Version Control" --> "GitHub." I put in the information for the new repo, and it asked me if I wanted to open a new project. I said no, and evidently nothing happened as a result.

 

I also tried creating a new module and then seeing if I could associate it with a GitHub repository on its own, but it was entirely non-obvious how to do so.

 

I am using the IntelliJ IDEA 13.1.1 Ultimate. Could someone please point me in the right direction? Step by step directions would be particularly welcome.

 

Thank you in advance for your help.

 

Best wishes,

David

 

PS: I'm not sure if it matters, but the new module will be static XML. I am using the "static web" mode for it.

When launching jRebel Debugger getting this error

H i there,

 

My jRebel debug was working fine , but starting this morning started getting this error

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xh...

>>>; stubs=[PsiJavaFileStub [mil.osd.dmdc.diss.cats.util], PsiImportListStub, PsiImportStatementStub[mil.osd.dmdc.diss.context.util.EarContext], PsiImportStatementStub[mil.osd.dmdc.diss.eai.util.LoadEaiProperties], PsiImportStatementStub[org.activiti.engine.IdentityService], PsiImportStatementStub[org.activiti.engine.ProcessEngine], PsiImportStatementStub[org.activiti.engine.ProcessEngines], PsiImportStatementStub[org.activiti.engine.RepositoryService], PsiImportStatementStub[org.activiti.engine.identity.User], PsiImportStatementStub[org.activiti.engine.repository.ProcessDefinition], PsiImportStatementStub[org.apache.log4j.Logger], PsiImportStatementStub[org.apache.log4j.xml.DOMConfigurator], PsiImportStatementStub[javax.servlet.ServletContext], PsiImportStatementStub[javax.servlet.ServletContextEvent], PsiImportStatementStub[javax.servlet.ServletContextListener], PsiImportStatementStub[java.io.File], PsiImportStatementStub[java.io.IOException], PsiImportStatementStub[java.util.*], PsiClassStub[name=UserInterfaceContextListener fqn=mil.osd.dmdc.diss.cats.util.UserInterfaceContextListener], PsiModifierListStub[mask=1], PsiTypeParameterListStub, PsiRefListStub[EXTENDS_LIST:], PsiRefListStub[IMPLEMENTS_LIST:ServletContextListener], PsiFieldStub[_log:Logger=null], PsiModifierListStub[mask=10], PsiFieldStub[servletContext:ServletContext], PsiModifierListStub[mask=9], PsiFieldStub[config:Properties=;INITIALIZER_NOT_STORED;], PsiModifierListStub[mask=9], PsiFieldStub[workflowJvsUserId:String=null], PsiModifierListStub[mask=2], PsiFieldStub[workflowJvsPassword:String=null], PsiModifierListStub[mask=2], PsiFieldStub[eaiJNDIURL:String=null], PsiModifierListStub[mask=2], PsiFieldStub[eaiJNDIprincipal:String=null], PsiModifierListStub[mask=2], PsiFieldStub[eaiJNDICredentials:String=null], PsiModifierListStub[mask=2], PsiFieldStub[pe:ProcessEngine], PsiModifierListStub[mask=2], PsiMethodStub[contextInitialized:void], PsiModifierListStub[mask=1], PsiAnnotationStub[@Override], PsiAnnotationParameterListStubImpl, PsiTypeParameterListStub, PsiParameterListStub, PsiParameterStub[event:ServletContextEvent], PsiModifierListStub[mask=4096], PsiRefListStub[THROWS_LIST:], PsiMethodStub[contextDestroyed:void], PsiModifierListStub[mask=1], PsiAnnotationStub[@Override], PsiAnnotationParameterListStubImpl, PsiTypeParameterListStub, PsiParameterListStub, PsiParameterStub[event:ServletContextEvent], PsiModifierListStub[mask=4096], PsiRefListStub[THROWS_LIST:], PsiMethodStub[updateDeployedWorkflowProcesses:void], PsiModifierListStub[mask=1], PsiTypeParameterListStub, PsiParameterListStub, PsiRefListStub[THROWS_LIST:]]

at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:663)

at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:43)

at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)

at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)

at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)

at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)

at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)

at com.intellij.psi.stubs.StubIndex.safeGet(StubIndex.java:65)

at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48)

at com.intellij.psi.impl.file.impl.JavaFileManagerBase.findClasses(JavaFileManagerBase.java:131)

at com.intellij.psi.impl.JavaPsiFacadeImpl$PsiElementFinderImpl.findClasses(JavaPsiFacadeImpl.java:287)

at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:146)

at com.intellij.debugger.ui.breakpoints.LineBreakpoint$1.compute(LineBreakpoint.java:210)

at com.intellij.debugger.ui.breakpoints.LineBreakpoint$1.compute(LineBreakpoint.java:207)

at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:961)

at com.intellij.debugger.ui.breakpoints.LineBreakpoint.a(LineBreakpoint.java:207)

at com.intellij.debugger.ui.breakpoints.LineBreakpoint.a(LineBreakpoint.java:188)

at com.intellij.debugger.ui.breakpoints.LineBreakpoint.createRequestForPreparedClass(LineBreakpoint.java:127)

at com.intellij.debugger.ui.breakpoints.BreakpointWithHighlighter.processClassPrepare(BreakpointWithHighlighter.java:322)

at com.intellij.debugger.engine.requests.RequestManagerImpl.processClassPrepared(RequestManagerImpl.java:419)

at com.intellij.debugger.engine.DebugProcessEvents.a(DebugProcessEvents.java:355)

at com.intellij.debugger.engine.DebugProcessEvents.access$300(DebugProcessEvents.java:57)

at com.intellij.debugger.engine.DebugProcessEvents$DebuggerEventThread$3.action(DebugProcessEvents.java:215)

at com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:44)

at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:147)

at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:39)

at com.intellij.debugger.impl.InvokeThread.a(InvokeThread.java:141)

at com.intellij.debugger.impl.InvokeThread.access$100(InvokeThread.java:29)

at com.intellij.debugger.impl.InvokeThread$WorkerThreadRequest.run(InvokeThread.java:54)

at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:695)

at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - IntelliJ IDEA 12.1.6  Build #IU-129.1359

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - JDK: 1.6.0_65

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - VM: Java HotSpot(TM) 64-Bit Server VM

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - Vendor: Apple Inc.

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - OS: Mac OS X

2014-04-08 14:17:37,840 [6468003]  ERROR - gger.engine.DebugProcessEvents - Last Action: JRebel Debug

cannot see compilation errors immediately

Hello,

 

I use intellij 13.1 for MAC. Put on theme Darcula to make my eyes feel good. But I am not able to see compilation errors in the files I'm editing. Even though the file name in the table is labelled with a red wavy underline after I check 'make automatically' in settings -> compiler, there are no red wavy lines for the places where the compilation fail

 

can someone please give some helps/hints? Thanks a lot

 

gigi

Viewing all 5661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>