Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Strange error
Strange error [message #525924] Thu, 08 April 2010 10:10 Go to next message
moloco  is currently offline moloco Friend
Messages: 7
Registered: March 2010
Junior Member
Sorry for my bad En Embarrassed

I had an exception in birt report (birt viewer servlet)

org.eclipse.birt.report.exception.ViewerValidationException: The parameter "paramRegistryPL_inog" cannot be blank.
at org.eclipse.birt.report.utility.DataUtil.validate(DataUtil.j ava:175)
at org.eclipse.birt.report.utility.BirtUtility.handleOperation

BUT paramRegistryPL_inog parameter is not BLANK !!
This error happend ONLY in html mode. In PDF or XLS all OK.
I simple try change __format in URL and all work except html format.

Birt version is 2.5.1
parameter description
<scalar-parameter name="paramRegistryPL_inog" id="344">
<text-property name="promptText">bla bla bla</text-property>
<property name="valueType">dynamic</property>
<property name="isRequired">false</property>
<property name="dataSetName">dsRegistryPL_inog</property>
<expression name="valueExpr">dataSetRow["Registry_id"]</expression>
<expression name="labelExpr">dataSetRow["registry_name"]</expression >
<property name="dataType">decimal</property>
<property name="paramType">simple</property>
<property name="controlType">list-box</property>
<property name="mustMatch">true</property>
<property name="fixedOrder">true</property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
Re: Strange error [message #526094 is a reply to message #525924] Thu, 08 April 2010 16:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you setting the parameter in the url or you setting it in the
parameter entry box? Do you get this exception before the parameter
dialog is displayed?

Jason

moloco wrote:
> Sorry for my bad En :blush:
> I had an exception in birt report (birt viewer servlet)
>
> org.eclipse.birt.report.exception.ViewerValidationException: The
> parameter "paramRegistryPL_inog" cannot be blank.
> at org.eclipse.birt.report.utility.DataUtil.validate(DataUtil.j ava:175)
> at org.eclipse.birt.report.utility.BirtUtility.handleOperation
>
> BUT paramRegistryPL_inog parameter is not BLANK !!
> This error happend ONLY in html mode. In PDF or XLS all OK.
> I simple try change __format in URL and all work except html format.
>
> Birt version is 2.5.1
> parameter description
> <scalar-parameter name="paramRegistryPL_inog" id="344">
> <text-property name="promptText">bla bla bla</text-property>
> <property name="valueType">dynamic</property>
> <property name="isRequired">false</property>
> <property name="dataSetName">dsRegistryPL_inog</property>
> <expression
> name="valueExpr">dataSetRow["Registry_id"]</expression>
> <expression
> name="labelExpr">dataSetRow["registry_name"]</expression >
> <property name="dataType">decimal</property>
> <property name="paramType">simple</property>
> <property name="controlType">list-box</property>
> <property name="mustMatch">true</property>
> <property name="fixedOrder">true</property>
> <property name="distinct">true</property>
> <structure name="format">
> <property name="category">Unformatted</property>
> </structure>
> </scalar-parameter>
>
Re: Strange error [message #526177 is a reply to message #526094] Fri, 09 April 2010 06:57 Go to previous messageGo to next message
moloco  is currently offline moloco Friend
Messages: 7
Registered: March 2010
Junior Member
We dont use the parameter dialog box. All parameters sends in URL.
for example

http://IP_address/birt-viewer/run?__report=........&__fo rmat=html&paramRegistryPL_inog=1002002
DON'T WORK
the same URL
http://IP_address/birt-viewer/run?__report=........&__fo rmat=pdf&paramRegistryPL_inog=1002002
OK
Re: Strange error [message #526364 is a reply to message #526177] Fri, 09 April 2010 20:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you use the parameter box does it work?

Jason

moloco wrote:
> We dont use the parameter dialog box. All parameters sends in URL. for
> example
>
> http://IP_address/birt-viewer/run?__report=........&__fo rmat=html&paramRegistryPL_inog=1002002
>
> DON'T WORK
> the same URL
> http://IP_address/birt-viewer/run?__report=........&__fo rmat=pdf&paramRegistryPL_inog=1002002
>
> OK
Re: Strange error [message #527126 is a reply to message #526364] Wed, 14 April 2010 08:02 Go to previous messageGo to next message
moloco  is currently offline moloco Friend
Messages: 7
Registered: March 2010
Junior Member
If i use parameters box all OK
Re: Strange error [message #527275 is a reply to message #527126] Wed, 14 April 2010 15:40 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bug for this and supply your report design?

moloco wrote:
> If i use parameters box all OK
Previous Topic:Problems with Chart-Creation
Next Topic:BIRT Roadshow Series Continues – Help decide the content!
Goto Forum:
  


Current Time: Fri Apr 26 18:14:59 GMT 2024

Powered by FUDForum. Page generated in 0.03189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top