Inspection Runner

The runner seems to start an IDEA-instance, but it doesn't produce any useful
output in my build log. This is all the output I get before the build completes
"successfully":

Checking for changes (31s)
Building in C:\Programme\buildAgent\work\myproject
Getting project sources (49s)

In the agent's log however, there's the following:

"java.util.MissingResourceException: Can't find bundle for base name
org.intellij.images.IconsBundle, locale de_DE"

"java.lang.NullPointerException
at com.intellij.openapi.progress.util.ProgressWindow.a(ProgressWindow.java:11)"

and finally:

"The JDK is not configured properly for this project. Inspection cannot proceed."

So, how do I configure the JDK? Setting the property "idea.config.path" to point
to IDEA's config directory did not help, neither did copying the whole
config-folder into the agent's work directory. What's the trick?

Thanks,
Sascha
INFO - rver.agent.impl.BuildAgentImpl - Applying patch...
INFO - rver.agent.impl.BuildAgentImpl - Patch applied in 49 seconds
INFO - rver.agent.impl.BuildAgentImpl - Run actual runner for build 160
INFO - agent.runner.JavaProgramRunner - Using java executable: c:\Programme\java\jdk1.5.0_06\bin\java.exe
INFO - agent.runner.JavaProgramRunner - Using java executable: c:\Programme\java\jdk1.5.0_06\bin\java.exe
INFO - agent.runner.JavaProgramRunner - Using java executable: c:\Programme\java\jdk1.5.0_06\bin\java.exe
INFO - nt.runner.GenericProgramRunner - Running: c:\Programme\java\jdk1.5.0_06\bin\java.exe -Dbuild.working.dir=C:\Programme\buildAgent\work\myproject -Didea.build.server.checkout.on.server=true -Didea.plugins.path=C:\Programme\buildAgent\plugins\idea\plugins -Dbuild.number=8 -Djboss.dir=c:\temp\jboss-4.0.2 "-Djdk.java version "1.4.2"=c:\Programme\java\jdk1.5.0_06" -Didea.build.server.is.personal=false -Dglobal.library.dom4j-1.4.home=C:\work\project\ext\dom4j\1.4\src -Didea.build.server.buildType.id=bt3 -Didea.build.agent.port=8112 -Didea.system.path=C:\Programme\buildAgent\work\pdfsuite\system -Dglobal.library.ant.home=C:\Develop\jakarta-ant\lib -Didea.build.server.run.type=Inspection "-Didea.config.path=C:\Programme\IntelliJ Demetra\config" "-Dglobal.library.j2ee 1.4.home=C:\work\project\ext\j2ee\1.4\src" -Dglobal.library.log4j-1.2.8.home=C:\work\project\ext\log4j\1.28\src -Didea.build.server.project.name=pdfsuite -Dsuccessful.build.number=7 -Didea.home.path=C:\Programme\buildAgent\plugins\idea -Djdk.1.4.2.home=C:\Develop\jdk1.4.2_11 -Djdk.java.version..1.4.2..home=c:\Develop\jdk1.4.2_11 -Didea.build.server.build.id=160 -Demma.disable.source=true -Djdk.home.idea_jdk=c:/programme/java/jdk1.5.0_06 -Xbootclasspath/p:C:\Programme\buildAgent\plugins\idea\lib\boot.jar -classpath C:\Programme\Java\jdk1.5.0_06\lib\tools.jar;C:\Programme\buildAgent\plugins\idea\lib\idea.jar;C:\Programme\buildAgent\plugins\idea\lib\extensions.jar;C:\Programme\buildAgent\plugins\idea\lib\openapi.jar;C:\Programme\buildAgent\plugins\idea\lib\jdom.jar;C:\Programme\buildAgent\plugins\idea\lib\log4j.jar com.intellij.idea.Main inspect C:\Programme\buildAgent\work\pdfsuite\pdfsuite\pdfsuite.ipr "Default - Code only.xml" "C:\Dokumente und Einstellungen\sweinreuter\Lokale Einstellungen\Temp\inspection35762result"
INFO - nt.runner.GenericProgramRunner - c:\Programme\java\jdk1.5.0_06\bin\java.exe -Dbuild.working.dir=C:\Programme\buildAgent\work\pdfsuite -Didea.build.server.checkout.on.server=true -Didea.plugins.path=C:\Programme\buildAgent\plugins\idea\plugins -Dbuild.number=8 -Djboss.dir=c:\temp\jboss-4.0.2 "-Djdk.java version "1.4.2"=c:\Programme\java\jdk1.5.0_06" -Didea.build.server.is.personal=false -Dglobal.library.dom4j-1.4.home=C:\work\project\ext\dom4j\1.4\src -Didea.build.server.buildType.id=bt3 -Didea.build.agent.port=8112 -Didea.system.path=C:\Programme\buildAgent\work\pdfsuite\system -Dglobal.library.ant.home=C:\Develop\jakarta-ant\lib -Didea.build.server.run.type=Inspection "-Didea.config.path=C:\Programme\IntelliJ Demetra\config" "-Dglobal.library.j2ee 1.4.home=C:\work\project\ext\j2ee\1.4\src" -Dglobal.library.log4j-1.2.8.home=C:\work\project\ext\log4j\1.28\src -Didea.build.server.project.name=pdfsuite -Dsuccessful.build.number=7 -Didea.home.path=C:\Programme\buildAgent\plugins\idea -Djdk.1.4.2.home=C:\Develop\jdk1.4.2_11 -Djdk.java.version..1.4.2..home=c:\Develop\jdk1.4.2_11 -Didea.build.server.build.id=160 -Demma.disable.source=true -Djdk.home.idea_jdk=c:/programme/java/jdk1.5.0_06 -Xbootclasspath/p:C:\Programme\buildAgent\plugins\idea\lib\boot.jar -classpath C:\Programme\Java\jdk1.5.0_06\lib\tools.jar;C:\Programme\buildAgent\plugins\idea\lib\idea.jar;C:\Programme\buildAgent\plugins\idea\lib\extensions.jar;C:\Programme\buildAgent\plugins\idea\lib\openapi.jar;C:\Programme\buildAgent\plugins\idea\lib\jdom.jar;C:\Programme\buildAgent\plugins\idea\lib\log4j.jar com.intellij.idea.Main inspect C:\Programme\buildAgent\work\pdfsuite\myproject\myproject.ipr "Default - Code only.xml" "C:\Dokumente und Einstellungen\sweinreuter\Lokale Einstellungen\Temp\inspection35762result"

INFO - nt.runner.GenericProgramRunner - java.util.MissingResourceException: Can't find bundle for base name org.intellij.images.IconsBundle, locale de_DE

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:726)

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:137)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionsElement(ActionManagerImpl.java:132)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:276)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.readExternal(ActionManagerImpl.java:342)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.doInitJdomExternalizable(ComponentManagerImpl.java:290)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.initJdomExternalizable(ComponentManagerImpl.java:249)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:27)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.access$000(ComponentManagerImpl.java:36)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:0)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:395)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:375)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:63)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:236)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:260)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:200)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.initComponents(ApplicationImpl.java:210)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:408)

INFO - nt.runner.GenericProgramRunner - at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:31)

INFO - nt.runner.GenericProgramRunner - at com.intellij.idea.Main$3.run(Main.java:2)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

INFO - nt.runner.GenericProgramRunner - ERROR - ij.components.ComponentManager - Cannot load defaults for com.intellij.openapi.actionSystem.impl.ActionManagerImpl

INFO - nt.runner.GenericProgramRunner - java.util.MissingResourceException: Can't find bundle for base name org.intellij.images.IconsBundle, locale de_DE

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:726)

INFO - nt.runner.GenericProgramRunner - at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:137)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.processActionsElement(ActionManagerImpl.java:132)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:276)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.readExternal(ActionManagerImpl.java:342)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.doInitJdomExternalizable(ComponentManagerImpl.java:290)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.initJdomExternalizable(ComponentManagerImpl.java:249)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:27)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.access$000(ComponentManagerImpl.java:36)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:0)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:395)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:375)

INFO - nt.runner.GenericProgramRunner - at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:63)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:236)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:260)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:200)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.initComponents(ApplicationImpl.java:210)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:408)

INFO - nt.runner.GenericProgramRunner - at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:31)

INFO - nt.runner.GenericProgramRunner - at com.intellij.idea.Main$3.run(Main.java:2)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

INFO - nt.runner.GenericProgramRunner - ERROR - ij.components.ComponentManager - JDK: 1.5.0_06

INFO - nt.runner.GenericProgramRunner - ERROR - ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM

INFO - nt.runner.GenericProgramRunner - ERROR - ij.components.ComponentManager - Vendor: Sun Microsystems Inc.

INFO - nt.runner.GenericProgramRunner - ERROR - ij.components.ComponentManager - OS: Windows XP

INFO - nt.runner.GenericProgramRunner - java.lang.NullPointerException

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.a(ProgressWindow.java:11)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.access$600(ProgressWindow.java:128)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow$3.run(ProgressWindow.java:0)

INFO - nt.runner.GenericProgramRunner - at com.intellij.util.Alarm$1.run(Alarm.java:103)

INFO - nt.runner.GenericProgramRunner - at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:246)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:16)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:3)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:56)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:32)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:31)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:223)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:272)

INFO - nt.runner.GenericProgramRunner - at com.intellij.codeInspection.ex.InspectionApplication.run(InspectionApplication.java:21)

INFO - nt.runner.GenericProgramRunner - at com.intellij.codeInspection.ex.InspectionApplication$1.run(InspectionApplication.java:13)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm -

INFO - nt.runner.GenericProgramRunner - java.lang.NullPointerException

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.a(ProgressWindow.java:11)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.access$600(ProgressWindow.java:128)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow$3.run(ProgressWindow.java:0)

INFO - nt.runner.GenericProgramRunner - at com.intellij.util.Alarm$1.run(Alarm.java:103)

INFO - nt.runner.GenericProgramRunner - at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:246)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:16)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:3)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:56)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:32)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:31)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:223)

INFO - nt.runner.GenericProgramRunner - at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:272)

INFO - nt.runner.GenericProgramRunner - at com.intellij.codeInspection.ex.InspectionApplication.run(InspectionApplication.java:21)

INFO - nt.runner.GenericProgramRunner - at com.intellij.codeInspection.ex.InspectionApplication$1.run(InspectionApplication.java:13)

INFO - nt.runner.GenericProgramRunner - at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:89)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)

INFO - nt.runner.GenericProgramRunner - at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:186)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

INFO - nt.runner.GenericProgramRunner - at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - IntelliJ IDEA (Demetra) #5551 Build #5551

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - JDK: 1.5.0_06

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - VM: Java HotSpot(TM) Client VM

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - Vendor: Sun Microsystems Inc.

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - OS: Windows XP

INFO - nt.runner.GenericProgramRunner - ERROR - #com.intellij.util.Alarm - Last Action:

INFO - nt.runner.GenericProgramRunner - The JDK is not configured properly for this project. Inspection cannot proceed.

3 comments
Comment actions Permalink

Hello Sascha,

The runner seems to start an IDEA-instance, but it doesn't produce any
useful output in my build log. This is all the output I get before the
build completes "successfully":


It produce some output if there are some errors from inspections by default.
You can configure this behaviour by 2 parameters :
errors/warning limit.


Checking for changes (31s)
Building in C:\Programme\buildAgent\work\myproject
Getting project sources (49s)
In the agent's log however, there's the following:

"java.util.MissingResourceException: Can't find bundle for base name
org.intellij.images.IconsBundle, locale de_DE"

"java.lang.NullPointerException
at
com.intellij.openapi.progress.util.ProgressWindow.a(ProgressWindow.jav
a:11)"


Fixed.

and finally:

"The JDK is not configured properly for this project. Inspection
cannot proceed."


You can specify your project jdk in JVM parameters, e.g. -Djdk.5.0=c:\java.
By default all jdks configured for the project points to jdk from JDK_HOME
parameter.

So, how do I configure the JDK? Setting the property
"idea.config.path" to point to IDEA's config directory did not help,
neither did copying the whole config-folder into the agent's work
directory. What's the trick?

