Jump to content
Excelsior Forums


Excelsior Staff
  • Content count

  • Joined

  • Last visited

Everything posted by zztop

  1. zztop

    No Stack Trace and Error Diagnosis

    You may compile your application with stack trace disabled. When stack trace is necessary, run the executable with the following script ---------- run.bat SET JETVMPROP=-Djet.stack.trace YourApp.exe ----------
  2. zztop

    Compiled Program runs in an infinite loop

    Hotfix is on the way (sent to your Technical Contact)
  3. Does it mean that the bug lurks in Excelsior JET? Not necessarily... Continued in this Excelsior's blog post.
  4. zztop

    Diagnostics of unrecoverable errors

    Exact dates may vary May 2009 would be a more realistic estimate
  5. Unrecoverable errors are those preventing the program from further execution, that is, the errors (crashes) which cannot be handled. A known example is access violation that occurs when reading/writing memory at an address to which no memory page was mapped or transferring control to such a region. If a JET-compiled application runs into the problem, the Runtime prints TRAP#3 message and execution abnormally terminates. Of course, it should never happen in a pure Java application but, unfortunately, it may happen due to: bugs in the native method libraries used by the application JNI misuses (correct usage of JNI is tricky for inexperienced programmers) operating system malfunction (yes, we found a few examples when debugging) bugs in the JET Optimizer or Runtime (despite it?s a rare case for the matured versions released last years, we must be honest with you ) Often, the errors are volatile, that is, hardly reproducible. I recall a support case when an Excelsior JET customer received reports about an unrecoverable error from his customers but he could not reproduce it in his test environment. Of course, he was not able to provide Excelsior Support with a sample on which the problem appeared. After many trilas we finally managed to find the root cause but it was double tough. To address the problem, we scheduled implementing a special diagnostic facility in Excelsior JET 6.5. If an unrecoverable error occurs, the JET Runtime collects various information about the application state, logs it into a file, and prints the error message referencing that file. We believe this feature will enable us to reveal the root cause of the errors faster and easier and help our customers. The diagnostic logging has been already implemented and is available in Excelsior JET 6.5 beta 4.
  6. zztop

    How do I generate multiple updates to the same version?

    I confirm that all updates can be built automatically. Particular instructions depend on how your current build is organized. I mean did you create new installation packages for version 1.5 and 1.6 or the packages were updates to version 1.0?
  7. zztop

    How do I build installer updates from the commandline?

    Yes, the result should be the same provided the files you added to the update project are not changed. JetPackII projects contain only full path references to the included files so if the physical files are modified since the previous build, the resulting package changes as well.
  8. zztop

    Compiled Program runs in an infinite loop

    No. Do you experience any other problems (misbehavior of the compiled application) or you'd like to disable it just for sure?
  9. I guess the issue is resolved.
  10. zztop

    JNA problem?

    Starting from version 3.0.5, JNA is coded to the Java SE specification and works with Excelsior JET
  11. zztop

    Compiled Program runs in an infinite loop

    Thank you for your report. We have reproduced the issue that seems to be provoked by a bug in dead code elimination ( "return 0;" is unreachable code in your sample program). If you replace while (!found) with while (true) it starts working. We will fix the issue soon. Please contact Excelsior Support (java at excelsior-usa.com) if you need a hotfix.
  12. zztop

    App rarely hangs on startup

    StackOverflowError is thrown No,it's not the case
  13. zztop

    How do I build installer updates from the commandline?

    First when building the original installation you should have to save the project as updatable (create .jpu file). The file includes all information about the contents of the package. If you did not do that, open MyProj.jpn with JetPackII, go to the last page and save it as updatable, say under the name "original-installation-digest". Then create new project in JetPackII, click Update and select original-installation-digest.jpu as the descriptor of the original package. Add new and modified files and save the project, e.g under name MyProj_upd1.jpn. After that you may use the command xpack MyProj_upd1.jpn -target c:\temp\UpdateMyProj.exe for automated builds.
  14. zztop

    App rarely hangs on startup

    ok, please keep us posted
  15. zztop

    App rarely hangs on startup

    Unfortunately, it means nothing except that being interpreted, that code seems to work. ----- With the Classic Runtime, applications run slow on dual Intel CPUs (Desktop Runtime is recommended) but we never saw it caused any crashes. ----- I'm not sure why you call the behavior a crash. As the app hangs, it looks like a thread dead lock caused by a data race. Remember that by design of Swing, you cannot (should not) manipulate Swing objects outside the Swing event-dispatch thread. Are you sure that after mf.setVisible(true); this thread does NOT directly manipulate the GUI? Please check again that SwingUtilities.invokeLater() and SwingUtiltiies.invokeAndWait() methods are used when necessary.
  16. zztop

    App rarely hangs on startup

    Please send the sample and the platform spec (Linux flavor/hardware) to Excelsior Support (java at excelsior-usa.com). We will do check it on our end. BTW, does the problem appear if you disable the splash screen?
  17. zztop

    Excelsior JET 6.5 beta 4

    The just-released Excelsior JET 6.5 beta 4 adds support for Eclipse RCP to the JET Installation Toolkit to enable easy deployment of RCP applications. List of the successfully tested RCP applications is published. You may find the full list of improvements in Beta 4 on the download page.
  18. zztop

    JLabel with HTML prints clipped

    Yes, if the issue appears on Java SE 6 Update 10 (Sun JRE)
  19. zztop

    Fatal error in Excelsior 6.5

    Thank you for this additional information. I knew that. That's clear. Most probably, these classes are generated automatically. Please send us both the project file and kdm-workbench-native.vaz and we will be back to you with a simple workaround. I guess it will significantly reduce the compilation time.
  20. zztop

    JLabel with HTML prints clipped

    Please check this scenario with Sun JRE 6 Update 10 available at http://java.sun.com/products/archive/ It may be an issue specific to this particular microversion.
  21. zztop

    How to call DLL by using Java ?

    You modified the sample in a wrong way. Our support engineer will contact you to make things clear. Please do not copy any DLLs to the Sun JRE (sub)folders. It's not needed to run the sample and may break other Java applications.
  22. zztop

    external libs

    You was lucky. In general case, it does not work.
  23. zztop

    Fatal error in Excelsior 6.5

    We need to check the JET project file (.prj) you use. Please send it to java at excelsior-usa.com
  24. zztop

    JLabel with HTML prints clipped

    Does the problem appear if you run your application on Sun JRE 1.6.0_10 (Java 6 Update 10)?
  25. zztop

    Service on 2K

    I suppose that you use JetPackII to create the installation package incluging the Windows service. Open your JetPackII project (.jpn), go to the page Runtime and expand the "Additional locales and charsets" node in the Optional Components pane. Then check the Hebrew Locale box, build the installation package again and test it on Win2K.