Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289195

jpackage launcher exits with 134 "terminate called without an active exception"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 17
    • tools
    • x86_64
    • linux_debian_3.0

      A DESCRIPTION OF THE PROBLEM :
      When launching a packaged application on Linux, the program runs normally but once it terminates, the launcher exits with code 134 and the following message:

          pure virtual method called
          terminate called without an active exception
          Aborted


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Package any application (a simple "Hello World" suffices) and package it using

          # jpackage --name "example" --input path/to/jarfile --main-jar example.jar --type app-image --dest output-dir

      Execute the program manually and using the launcher:

          # java -jar output-dir/example/lib/app/example.jar
          # output-dir/example/bin/example


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      In both cases, the program should terminate normally.
      ACTUAL -
      When using the launcher created by jpackage, the process terminates with error code 134 and the following output:

          pure virtual method called
          terminate called without an active exception
          Aborted


      ---------- BEGIN SOURCE ----------
      package example;

      public class Main {
      public static void main(String[] args) {
      System.out.println("Hello World!");
      }
      }

      ---------- END SOURCE ----------

      FREQUENCY : always


            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: