Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » ERROR: Error while refreshingworkspace: null
ERROR: Error while refreshingworkspace: null [message #652357] Thu, 03 February 2011 16:28 Go to next message
Philip Borlin is currently offline Philip Borlin
Messages: 30
Registered: July 2009
Member
I am trying to launch a launch configuration but am getting a error "ERROR: Error while refreshingworkspace: null". In the same build script I have already launched three different junit suites from the same workspace. I am not even sure where to start looking for a solution so any help is greatly appreciated.

Phil

Here is the output from Hudson:
[java] launch '-P' 'myproperties' '-l' 'configuration.launch'
[java] ERROR: Error while refreshingworkspace: null
[java] Command canceled
[java] Doing full workspace refresh
[java] Waiting for jobs to end
[java] Java Result: 1


Here is what my launch configuration looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
<booleanAttribute key="append.args" value="true"/>
<stringAttribute key="application" value="myapplication"/>
<booleanAttribute key="askclear" value="true"/>
<booleanAttribute key="automaticAdd" value="true"/>
<booleanAttribute key="automaticValidate" value="false"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
<booleanAttribute key="clearConfig" value="false"/>
<booleanAttribute key="clearws" value="false"/>
<booleanAttribute key="clearwslog" value="false"/>
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/New_configuration"/>
<booleanAttribute key="default" value="true"/>
<booleanAttribute key="includeOptional" value="true"/>
<stringAttribute key="location" value="${workspace_loc}/../runtime-New_configuration"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms256m -Xmx1536m -DHudsonDir=${hudson.dir} -DPersistenceArgs=${persistence.args}"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.platform.ide"/>
<booleanAttribute key="show_selected_only" value="false"/>
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
<booleanAttribute key="tracing" value="false"/>
<booleanAttribute key="useCustomFeatures" value="false"/>
<booleanAttribute key="useDefaultConfig" value="true"/>
<booleanAttribute key="useDefaultConfigArea" value="true"/>
<booleanAttribute key="useProduct" value="false"/>
</launchConfiguration>


My properties file looks like:
buckminster.output.root=C:/.hudson/jobs/myjob/workspace/build/site
buckminster.temp.root=C:/.hudson/jobs/myjob/workspace/build/output
qualifier.replacement.*=generator:buildTimestamp
generator.buildTimestamp.format='I'yyyyMMddHHmm
target.os=*
target.ws=*
target.arch=*
hudson.dir=C:/.hudson/jobs/myjob/workspace/build/workspace/output
persistence.args=myargs

Re: ERROR: Error while refreshingworkspace: null [message #652527 is a reply to message #652357] Fri, 04 February 2011 12:10 Go to previous messageGo to next message
Thorsten Meinl is currently offline Thorsten Meinl
Messages: 85
Registered: July 2009
Member
I've seen similar errors but during materializing components. In my case
it helped to restart Eclipse once with "-refresh". The reason seems to
be that the hidden ".buckminster"-project is not registered properly.

Thorsten
Re: ERROR: Error while refreshingworkspace: null [message #652611 is a reply to message #652527] Fri, 04 February 2011 17:21 Go to previous messageGo to next message
Philip Borlin is currently offline Philip Borlin
Messages: 30
Registered: July 2009
Member
Thanks for the reply Thorsten. I am running this on Hudson so there is no Eclipse to restart. Is there some way to restart Buckminster in a command line scenario (I am calling through ant, not the plugin)?

Thanks,
Phil
Re: ERROR: Error while refreshingworkspace: null [message #653414 is a reply to message #652611] Wed, 09 February 2011 16:55 Go to previous message
Philip Borlin is currently offline Philip Borlin
Messages: 30
Registered: July 2009
Member
To this day I still cannot get a launch configuration to work. Interestingly if I write the code in a test and then call it through the Buckminster junit command I am able to get it working. It is not pretty but it is a work around that I can live with.
Previous Topic:Downloading source bundles
Next Topic:Getting the version qualifier from buckminster into about screen
Goto Forum:
  


Current Time: Wed Oct 22 08:15:09 GMT 2014

Powered by FUDForum. Page generated in 0.03009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software