Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Running build in IDE org.eclipse.core.runtime.CoreException is thrown
Running build in IDE org.eclipse.core.runtime.CoreException is thrown [message #893133] Mon, 02 July 2012 19:06 Go to next message
Alex Kravets is currently offline Alex Kravets
Messages: 388
Registered: November 2009
Senior Member
Hello,

When building product for Eclipse 3.7 I am getting the following error when running create.product action:
org.eclipse.core.runtime.CoreException: /home/akravets/dev/workspaces/indigo-build/com.iwaysoftware.integration.tools.dqc.build.feature/build/product.ant:44: Java returned: 13
org.eclipse.core.runtime.CoreException: /home/akravets/dev/workspaces/indigo-build/com.iwaysoftware.integration.tools.dqc.build.feature/build/product.ant:44: Java returned: 13
	at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322)
	at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
	at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
	at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
	at org.eclipse.buckminster.ui.InvokeActionJob.runInWorkspace(InvokeActionJob.java:67)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: /home/akravets/dev/workspaces/indigo-build/com.iwaysoftware.integration.tools.dqc.build.feature/build/product.ant:44: Java returned: 13
	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:498)
	at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
	... 9 more
LogFilter.isLoggable threw a non-fatal unchecked exception as follows:
java.lang.NullPointerException
	at org.eclipse.core.internal.runtime.Log.isLoggable(Log.java:101)
	at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safeIsLoggable(ExtendedLogReaderServiceFactory.java:59)
	at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:164)
	at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:150)
	at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
	at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
	at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54)
	at org.eclipse.core.internal.runtime.Log.log(Log.java:60)
	at org.eclipse.buckminster.runtime.Logger.log(Logger.java:279)
	at org.eclipse.buckminster.runtime.Logger.error(Logger.java:232)
	at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:268)
	at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
	at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
	at org.eclipse.buckminster.ui.InvokeActionJob.runInWorkspace(InvokeActionJob.java:67)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
/home/akravets/dev/workspaces/indigo-build/com.iwaysoftware.integration.tools.dqc.build.feature/build/product.ant:44: Java returned: 13: Java returned: 13


Product builds fine using Eclipse 3.5 target platform.

This is create.product action:
<target name="create.product">
		<property name="destination" location="${sp:destination}" />
		<delete dir="${destination}">
		</delete>
		<makeurl property="repository" file="${sp:repository}" />
		<mkdir dir="${destination}" />
		<echoproperties>
		</echoproperties>
		<echo message="${equinox.launcher.jar}" />
		<echo message="${repository}" />
		<echo message="${destination}" />
		<java jar="${equinox.launcher.jar}" fork="true" failonerror="true">
			<arg value="-application" />
			<arg value="org.eclipse.equinox.p2.director" />
			<arg value="-repository" />
			<arg value="${repository}" />
			<arg value="-destination" />
			<arg value="${destination}" />
			<arg value="-bundlepool" />
			<arg value="${destination}" />
			<arg value="-profile" />
			<arg value="${profile}" />
			<arg value="-profileProperties" />
			<arg value="org.eclipse.update.install.features=true" />
			<arg value="-installIU" />
			<arg value="${iu}" />
			<arg value="-p2.os" />
			<arg value="${target.os}" />
			<arg value="-p2.ws" />
			<arg value="${target.ws}" />
			<arg value="-p2.arch" />
			<arg value="${target.arch}" />
			<arg value="-roaming" />
			<arg value="-consoleLog" />
		</java>
	</target>


As well log of running the action up to the point when it fails:
[start com.iwaysoftware.integration.tools.dqc.build.feature:eclipse.feature$0.1.0.qualifier#create.product]
  Prerequisite alias = repository
  Product alias = destination
  Product base = ${buckminster.output}/
  target.arch=x86_64
  buckminster.component=com.iwaysoftware.integration.tools.dqc.build.feature
  qualifier.replacement.*=generator:lastRevision
  svn.path=http://iwsource2/eclipse-build/projects/pluto/tools/eclipse/iIT/trunk
  workspace.root=/home/akravets/dev/workspaces/indigo-build
  version=6.1.5.Rx
  generator.lastRevision.format=Rx{0,number,00000}
  buckminster.temp=/tmp/buckminster/com.iwaysoftware.integration.tools.dqc.build.feature_0.1.0-eclipse.feature/temp
  buckminster.home=/home/akravets/dev/workspaces/indigo-build/com.iwaysoftware.integration.tools.dqc.build.feature/
  buckminster.output=/tmp/buckminster/build/com.iwaysoftware.integration.tools.dqc.build.feature_0.1.0-eclipse.feature
  buckminster.temp.root=/tmp/buckminster
  localhost=titan
  cbi.include.source=false
  generator.buildTimestamp.format=2012-07-02T18:52:49.699+0000
  buckminster.component.type=eclipse.feature
  buckminster.version=0.1.0.qualifier
  target.nl=en_US
  target.ws=gtk
  eclipse.home=/home/akravets/dev/eclipse-indigo
  profile=iitProfile
  iu=com.iwaysoftware.integration.tools.product
  target.os=linux
[ant] /home/akravets/dev/eclipse-indigo/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
[ant] file:/tmp/buckminster/build/com.iwaysoftware.integration.tools.dqc.build.feature_0.1.0-eclipse.feature/site.p2/
[ant] /tmp/buckminster/build/com.iwaysoftware.integration.tools.dqc.build.feature_0.1.0-eclipse.feature/eclipse


I don't know what could be the problem because I am not sure what exception means.

Thanks,
Alex
Re: Running build in IDE org.eclipse.core.runtime.CoreException is thrown [message #893139 is a reply to message #893133] Mon, 02 July 2012 20:31 Go to previous messageGo to next message
Alex Kravets is currently offline Alex Kravets
Messages: 388
Registered: November 2009
Senior Member
Sorry folks, user error.

I did not set Eclipse logger level to 'DEBUG' and did not see errors in the console, they were redirected to .log.
Re: Running build in IDE org.eclipse.core.runtime.CoreException is thrown [message #895205 is a reply to message #893139] Thu, 12 July 2012 05:12 Go to previous message
chavi   is currently offline chavi
Messages: 64
Registered: April 2011
Member
Did you get any solution of this Problem.I am also getting the same issue when invoking create.product action.Please Help.
Previous Topic:Hudson
Next Topic:Eclipse-SourceReferences (take two)
Goto Forum:
  


Current Time: Sun Oct 26 06:15:00 GMT 2014

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

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