Illegal write to read-only property count

Stimulsoft Reports.Flex discussion
Locked
gallopaway7
Posts: 14
Joined: Tue Apr 23, 2013 8:30 am

Illegal write to read-only property count

Post by gallopaway7 »

I've created a report in the designer which works 100%, but when I try rendering it from Flex I get this error?

ReferenceError: Error #1074: Illegal write to read-only property count on stimulsoft.flex.base.StiHashtable.
at stimulsoft.report.dictionary.dataSources::StiDataSource/checkColumnsIndexs()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:1119]
at stimulsoft.report.dictionary.dataSources::StiDataSource/set dataTable()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:1143]
at stimulsoft.report.dictionary.adapters::StiDataTableAdapterService/connectDataSourceToData()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\adapters\StiDataTableAdapterService.as:190]
at stimulsoft.report.dictionary.dataSources::StiDataSource/connect()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSource.as:750]
at stimulsoft.report.dictionary.dataSources::StiDataSourcesCollection/connect()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\dataSources\StiDataSourcesCollection.as:167]
at stimulsoft.report.dictionary::StiDictionary/connectComplete()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:656]
at stimulsoft.report.dictionary::StiDictionary/connectNextDatabase()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:627]
at stimulsoft.report.dictionary::StiDictionary/onConnectNextDatabase()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\StiDictionary.as:645]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at stimulsoft.report.dictionary.databases::StiDatabase/dispatchEvent()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\databases\StiDatabase.as:136]
at stimulsoft.report.dictionary.databases::StiXmlDatabase/onDataAdapterResult()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\dictionary\databases\StiXmlDatabase.as:317]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at stimulsoft.flex.dataAdapters::StiXmlDataAdapter/fillDataSet()[D:\.Builder\temp\Stimulsoft_Database\stimulsoft\flex\dataAdapters\StiXmlDataAdapter.as:150]
at stimulsoft.flex.dataAdapters::StiXmlDataAdapter/onLoaderDataResult()[D:\.Builder\temp\Stimulsoft_Database\stimulsoft\flex\dataAdapters\StiXmlDataAdapter.as:68]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
gallopaway7
Posts: 14
Joined: Tue Apr 23, 2013 8:30 am

Re: Illegal write to read-only property count

Post by gallopaway7 »

For my designer I am using version stimulsoft Reports.Web 2013.2.1611.0

and for Flex stimulsoft reports.FX for flex 2013.07.01

i have also attached report that gives this error
Attachments
RMatrix.xml
(461 Bytes) Downloaded 294 times
RMatrix4.mrt
(9.58 KiB) Downloaded 305 times
gallopaway7
Posts: 14
Joined: Tue Apr 23, 2013 8:30 am

Re: Illegal write to read-only property count

Post by gallopaway7 »

I am running my project in Flex SDK 4.6
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Illegal write to read-only property count

Post by Vladimir »

Hello,

We have fixed this error, the update will be available in the next prerelease build.

Thank you.
gallopaway7
Posts: 14
Joined: Tue Apr 23, 2013 8:30 am

Re: Illegal write to read-only property count

Post by gallopaway7 »

Thank you that fixed the issue
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Illegal write to read-only property count

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.
Locked