Jump to content
We've recently updated our Privacy Statement, available here ×

samhast

Members
  • Posts

    68
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by samhast

  1. My reports is working. But at the moment I add a chart.. I always receive following error:

    Null 'key' argument

    This is since I upgraded frop iReport to Jaspersoft Studio!

    full error message:

    java.lang.IllegalArgumentException: Null 'key' argument.
    at org.jfree.data.DefaultKeyedValues.setValue(DefaultKeyedValues.java:229)
    at org.jfree.data.DefaultKeyedValues2D.setValue(DefaultKeyedValues2D.java:337)
    at org.jfree.data.DefaultKeyedValues2D.addValue(DefaultKeyedValues2D.java:303)
    at org.jfree.data.category.DefaultCategoryDataset.addValue(DefaultCategoryDataset.java:222)
    at net.sf.jasperreports.charts.fill.JRFillCategoryDataset.customIncrement(JRFillCategoryDataset.java:143)
    at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:191)
    at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:183)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:740)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:263)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:123)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:539)
    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:153)
    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:474)
    at com.jaspersoft.studio.utils.ExpressionUtil.initBuiltInParameters(ExpressionUtil.java:339)
    at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:330)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
     
  2. When I login with a user and change the 'Locale' Parameter (under the passwordfield), I can't see the inputcontrols of my reports. Also when I click on logout, nothing happens..

    When I change the locale parameter to english, everything works... So nobody in the french department of the company can execute a report, except when they change the locale parameter everytime they login..

    This problem occured since I upgraded to the newest community version..

  3. I tried some things. Now I don't receive an error about my certificate. But I have following error (after import certificate into keystore). I refresh my connection and I receive following error:

     

    org.apache.http.client.HttpResponseException: Not Found

     

     

    at com.jaspersoft.studio.server.protocol.restv2.RESTv2ExceptionHandler.handleException(RESTv2ExceptionHandler.java:65)

     

    at com.jaspersoft.studio.server.protocol.restv2.ARestV2ConnectionJersey.toObj(ARestV2ConnectionJersey.java:35)

     

    at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.getServerInfo(RestV2ConnectionJersey.java:108)

     

    at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.connect(RestV2ConnectionJersey.java:99)

     

    at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:61)

     

    at com.jaspersoft.studio.server.WSClientHelper.connect(WSClientHelper.java:70)

     

    at com.jaspersoft.studio.server.WSClientHelper.connectGetData(WSClientHelper.java:96)

     

    at com.jaspersoft.studio.server.action.server.EditServerAction$1.run(EditServerAction.java:95)

     

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

     

     

  4. I now used the keytool from windows. Executed the same command as in my linux server:

    keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12

    -destkeystore keystore-name

     

    But what now? I copied the keystore to finalfeaturesjre.win32.win32.x86_64.feature_1.7.0.u25jrelibsecurity

     

    I don't know what to do.. Still the same error

  5. I created a single select list of value parameter in my JASPERSERVER (that is ok)

    Now I want to integrate that parameter in my query in IREPORT.. But there I can't add such a parameter? How can I integrate such a parameter in IREPORT (query)

     

    Someone can help me and make that clear?

  6. Every time when I login and run a report, there is always the loading screen... I can wait for 5,10,20,30 minutes, it is always loading.. When I refresh the page and do it again, the report is executed in 1 second...

     

     

  7. I have a mysql stored procedure:

    CREATE PROCEDURE `vtigercrm`.`tester` (out aantal int(255))
    BEGIN
    *SQL QUERY*


    set @aantal = FOUND_ROWS();
    select @aantal as 'Aantal';
    END

    I call the stored procedure:

    call tester(@aantal);

    Is it possible to read the out parameter in ireport?

    I can't display it at the moment. Is that possbile in ireport, to display the returned result from a stored procedure?

  8. I succesfully installed the WAR installation for Jasperserver.

    But now there is one line in the manual that I don't understand:

     

    Set Java JVM Options, as described in 6.2, “Setting JVM Options for Application Servers,” on page 43. This step is
    required.
     
    I tried it, but I don't know how to do it.. Can someone explain me which lines I have to add..
    I have tomcat6 installed and java-6-openjdk on a Ubuntu 10.04 server
  9. I installed tomcat6 on my Ubuntu server

    apt-get install tomcat6

    Now I want to install jasperserver - I choose with an existing tomcat 

    I have to insert the tomcat location..

    i tried /etc/tomcat6

    /usr/share/tomcat6

    everytime I receive an error: The directory you selected does not seem to be a valid Tomcat directory...

    What is the location then??

  10. new net.sf.jasperreports.types.date.DateRangeBuilder("MONTH-1").toDateRange()

    Can I insert a parameter instead of a hardcoded MONTH -1?

    I tried with a string parameter:

    new net.sf.jasperreports.types.date.DateRangeBuilder($P{parameter1}).toDateRange()

    But that doesn't work..

     

  11. I added in the screen Services - Databases - Drivers a new driver (Firebird)

    Then I selected Connect using ...

    Now I have the JDBC Firebird SQL connection to my Database. I see all my tables.

    But the problem is when I want to add a new datasource, I can't select the firebird driver... I copied to the folder you said, still no luck..

    I can't use my Database in services tab, when I create a report.. 

  12. Can someone explain me how to add the firebird JDBC Driver.. 

    I added in the classpath + Services - Databases - Drivers

     

    But I can't select the driver in the New Connection / Datasource screen...

×
×
  • Create New...