Home » Archived » BIRT » RCP hangs while generating report on MacOSX. Works fine on windows.
RCP hangs while generating report on MacOSX. Works fine on windows. [message #263604] |
Thu, 20 December 2007 00:05 |
Joseph George Variam Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have integrated BIRT 2.2.0 into my RCP(Eclipse 3.3.0) to generate
reports. My report design uses a scripted data set and in it I am
accessing a Java object. The report generation works fine on Windows but
on MacOSX it doesnt - Although when i launch/debug the RCP through the
rcp's product file on macosx, it works fine. But when i export the rcp
using the product export wizard, and run it, it doesn't work.
I've checked the BIRT logs and it seems it gets stuck while preparing the
script query...
here's the birt log when i run the rcp:
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.GroupBindingColumn GroupBindingColumn
FINER: ENTRY null 0
{amount=org.eclipse.birt.data.engine.api.querydefn.Binding@691c75,
description=org.eclipse.birt.data.engine.api.querydefn.Binding@cb69f3,
quantity=org.eclipse.birt.data.engine.api.querydefn.Binding@98f451,
rate=org.eclipse.birt.data.engine.api.querydefn.Binding@d0093a}
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.GroupBindingColumn GroupBindingColumn
FINER: RETURN
Dec 20, 2007 3:18:26 AM org.eclipse.birt.data.engine.impl.PreparedQuery
<init>
FINE: Finished preparing the PreparedQuery.
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery
PreparedDataSourceQuery
FINER: RETURN
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQuery
FINER: ENTRY org.eclipse.birt.data.engine.impl.DataEngineImpl@4676
org.eclipse.birt.data.engine.api.querydefn.QueryDefinition@380405
org.eclipse.birt.data.engine.impl.ScriptDataSetAdapter@2681bb
{PDF_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.PDFRenderContext@f2d81,
HTML_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.HTMLRenderContext@53df31}
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQueryss
FINER: RETURN
Dec 20, 2007 3:18:26 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQuery
FINER: PreparedScriptDSQuery starts up.
Dec 20, 2007 3:18:26 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
prepare
FINE: Finished preparing query.
Dec 20, 2007 3:18:26 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
prepare
FINER: RETURN
And here's the log when i launch the RCP through eclipse:
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.GroupBindingColumn GroupBindingColumn
FINER: ENTRY null 0
{amount=org.eclipse.birt.data.engine.api.querydefn.Binding@8fff7b,
description=org.eclipse.birt.data.engine.api.querydefn.Binding@ce0e12,
quantity=org.eclipse.birt.data.engine.api.querydefn.Binding@fde308,
rate=org.eclipse.birt.data.engine.api.querydefn.Binding@443ce2}
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.GroupBindingColumn GroupBindingColumn
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.PreparedQuery
<init>
FINE: Finished preparing the PreparedQuery.
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery
PreparedDataSourceQuery
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQuery
FINER: ENTRY org.eclipse.birt.data.engine.impl.DataEngineImpl@2b212d
org.eclipse.birt.data.engine.api.querydefn.QueryDefinition@75d78a
org.eclipse.birt.data.engine.impl.ScriptDataSetAdapter@4de8d3
{PDF_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.PDFRenderContext@f0afc8,
HTML_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.HTMLRenderContext@1c0d6}
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQueryss
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery
PreparedScriptDSQuery
FINER: PreparedScriptDSQuery starts up.
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
prepare
FINE: Finished preparing query.
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
prepare
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryExecutor
QueryExecutor
FINER: ENTRY [object Object]
org.eclipse.birt.data.engine.api.querydefn.QueryDefinition@75d78a
org.eclipse.birt.data.engine.impl.aggregation.AggregateTable @d134fc
org.eclipse.birt.data.engine.impl.DataEngineSession@edc5be
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryExecutor
QueryExecutor
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.PreparedQuery
doPrepare
FINER: Start to prepare the execution.
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.DataSetRuntime
DataSetRuntime
FINER: ENTRY org.eclipse.birt.data.engine.impl.ScriptDataSetAdapter@4de8d3
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor@fd4204
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.DataSetRuntime
DataSetRuntime
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime ScriptDataSetRuntime
FINER: ENTRY org.eclipse.birt.data.engine.impl.ScriptDataSetAdapter@4de8d3
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor@fd4204
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime ScriptDataSetRuntime
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime <init>
FINER: ScriptDataSetRuntime starts up
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ParameterUtil
ParameterUtil
FINER: ENTRY null
org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime@bb31bc
org.eclipse.birt.data.engine.api.querydefn.QueryDefinition@75d78a [object
Object]
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ParameterUtil
ParameterUtil
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.PreparedQuery
doPrepare
FINER: Finish preparing the execution.
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.ServiceForQueryResults
ServiceForQueryResults
FINER: ENTRY org.eclipse.birt.data.engine.api.DataEngineContext@5fd428
[object Object] 2
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery@de611c
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery@de611c
org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor@fd4204
org.eclipse.birt.data.engine.api.querydefn.QueryDefinition@75d78a
org.eclipse.birt.data.engine.impl.ExprManager@b98d4e
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.ServiceForQueryResults
ServiceForQueryResults
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryResults
QueryResults
FINER: ENTRY
org.eclipse.birt.data.engine.impl.ServiceForQueryResults@ec00de
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryResults
QueryResults
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ExprManagerUtil
ExprManagerUtil
FINER: ENTRY org.eclipse.birt.data.engine.impl.ExprManager@b98d4e
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ExprManagerUtil
ExprManagerUtil
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryExecutor
execute
FINER: Start to execute
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ExecutorHelper
ExecutorHelper
FINER: ENTRY null
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ExecutorHelper
ExecutorHelper
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=function __bm_OPEN() {
totalAmount = 0.0;
iter = jemsProject.getJemsQuotation().getJemsQuotationCosts().itera tor();
} , source=DataSet[jqc].__bm_OPEN, lineNo=1
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=__bm_OPEN(),
source=DataSet[jqc].__bm_OPEN, lineNo=1
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=function __bm_FETCH() {
if( !iter.hasNext() ){
return false;
}
st = iter.next();
row["description"] = st.getDescription();
row["quantity"] = st.getQuantity();
row["rate"] = st.getRate();
amount = st.getQuantity() * st.getRate()
row["amount"] = amount;
totalAmount = totalAmount + amount;
return true;
} , source=DataSet[jqc].__bm_FETCH, lineNo=1
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=__bm_FETCH(),
source=DataSet[jqc].__bm_FETCH, lineNo=1
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject
JSRowObject
FINER: ENTRY
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: ENTRY description
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: RETURN true
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: ENTRY description
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: ENTRY quantity
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: RETURN true
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: ENTRY quantity
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: ENTRY rate
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: RETURN true
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: ENTRY rate
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: ENTRY amount
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject has
FINER: RETURN true
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: ENTRY amount
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.JSRowObject put
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=function __bm_FETCH() {
if( !iter.hasNext() ){
return false;
}
st = iter.next();
row["description"] = st.getDescription();
row["quantity"] = st.getQuantity();
row["rate"] = st.getRate();
amount = st.getQuantity() * st.getRate()
row["amount"] = amount;
totalAmount = totalAmount + amount;
return true;
} , source=DataSet[jqc].__bm_FETCH, lineNo=1
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.script.ScriptEvalUtil
evaluateJSExpr
FINER: ENTRY evaluateJSExpr() scriptText=__bm_FETCH(),
source=DataSet[jqc].__bm_FETCH, lineNo=1
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper populateData
FINE: MemoryCache is used
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.executor.cache.SmartCacheHelper populateData
FINE: Time consumed by cache is: 0 second
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY amount
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY description
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY quantity
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY rate
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY amount
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY description
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY quantity
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: ENTRY rate
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.expression.ColumnReferenceExpre ssion
ColumnReferenceExpression
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryExecutor
execute
FINER: Finish executing
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
ResultIterator
FINER: ENTRY
org.eclipse.birt.data.engine.impl.QueryResults$ResultService@818168
org.eclipse.birt.data.engine.executor.transform.CachedResult Set @56ebb9
[object Object]
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
ResultIterator
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryResults
getResultIterator
FINE: finished
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil
BindingColumnsEvalUtil
FINER: ENTRY
org.eclipse.birt.data.engine.executor.transform.CachedResult Set @56ebb9
[object Object]
org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelper@5e6a56
[org.eclipse.birt.data.engine.impl.GroupBindingColumn@9760e9] {}
Dec 20, 2007 3:19:43 AM
org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil
BindingColumnsEvalUtil
FINER: RETURN
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
getValue
FINER: get of value binding column: description
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
getValue
FINER: get of value binding column: quantity
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
getValue
FINER: get of value binding column: rate
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
getValue
FINER: get of value binding column: amount
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.ResultIterator
close
FINE: a ResultIterator is closed
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryExecutor
close
FINER: executor closed
Dec 20, 2007 3:19:43 AM org.eclipse.birt.data.engine.impl.QueryResults
close
FINE: QueryResults is closed
Dec 20, 2007 3:19:44 AM DataEngineImpl shutdown
FINER: ENTRY
Dec 20, 2007 3:19:44 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
shutdown
INFO: Data engine shuts down
Dec 20, 2007 3:19:44 AM org.eclipse.birt.data.engine.impl.DataEngineImpl
shutdown
FINER: RETURN
|
|
|
Goto Forum:
Current Time: Fri Nov 08 23:01:06 GMT 2024
Powered by FUDForum. Page generated in 0.02503 seconds
|