Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: App Fabric
    • Labels:
      None
    • Rank:
      1|i00usv:

      Description

      Programs are failing to start with:

      2020-03-17 08:05:54,086 - ERROR [main:o.a.t.i.ServiceMain@96] - Exception when starting service TwillContainerService [FAILED].
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
              at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294) ~[com.google.guava.guava-13.0.1.jar:na]
              at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:281) ~[com.google.guava.guava-13.0.1.jar:na]
              at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) ~[com.google.guava.guava-13.0.1.jar:na]
              at org.apache.twill.internal.ServiceMain.doMain(ServiceMain.java:93) ~[org.apache.twill.twill-yarn-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.container.TwillContainerMain.doMain(TwillContainerMain.java:131) [org.apache.twill.twill-yarn-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.container.TwillContainerMain.main(TwillContainerMain.java:79) [org.apache.twill.twill-yarn-0.13.0.jar:0.13.0]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
              at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) [launcher.jar:na]
      java.lang.NullPointerException: null
              at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191) ~[com.google.guava.guava-13.0.1.jar:na]
              at io.cdap.cdap.common.conf.Configuration.getBoolean(Configuration.java:916) ~[na:na]
              at io.cdap.cdap.internal.app.runtime.distributed.AbstractProgramTwillRunnable.doInitialize(AbstractProgramTwillRunnable.java:201) ~[na:na]
              at io.cdap.cdap.internal.app.runtime.distributed.AbstractProgramTwillRunnable.initialize(AbstractProgramTwillRunnable.java:151) ~[na:na]
              at org.apache.twill.internal.container.TwillContainerService.doStart(TwillContainerService.java:217) ~[org.apache.twill.twill-yarn-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.AbstractTwillService.startUp(AbstractTwillService.java:181) ~[org.apache.twill.twill-core-0.13.0.jar:0.13.0]
              at com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:47) ~[com.google.guava.guava-13.0.1.jar:na]
              at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
      

      Seems like a property was added without a default in cdap-default.xml

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: