Warning: Problem running post-install step. Installation may not complete correctly


Hi, I trying install the JasperReportServer(5.6 CP) on Debian 7.6. 

But when  finish installation i receive the error below:

Warning: Problem running post-install step. Installation may not complete 


 Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce 

-DimportFile=install_resources/export/js-catalog : 


/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:260: The 

following error occurred while executing this line:

/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:158: Java 

returned: 255

i see this log in installation.log:

     [java] Created user joeuser
     [java] Invoking module com.jaspersoft.jasperserver.export.modules.repository.ResourceImporter@cb34b22
     [java] About to save folder /
     [java] java.lang.NullPointerException
     [java] java.lang.NullPointerException
     [java]  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
     [java]  at com.sun.proxy.$Proxy12.saveFolder(Unknown Source)
     [java]  at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:94)
     [java]  at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)

Machine details on installation:

Machine Info:  
machine_cpu_count:    2
machine_cpu_speed:    3092.972 
machine_fqdn:         localhost
machine_hostname:     localhost
machine_total_memory: 7816
system_locale:        tr_TR.UTF-8
system_username:      root
[Cross Platform:   
installdir:              /opt/jasperreports-server-cp-5.6.0  
installer_directory:     /root
installer_pathname:      /root/jasperreports-server-cp-5.6.0-linux-x64-installer.run
platform_install_prefix: /opt
system_temp_directory:   /tmp
user_home_directory:     /root

My /etc/hosts file:     localhost foo

Someone help me please otherwise I'm going crazy.



admin_75's picture
Joined: Aug 26 2014 - 1:03am
Last seen: 5 years 11 months ago

1 Answer:


"Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce " That means that it was not able to load the repository database structure into your repo db (Postgres?)

Check your default_master.properties file and make sure that the JDBC user, password and port for the DB you are using as a repository are OK. 

marianol's picture
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 10 months ago

writes the following in buildomatic/default_master.properties file:

appServerType = skipAppServerCheck

All other settings are comment line.

i use to existing postgresql server and i connect to my postresql server with password (psql -U postgres -h -d sugarcrm -p 5432)
it would be perhaps benefit (psql and pgadmin3 locations are /usr/bin)

admin_75 - 5 years 11 months ago

A standard installation should not be too difficult. I'm just create a new virtual machine and i install the sudo and vim packages then download the latest serrver .run file and execute. Result: FAIL installation.

admin_75 - 5 years 11 months ago

If connection fails, instead of failing with a cryptic message, installer should provide a more useful message to the user. It was not clear to me that postgres was a pre-req for installation.

lewen7er9 - 5 years 4 months ago
show 1 more...
marianol - 5 years 4 months ago