Truncated class file error prevents LiveView startup
book
Article ID: KB0075189
calendar_today
Updated On:
Description
This error is seen and Live Datamart server fails to start:
Adapter Exception: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ClassFormatError: Truncated class file: Runtime exception during LV Startup
Resolution
Check to make sure there is sufficient disk-space for compilation.
Delete the lv-bin/ directory from the previous run and start the server again. This causes a full compile and resolves the compilation error.
The lv-bin/ directory is a sub-directory of the project root folder, unless its location is explicitly specified using the liveview.project.out Java system property.
The root cause is that a change to a portion of the Live Datamart project failed to complete incremental compilation, so the server started with an incomplete definition. The full recompile ensures all necessary classes are fully defined.
Issue/Introduction
Truncated class file error prevents LiveView startup
Feedback
thumb_up
Yes
thumb_down
No