Gokhan,

My TBC project went into mothballs soon after I ran into this problem in June.  
The project got re-activated last week, and I have again run into this issue of 
TBCM crashing when I try to preview a chart in BIRT.  I am trying to chart time 
series data for gas wells this time.  If this is an OS-X specific problem, I 
can switch to m$windows if I need to.  I would like to continue this 
discussion.  Can I send you my project?  

Regards
Arthur


On Jun 9, 2009, at 5:39 PM, Gokhan Soydan wrote:

> 
> Arthur,
> 
> Sorry for my late reply. I have been discussing this with Scott.
> 
> If it is not secret, could you send your .owl file and .rptdesign file 
> directly to my email address at [email protected] so I can check it.
> 
> For the Eclipse crash, could you check if BIRT on your Mac can view a 
> report with a sample database and data set? BIRT provides a "Classic 
> Cars" database and data set by default.
> 
> Thanks,
> Gokhan
> 
> 
> Arthur wrote:
>> Goykan
>> I changed the Eclipse.ini to Xmx1024 (This is in the Eclipse resource
>> bundle on OS-X) and am still seeing the same issues: 1) data view in
>> BIRT shows columns, but no data, 2) if you bind the columns to a chart
>> and attempt to view the chart ("Preview" or "Run>View Report" then
>> Eclipse will immediately crash.
>> 
>> On inspecting the data source in BIRT, it is clear that BIRT is
>> receiving the SPARQL query code from Composer, but it is unable to
>> execute the query to display the results. (see  the error log below)
>> Somehow the environment for the query in BIRT is inconsistent with
>> Composer, my first guess was that the prefix information was not being
>> passed to BIRT, so I explicitly added the prefixes to the query, but
>> that did not seem to help either.  Next guess was that BIRT was not
>> using inference settings in composer and that is why it was not
>> returning results.  So I modified my query so that it did not need
>> inference (by querying a specific class rather than an abstract
>> superclass) and BIRT was able to see the data this time.  So this is
>> part of the problem.  There is more:   I created a graph with this (no
>> inference) query.  The data was visible when I bound the data to the
>> graph.  However when trying to view the graph, Eclipse crashed again,
>> so there is something else going on with the handshake between BIRT
>> and Composer in OS-X.
>> 
>> Log after attempting to view query results in data source:
>> A BIRT exception occurred.
>>  Plug-in Provider:Eclipse.org
>>  Plug-in Name:BIRT Data Engine
>>  Plug-in ID:org.eclipse.birt.data
>>  Version:2.3.2.r232_v20090211
>>  Error Code:Cannot execute the statement.
>> The query returns no results
>>  Error Message:Cannot execute the statement.
>> The query returns no results
>> 
>> Log of BIRT Exception at time of crash after attempting to view graph
>> A BIRT exception occurred.
>> org.eclipse.birt.data.engine.core.DataException: Cannot execute the
>> statement.
>> The query returns no results
>> at org.eclipse.birt.data.engine.executor.DataSourceQuery
>> $OdaQueryExecutor.run(DataSourceQuery.java:935)
>> at java.lang.Thread.run(Thread.java:613)
>> 
>> On Jun 3, 10:17 pm, Arthur Keen <[email protected]> wrote:
>> 
>>> Thanks.  I will give that a shot tomorrow
>>> 
>>> On Jun 3, 2009, at 6:34 PM, Gokhan Soydan wrote:
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Arthur,
>>>> 
>>>> Actually, there might be two options as work-around for preview:
>>>> 
>>>> 1-) From the menu, select "Run > View Report", and a format that you
>>>> want to view the report in. You may be able to view your report there.
>>>> 
>>>> 2-) Increase the JRE memory allocation. Close TBC, in the installation
>>>> folder for TBC, open the file "eclipse.ini" and replace the text
>>>> "-Xmx512m" with "-Xmx1024m". If Eclipse issues an error at re-start,
>>>> please give a smaller number than 1024 until it works on your machine.
>>>> 
>>>> The reason is that BIRT sometimes consumes a lot of memory (or more
>>>> importantly contiguous memory I suspect) during preview/report
>>>> generation. I would also advise checking with BIRT support on memory
>>>> issues if you feel that they seem more internal to BIRT.
>>>> 
>>>> Gokhan
>>>> 
>>>> Gokhan Soydan wrote:
>>>> 
>>>>> Arthur,
>>>>> 
>>>>> Hmm, I didn't realize that there were problems of running TBC and  
>>>>> BIRT
>>>>> together in Mac. I will look into this for later releases.
>>>>> Unfortunately, I don't know a work-around for now.
>>>>> 
>>>>> Gokhan
>>>>> 
>>>>> Arthur wrote:
>>>>> 
>>>>>> I have experienced issues running BIRT when I use TBCM (all versions
>>>>>> since I started using it last year) in OS-X.  It works near  
>>>>>> perfectly
>>>>>> on Windows, but I would prefer to work on my Mac, so I have been
>>>>>> testing this on each new release of TBCM.
>>>>>> 
>>>>>> When you launch BIRT from a query, the data does not seem to make it
>>>>>> over to the BIRT side.  After adding a chart to the form and  
>>>>>> attaching
>>>>>> to a TopBraid data source, no data is displayed in the preview and
>>>>>> although some meta data, i.e., property names comes through, the
>>>>>> property types do not - all the properties come over to BIRT as type
>>>>>> 'string' .  If you bind the columns to a graph and try to preview  
>>>>>> it,
>>>>>> TBC (i.e., Eclipse) will immediately crash.  I have tried editing  
>>>>>> the
>>>>>> BIRT Property types to the correspond to TBC types, but it did not
>>>>>> help. (I sometimes encounter the string type issue on windows and
>>>>>> modifying the types in BIRT seems to help).  Holger and Scot  
>>>>>> mentioned
>>>>>> other work-arounds for OS-X and I wonder if there is a work-around  
>>>>>> for
>>>>>> this.
>>>>>> 
>>>>>> Thanks
>>>>>> 
>>>>>> Arthur
>>>>>> 
>>> 
>> 
> 
> 
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Composer Users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/topbraid-composer-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
> 

--

You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en.


Reply via email to