netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bresie <ebre...@gmail.com>
Subject Build Dependency on KeyStore
Date Sat, 12 Jun 2021 19:18:03 GMT
After checking stuff in to a working branch, I get the following error on
"Check javadoc build" in common.xml line 432

2021-06-12T18:52:11.9490427Z BUILD FAILED
2021-06-12T18:52:11.9491411Z
/home/runner/work/netbeans/netbeans/nbbuild/build.xml:315: The following
error occurred while executing this line:
2021-06-12T18:52:11.9492596Z
/home/runner/work/netbeans/netbeans/nbbuild/templates/common.xml:432:
java.lang.NullPointerException
2021-06-12T18:52:11.9494213Z at
org.apache.tools.ant.input.SecureInputHandler.handleInput(SecureInputHandler.java:45)
2021-06-12T18:52:11.9495855Z at
org.apache.tools.ant.taskdefs.Input.execute(Input.java:233)
2021-06-12T18:52:11.9497164Z at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
2021-06-12T18:52:11.9498503Z at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
2021-06-12T18:52:11.9500102Z at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021-06-12T18:52:11.9501503Z at
java.lang.reflect.Method.invoke(Method.java:498)
2021-06-12T18:52:11.9502770Z at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
2021-06-12T18:52:11.9504030Z at
org.apache.tools.ant.Task.perform(Task.java:350)
2021-06-12T18:52:11.9505123Z at
org.apache.tools.ant.Target.execute(Target.java:449)
2021-06-12T18:52:11.9506174Z at
org.apache.tools.ant.Target.performTasks(Target.java:470)
2021-06-12T18:52:11.9507475Z at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
2021-06-12T18:52:11.9509389Z at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
2021-06-12T18:52:11.9511195Z at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
2021-06-12T18:52:11.9512366Z at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
2021-06-12T18:52:11.9513744Z at
org.netbeans.nbbuild.SubAntJUnitReport.execute(SubAntJUnitReport.java:122)
2021-06-12T18:52:11.9515224Z at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
2021-06-12T18:52:11.9516547Z at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
2021-06-12T18:52:11.9518149Z at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021-06-12T18:52:11.9519566Z at
java.lang.reflect.Method.invoke(Method.java:498)
2021-06-12T18:52:11.9520808Z at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
2021-06-12T18:52:11.9523009Z at
org.apache.tools.ant.Task.perform(Task.java:350)
2021-06-12T18:52:11.9523934Z at
org.apache.tools.ant.Target.execute(Target.java:449)
2021-06-12T18:52:11.9524969Z at
org.apache.tools.ant.Target.performTasks(Target.java:470)
2021-06-12T18:52:11.9526280Z at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
2021-06-12T18:52:11.9527647Z at
org.apache.tools.ant.Project.executeTarget(Project.java:1361)
2021-06-12T18:52:11.9529263Z at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
2021-06-12T18:52:11.9530905Z at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
2021-06-12T18:52:11.9531996Z at
org.apache.tools.ant.Main.runBuild(Main.java:834)
2021-06-12T18:52:11.9532877Z at
org.apache.tools.ant.Main.startAnt(Main.java:223)
2021-06-12T18:52:11.9533900Z at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
2021-06-12T18:52:11.9535091Z at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
2021-06-12T18:52:11.9535716Z

Which if I read common.xml file correct errors on here

<target name="-nbm-prompt-for-storepass" if="keystore" unless="storepass">
        <input addproperty="storepass" message="Enter password for
${keystore}:">
            <handler type="secure"/>
        </input>
    </target>

Specifically the "Enter password for ${keystore}:"> line.  Assume keystore
is not set in someway and causing problems.

Is there some specific setup needed for this to work in an automated build
on github?

Eric Bresie
ebresie@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message