Jump to content
Changes to the Jaspersoft community edition download ×

Freeze after fresh installation while / after using report wizard first time


chr_2

Recommended Posts

I have tried JasperSoft Studio first time at all, useing install file TIB_js-studiocomm_6.6.0_linux_x86_64.tgz . The studio does start and I can use

    File > New > Project[/code]

to create projekt (for instance) csgTest2. After that I tried

    File > New > Jasper Report[/code]

and did follow instructions at https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v71/creating-new-report-0#jss-user-basicreport_293982575_1024061 .

This did work until:
    10.    Click Next and Finish.

After that, JasperSoft Studio does freeze and I have to Ctrl-C (or kill) it from command line, because I can neither cancel the wizard action (ignored) nor can cancel the wizard (error dialog: first cancel action) nor can use File  > Exit (ignored).

The log inside starting command line terminal ends with following lines:

Aug 10, 2018 3:07:14 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsINFORMATION: Loading XML bean definitions from URL [bundleresource://54.fwk1774589469/net/sf/jasperreports/chartthemes/spring/beans/aegeanChartPropertiesBean.xml](DBMetadata.java:256) updateMetadata(..) : JDBC Quotes: "(DBMetadata.java:256) updateMetadata(..) : getExtraNameCharacters: (DBMetadata.java:256) updateMetadata(..) : storesLowerCaseIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : storesLowerCaseQuotedIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : storesMixedCaseIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : storesMixedCaseQuotedIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : storesUpperCaseIdentifiers: true(DBMetadata.java:256) updateMetadata(..) : storesUpperCaseQuotedIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : supportsMixedCaseIdentifiers: false(DBMetadata.java:256) updateMetadata(..) : supportsMixedCaseQuotedIdentifiers: true^Ccsg@csg-laptop2 ~/bin/TIB_js-studiocomm_6.6.0 $[/code]

No exception or similar...

I have tried instructions at https://community.jaspersoft.com/wiki/crash-when-running-gnome-3 .

Additionally I did increase memory settings to:

   -Xms512m   -Xmx2048m [/code]

At last try, I did start the studio with

    ./runjss.sh -vmargs -Dorg.eclipse.swt.browser.DefaultType=mozilla[/code]

Nothing did help. What could be wrong? Any ideas ?

Update 13.08.2018:

After some playing around I'm mostly sure, the "freeze" occurs while trying to open the *.jrxml file created by the wizard. Yes: After removing my system's  SVN configuration and fixing an issue with javaHL library, the wizard did create such a file before the frozen screen shows up, containing the message "Opening file for editing...: Refreeshing '/MyReports'.".

And, after killing Jaspersoft Studio (hours later) and launching it again, the freeze does occure while trying to load the previously created "Coffee.jrxml" file ( Project Explorer :: double click Coffee.jrxml ): This does cause some seconds of high CPU usage and after that no more relevant CPU time is used, but the newly created editor tab stays grey and the "waiting cursor" keeps rotating forever.
(Nevertheless, Jaspersoft Studio is not completely unresponsive in this case: I could use the menu bar and choose File > Exit [after about 20 minutes... although the UI does ignore that command, so I have to kill the studio again after about one hour later.)

Note: Content of created JRXML file is as follows:

<?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.6.0.final using JasperReports Library version 6.6.0  --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"               xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"               name="Coffee" pageWidth="595" pageHeight="842" columnWidth="535"              leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"              uuid="ced95029-b569-4027-895c-af2843a4e088">    <property name="com.jaspersoft.studio.data.sql.tables" value=""/>    <property name="com.jaspersoft.studio.data.defaultdataadapter" value="Sample DB"/>    <style name="Title" fontName="Times New Roman" fontSize="50" isBold="true"/>    <style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/>    <style name="Column header" forecolor="#666666" fontName="Arial"           fontSize="12" isBold="true"/>    <style name="Detail" fontName="Arial" fontSize="12"/>    <style name="Row" mode="Transparent">        <conditionalStyle>            <conditionExpression>                <![CDATA[$V{REPORT_COUNT}%2 == 0]]>            </conditionExpression>            <style backcolor="#E6DAC3"/>        </conditionalStyle>    </style>    <queryString language="SQL">        <![CDATA[sELECT * FROM ORDERS]]>    </queryString>    <field name="ORDERID" class="java.lang.Integer">        <property name="com.jaspersoft.studio.field.label" value="ORDERID"/>        <property name="com.jaspersoft.studio.field.tree.path" value="ORDERS"/>    </field>    <field name="SHIPNAME" class="java.lang.String">        <property name="com.jaspersoft.studio.field.label" value="SHIPNAME"/>        <property name="com.jaspersoft.studio.field.tree.path" value="ORDERS"/>    </field>    <field name="SHIPADDRESS" class="java.lang.String">        <property name="com.jaspersoft.studio.field.label" value="SHIPADDRESS"/>        <property name="com.jaspersoft.studio.field.tree.path" value="ORDERS"/>    </field>    <field name="SHIPCITY" class="java.lang.String">        <property name="com.jaspersoft.studio.field.label" value="SHIPCITY"/>        <property name="com.jaspersoft.studio.field.tree.path" value="ORDERS"/>    </field>    <field name="SHIPREGION" class="java.lang.String">        <property name="com.jaspersoft.studio.field.label" value="SHIPREGION"/>        <property name="com.jaspersoft.studio.field.tree.path" value="ORDERS"/>    </field>    <background>        <band splitType="Stretch"/>    </background>    <title>        <band height="136" splitType="Stretch">            <image>                <reportElement x="0" y="0" width="164" height="126"                               uuid="ddc15723-2728-421f-b95e-2df9faf64ce1"/>                <imageExpression><![CDATA["coffee.jpg"]]></imageExpression>            </image>            <staticText>                <reportElement style="Title" x="170" y="0"                               width="263" height="62"                               uuid="1a652692-054a-40f3-ade5-68d8da36626d"/>                <textElement verticalAlignment="Middle"/>                <text><![CDATA[Coffee Title]]></text>            </staticText>            <staticText>                <reportElement style="SubTitle" x="219" y="62"                               width="196" height="22"                               uuid="88d4231e-f014-4b0d-b871-1737ba63a1ae"/>                <textElement>                    <font fontName="Times New Roman"/>                </textElement>                <text><![CDATA[Coffee SubTitle]]></text>            </staticText>            <staticText>                <reportElement x="172" y="94" width="383" height="42"                               uuid="f0bfb1ea-a85a-47cd-a1a4-43f22b45e80f"/>                <textElement textAlignment="Right">                    <font size="10"/>                </textElement>                <text>                    <![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor purus gravida arcu aliquam mattis. Donec et nulla libero, ut varius massa. Nulla sed turpis elit. Etiam aliquet mauris a ligula hendrerit in auctor leo lobortis.]]>                </text>            </staticText>            <image>                <reportElement x="433" y="-115" width="267" height="209" uuid="5d64e5b3-07bb-48ab-89dc-15c0c46bb19a"/>                <imageExpression><![CDATA["coffee_stain.png"]]></imageExpression>            </image>        </band>    </title>    <pageHeader>        <band splitType="Stretch"/>    </pageHeader>    <columnHeader>        <band height="16" splitType="Stretch">            <line>                <reportElement positionType="FixRelativeToBottom" x="0" y="15"                               width="555" height="1"                               uuid="1a61a836-d137-48b1-ad67-6ff64600bf93"/>                <graphicElement>                    <pen lineWidth="0.5" lineColor="#999999"/>                </graphicElement>            </line>            <staticText>                <reportElement style="Column header" x="0" y="0" width="111" height="15"                               forecolor="#736343"                               uuid="d5ee09f6-9552-48ee-bdba-8d7ee4c94503">                    <property name="com.jaspersoft.studio.spreadsheet.connectionID"                              value="b19b09fb-5723-4a01-bcfb-c0d3c88171ac"/>                </reportElement>                <text><![CDATA[ORDERID]]></text>            </staticText>            <staticText>                <reportElement style="Column header" x="111" y="0" width="111" height="15"                               forecolor="#736343"                               uuid="4111871a-c127-4ccd-8bde-b7543c5cbff5">                    <property name="com.jaspersoft.studio.spreadsheet.connectionID"                              value="0175abad-acdf-401c-b625-ebf3985de23e"/>                </reportElement>                <text><![CDATA[sHIPNAME]]></text>            </staticText>            <staticText>                <reportElement style="Column header" x="222" y="0" width="111" height="15"                               forecolor="#736343"                               uuid="39d84046-b400-41da-bdae-513a8299f5c3">                    <property name="com.jaspersoft.studio.spreadsheet.connectionID"                              value="5fb1f051-2db7-48ba-8ee6-657c454b7922"/>                </reportElement>                <text><![CDATA[sHIPADDRESS]]></text>            </staticText>            <staticText>                <reportElement style="Column header" x="333" y="0" width="111" height="15"                               forecolor="#736343"                               uuid="8c299da5-02ee-4d77-babf-74934b0acbbf">                    <property name="com.jaspersoft.studio.spreadsheet.connectionID"                              value="d6f8d7d8-4694-4929-8980-03133e4c1346"/>                </reportElement>                <text><![CDATA[sHIPCITY]]></text>            </staticText>            <staticText>                <reportElement style="Column header" x="444" y="0" width="111" height="15"                               forecolor="#736343"                               uuid="7f551a44-563a-45f7-86b4-ee9d94f441cc">                    <property name="com.jaspersoft.studio.spreadsheet.connectionID"                              value="d612be38-9f01-4edd-9d8b-f3af0f16c4cd"/>                </reportElement>                <text><![CDATA[sHIPREGION]]></text>            </staticText>        </band>    </columnHeader>    <detail>        <band height="15" splitType="Stretch">            <frame>                <reportElement style="Row" mode="Opaque" x="0" y="0"                               width="555" height="15"                               uuid="a98495d8-3c8d-4fa0-81f5-30c3efc2f766"/>                <textField isStretchWithOverflow="true">                    <reportElement style="Detail" x="0" y="0"                                   width="111" height="15"                                   uuid="319ded1f-3b08-4dbc-b85d-ca4467bfc97b">                        <property name="com.jaspersoft.studio.spreadsheet.connectionID"                                  value="b19b09fb-5723-4a01-bcfb-c0d3c88171ac"/>                    </reportElement>                    <textFieldExpression><![CDATA[$F{ORDERID}]]></textFieldExpression>                </textField>                <textField isStretchWithOverflow="true">                    <reportElement style="Detail" x="111" y="0"                                   width="111" height="15"                                   uuid="86635705-341a-4c95-bc28-4077fa30851a">                        <property name="com.jaspersoft.studio.spreadsheet.connectionID"                                  value="0175abad-acdf-401c-b625-ebf3985de23e"/>                    </reportElement>                    <textFieldExpression><![CDATA[$F{SHIPNAME}]]></textFieldExpression>                </textField>                <textField isStretchWithOverflow="true">                    <reportElement style="Detail" x="222" y="0"                                   width="111" height="15"                                   uuid="b92da3a6-f912-42de-97cc-943ee40dcbf9">                        <property name="com.jaspersoft.studio.spreadsheet.connectionID"                                  value="5fb1f051-2db7-48ba-8ee6-657c454b7922"/>                    </reportElement>                    <textFieldExpression><![CDATA[$F{SHIPADDRESS}]]></textFieldExpression>                </textField>                <textField isStretchWithOverflow="true">                    <reportElement style="Detail" x="333" y="0"                                   width="111" height="15"                                   uuid="99cfe81c-602c-4b6f-9ea1-000181ac3c25">                        <property name="com.jaspersoft.studio.spreadsheet.connectionID"                                  value="d6f8d7d8-4694-4929-8980-03133e4c1346"/>                    </reportElement>                    <textFieldExpression><![CDATA[$F{SHIPCITY}]]></textFieldExpression>                </textField>                <textField isStretchWithOverflow="true">                    <reportElement style="Detail" x="444" y="0"                                   width="111" height="15"                                   uuid="8bc58007-1581-45fb-b5d9-f33e6daa2875">                        <property name="com.jaspersoft.studio.spreadsheet.connectionID"                                  value="d612be38-9f01-4edd-9d8b-f3af0f16c4cd"/>                    </reportElement>                    <textFieldExpression><![CDATA[$F{SHIPREGION}]]></textFieldExpression>                </textField>            </frame>        </band>    </detail>    <columnFooter>        <band height="45" splitType="Stretch">            <line>                <reportElement positionType="FixRelativeToBottom" x="0" y="3"                               width="555" height="1"                               uuid="fa45a887-615a-4d84-a2d7-8a2219671b3c"/>                <graphicElement>                    <pen lineWidth="0.5" lineColor="#999999"/>                </graphicElement>            </line>        </band>    </columnFooter>    <pageFooter>        <band height="25" splitType="Stretch">            <frame>                <reportElement mode="Opaque" x="-21" y="1"                               width="597" height="24"                               forecolor="#D0B48E" backcolor="#F2EBDF"                               uuid="183682bc-d976-4756-83e0-6625a3f98ed1"/>                <textField evaluationTime="Report">                    <reportElement style="Column header" x="533" y="0"                                   width="40" height="20" forecolor="#736343"                                   uuid="0193f9b3-1559-491a-8580-b6988863b6a1"/>                    <textElement verticalAlignment="Middle">                        <font size="10" isBold="false"/>                    </textElement>                    <textFieldExpression>                        <![CDATA[" " + $V{PAGE_NUMBER}]]>                    </textFieldExpression>                </textField>                <textField>                    <reportElement style="Column header" x="453" y="0"                                   width="80" height="20" forecolor="#736343"                                   uuid="d00b105e-494b-418b-8ac9-8b1b4824f4f0"/>                    <textElement textAlignment="Right" verticalAlignment="Middle">                        <font size="10" isBold="false"/>                    </textElement>                    <textFieldExpression>                        <![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]>                    </textFieldExpression>                </textField>                <textField pattern="EEEEE dd MMMMM yyyy">                    <reportElement style="Column header" x="22" y="1"                                   width="197" height="20" forecolor="#736343"                                   uuid="0616f3fe-0354-456f-8911-ec30ec51a5ae"/>                    <textElement verticalAlignment="Middle">                        <font size="10" isBold="false"/>                    </textElement>                    <textFieldExpression>                        <![CDATA[new java.util.Date()]]>                    </textFieldExpression>                </textField>            </frame>        </band>    </pageFooter>    <summary>        <band splitType="Stretch"/>    </summary></jasperReport>[/code]

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Thanks for your answer, hozawa.

I'm already use Java8, but another Linux: "Linux Mint 17 Qiana" (which is based on "Ubuntu 16.04 LTS". 

Jaspersoft Studio shows with Help > About...: Configuration this lines (under others):
 * /home/csg/bin/TIB_js-studiocomm_6.6.0//features/jre.linux.gtk.x86_64.feature_1.8.0.u171/jre/bin/java
 * java.vendor.url=http://java.oracle.com/
 * java.version=1.8.0_171

So I'm relatively sure useing Java8.

But that configuration did contain another line:
 * osgi.logfile=/home/csg/JaspersoftWorkspace/.metadata/.log

...a hidden logfile... and there are tons of exception logs, all around subclipse.

Although I don't understand why an SVN client may break Jaspersoft Studio opening a simple file, there does result a new question:

Which subversion / subclipse related software is needed to run Jaspersoft Studio successfully ?

Thanks for your answer in advance.

Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...