Thanks,
Sascha


In beta you wouldn't see any web reports for inspections but we are working
on this. If you have installed plugin for IDEA you can switch on Server-side
inspections enabled (in TeamServer main menu) to obtain results from global
inspections in editor. They should be underwaved in 'yellow' (can be configured
Settings|Color&Fonts|Java|Problems from server). You can resolve them as
well as suppress them.

Your suggestions are welcome :)

Thank you.


0
Comment actions Permalink

Hello Anna,
>> The runner seems to start an IDEA-instance, but it doesn't produce any
>> useful output in my build log. This is all the output I get before the
>> build completes "successfully":


It produce some output if there are some errors from inspections by
default. You can configure this behaviour by 2 parameters :
errors/warning limit.


OK, but it completes successfully even with the "The JDK is not configured..."
error. The build result should reflect that there were problems running the
inspection itself.

>> "The JDK is not configured properly for this project. Inspection
>> cannot proceed."


You can specify your project jdk in JVM parameters, e.g.
-Djdk.5.0=c:\java. By default all jdks configured for the project points
to jdk from JDK_HOME parameter.


I'm still having trouble with this: Is the property "jdk.5.0" a special naming
scheme as in "jdk.NAME=PATH"? What is JDK_HOME? A property, an environment
variable or something else?

In beta you wouldn't see any web reports for inspections but we are
working on this.


This is OK as long as I can rely on the build to fail if there are more than the
configured amount of warnings/errors or the inspections didn't run at all (see
above).

If you have installed plugin for IDEA you can switch on
Server-side inspections enabled (in TeamServer main menu) to obtain
results from global inspections in editor.


... which behaves and looks a bit odd: http://www.jetbrains.net/jira/browse/TW-597

They should be underwaved in
'yellow' (can be configured Settings|Color&Fonts|Java|Problems from
server). You can resolve them as well as suppress them.

Your suggestions are welcome :)


Since I haven't succeeded yet in even running some inspections, I can't really
comment on that right now, but I will get back to you once I've actually seen a
result ;)

Sascha

0
Comment actions Permalink

Hello Sascha,

>>> The runner seems to start an IDEA-instance, but it doesn't produce
>>> any useful output in my build log. This is all the output I get
>>> before the build completes "successfully":
>>>
>> It produce some output if there are some errors from inspections by
>> default. You can configure this behaviour by 2 parameters :
>> errors/warning limit.
>>

OK, but it completes successfully even with the "The JDK is not
configured..." error. The build result should reflect that there were
problems running the inspection itself.


It is fixed in beta. Sorry for inconvinience.

>>> "The JDK is not configured properly for this project. Inspection
>>> cannot proceed."
>>>
>> You can specify your project jdk in JVM parameters, e.g.
>> -Djdk.5.0=c:\java. By default all jdks configured for the project
>> points to jdk from JDK_HOME parameter.
>>

I'm still having trouble with this: Is the property "jdk.5.0" a
special naming scheme as in "jdk.NAME=PATH"? What is JDK_HOME? A
property, an environment variable or something else?

Yes, you are right - should be jdk.NAME=PATH; JDK_HOME must be set up during
agent installation process. Again must be fixed in beta.


>> In beta you wouldn't see any web reports for inspections but we are
>> working on this.
>>

This is OK as long as I can rely on the build to fail if there are
more than the configured amount of warnings/errors or the inspections
didn't run at all (see above).

:(

>> If you have installed plugin for IDEA you can switch on
>> Server-side inspections enabled (in TeamServer main menu) to obtain
>> results from global inspections in editor.

... which behaves and looks a bit odd:
http://www.jetbrains.net/jira/browse/TW-597

Thanks. Again must be fixed in beta.

>> They should be underwaved in
>> 'yellow' (can be configured Settings|Color&Fonts|Java|Problems from
>> server). You can resolve them as well as suppress them.
>> Your suggestions are welcome :)
>>

Since I haven't succeeded yet in even running some inspections, I
can't really comment on that right now, but I will get back to you
once I've actually seen a result ;)


It would be great! Thank you.

Anna


0

Please sign in to leave a comment.