Skip to main content



      Home
Home » Newcomers » Newcomers » BIRT error: Assertion Failed
BIRT error: Assertion Failed [message #130301] Wed, 18 January 2006 10:59 Go to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Help. I am using the Business Intelligence and Reporting Tools for
Eclipse and am running into an error. The problem occurs after i have
defined a Data Source and created a Data Set from that source. I am able
to create a Data Set but when i go back to edit it i run into the
following error.

http://img35.imageshack.us/img35/428/birterror7ms.gif

I would be grateful for any help.

Thanks!
Re: BIRT error: Assertion Failed [message #130313 is a reply to message #130301] Wed, 18 January 2006 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Help. I am using the Business Intelligence and Reporting Tools for
Eclipse and am running into an error. The problem occurs after i have
defined a Data Source and created a Data Set from that source. I am able
to create a Data Set but when i go back to edit it i run into the
following error.

http://img35.imageshack.us/img35/428/birterror7ms.gif

Also, not that once i get the error, the Data set will disappear from the
Data Explorer window and i will have to recreate the Data set from
scratch.
Re: BIRT error: Assertion Failed [message #130334 is a reply to message #130313] Wed, 18 January 2006 09:22 Go to previous messageGo to next message
Eclipse UserFriend
Darwin,

What version of BIRT are you using?
Can you try a simple report against the Classic Models DB that is supplied
with BIRT?

Jason Weathersby
BIRT PMC

"Darwin Cruz" <cruzd@alum.rpi.edu> wrote in message
news:cf6a4a44b9bbdd343cb8c3e51d25bba0$1@www.eclipse.org...
> Help. I am using the Business Intelligence and Reporting Tools for
> Eclipse and am running into an error. The problem occurs after i have
> defined a Data Source and created a Data Set from that source. I am able
> to create a Data Set but when i go back to edit it i run into the
> following error.
>
> http://img35.imageshack.us/img35/428/birterror7ms.gif
>
> Also, not that once i get the error, the Data set will disappear from the
> Data Explorer window and i will have to recreate the Data set from
> scratch.
>
>
>
>
Re: BIRT error: Assertion Failed [message #130360 is a reply to message #130334] Wed, 18 January 2006 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

I am currently using the BIRT 2.0 build found in
birt-report-framework-2.0RC1.zip.

I have also tried using the Classic Samples Inc. Sample Database and am
still getting the same error.
Re: BIRT error: Assertion Failed [message #130425 is a reply to message #130360] Wed, 18 January 2006 15:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Here is the error log from eclipse:


!ENTRY org.eclipse.birt.report.designer.ui 4 1001 2006-01-18 15:39:55.784
!MESSAGE An unexpected internal exception occurred.Please see log for
detail.
!STACK 0
org.eclipse.birt.report.designer.core.runtime.GUIException: Assertion
failed:
at
org.eclipse.birt.report.designer.core.runtime.GUIException.c reateGUIException(GUIException.java:76)
at
org.eclipse.birt.report.designer.internal.ui.util.ExceptionH andler.handle(ExceptionHandler.java:123)
at
org.eclipse.birt.report.designer.internal.ui.util.ExceptionH andler.handle(ExceptionHandler.java:105)
at
org.eclipse.birt.report.designer.internal.ui.views.actions.A bstractElementAction.handleException(AbstractElementAction.j ava:132)
at
org.eclipse.birt.report.designer.internal.ui.views.actions.A bstractElementAction.run(AbstractElementAction.java:91)
at
org.eclipse.birt.report.designer.internal.ui.views.RenameLis tener.doubleClick(RenameListener.java:211)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:720)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.java:718)
at
org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelec t(StructuredViewer.java:950)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredViewer.java:1057)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.java:219)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:216)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:275)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: org.eclipse.jface.text.Assert$AssertionFailedException:
Assertion failed:
at org.eclipse.jface.text.Assert.isTrue(Assert.java:189)
at org.eclipse.jface.text.Assert.isTrue(Assert.java:174)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.getBasel ineBias(LineNumberRulerColumn.java:815)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.doPaint( LineNumberRulerColumn.java:693)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBu fferPaint(LineNumberRulerColumn.java:624)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.access$8 (LineNumberRulerColumn.java:595)
at
org.eclipse.jface.text.source.LineNumberRulerColumn$4.paintC ontrol(LineNumberRulerColumn.java:541)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:83)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:11 53)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3090 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1391)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1300)
at org.eclipse.swt.widgets.Shell.open(Shell.java:827)
at org.eclipse.jface.window.Window.open(Window.java:783)
at
org.eclipse.birt.report.designer.internal.ui.dialogs.BaseDia log.open(BaseDialog.java:145)
at
org.eclipse.birt.report.designer.internal.ui.views.data.prov iders.DataSetNodeProvider.performEdit(DataSetNodeProvider.ja va:173)
at
org.eclipse.birt.report.designer.internal.ui.views.DefaultNo deProvider.performRequest(DefaultNodeProvider.java:354)
at
org.eclipse.birt.report.designer.internal.ui.views.actions.E ditAction.doAction(EditAction.java:79)
at
org.eclipse.birt.report.designer.internal.ui.views.actions.A bstractElementAction.run(AbstractElementAction.java:64)
... 32 more
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 1 1001 2006-01-18
15:39:55.784
!MESSAGE Plug-in Provider:Eclipse.org
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 1 1001 2006-01-18
15:39:55.784
!MESSAGE Plug-in Name:BIRT Designer UI
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 1 1001 2006-01-18
15:39:55.784
!MESSAGE Plug-in ID:org.eclipse.birt.report.designer.ui
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 1 1001 2006-01-18
15:39:55.784
!MESSAGE Version:2.0.0
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 4 1001 2006-01-18
15:39:55.784
!MESSAGE Error Code:Error.GUIException.invokedByUnexpectedException
!SUBENTRY 1 org.eclipse.birt.report.designer.ui 4 1001 2006-01-18
15:39:55.784
!MESSAGE Error Message:Assertion failed:
Re: BIRT error: Assertion Failed [message #130742 is a reply to message #130425] Thu, 19 January 2006 07:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Is there a way to totally clean out eclipse from my system? Does eclipse
leave any config or registry files on the machine that aren't in the
eclipse root directory? Would removing those files and starting with a
new instillation help get rid of BIRT the error?
Re: BIRT error: Assertion Failed (Solution Found!) [message #130779 is a reply to message #130742] Thu, 19 January 2006 12:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

I found the cause of the error and it was trivial bug but hard to
diagnose.

The reason for the error was caused when on the Windows Display Properties
-> Apperance Tab -> Font size dropdown, setting was changed fron Normal to
Extra large.

Aparrently Eclipse/BIRT doesn't like it when you modify the font settings
in the Windows environment. This is an annoying bug which i hope get's
fixed in following releases of Eclipse/BIRT.
Re: BIRT error: Assertion Failed (Solution Found!) [message #130791 is a reply to message #130779] Thu, 19 January 2006 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Ensure to log a bug report...no one else may have seen the problem

Darins

"Darwin Cruz" <cruzd@alum.rpi.edu> wrote in message
news:bd88db5a007c1a9da90cd56127ca2a95$1@www.eclipse.org...
>I found the cause of the error and it was trivial bug but hard to diagnose.
> The reason for the error was caused when on the Windows Display
> Properties -> Apperance Tab -> Font size dropdown, setting was changed
> fron Normal to Extra large.
> Aparrently Eclipse/BIRT doesn't like it when you modify the font settings
> in the Windows environment. This is an annoying bug which i hope get's
> fixed in following releases of Eclipse/BIRT.
>
Re: BIRT error: Assertion Failed - one more [message #131132 is a reply to message #130791] Sat, 21 January 2006 22:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: namezis2002.yahoo.com.au

I've got the same problem.

An unexpected internal exception occurred.Please see log for detail.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Designer UI
Plug-in ID:org.eclipse.birt.report.designer.ui
Version:1.0.1
Error Code:Error.GUIException.invokedByUnexpectedException
Error Message:Assertion failed

My Eclipse and BIRT are downloaded to local windows C: drive.
Installed via the update manager from local site.

eclipse SDK 3.1.1
eclipse GEF 3.1.1
eclipse EMF 2.1.1
eclipse BIRT 1.0.1
eclipse VE 1.1.0.1

I do not know if it's important, but psql jdbc is:
postgresql-8.1-404.jdbc3.jar

I was just testing if I can use BIRT to print my payslips
which are on PostgreSQL.

1) I did preview of empty report canvas and it works

2) I change focus to the Data Sets list and click on the only one I have.

3) I have got UnexpectedException

There is no fonts or report items, just empty canvas.
It is clean instalation, I did not put my fingers on it yet.
Re: BIRT error: Assertion Failed - Extra Large [message #131144 is a reply to message #131132] Sat, 21 January 2006 23:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: namezis2002.yahoo.com.au

I changed the Display Properties->Appearance->Font Size to Normal, was
Extra Large!!!

Now I can see the Data Set, but when I drug the data set on on report
layout,
I get some error after going to the preview:

row1 row2 row3
------------------------------------------------------------ -

There are errors on the report page:
+ There are error(s) in Table:null :


I can see in the data set -> preview result.
I am pretty sure I doing still something wrong.
Re: BIRT error: Assertion Failed - last massage more details [message #131157 is a reply to message #131144] Sun, 22 January 2006 00:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: namezis2002.yahoo.com.au

When I see the source of the preview report, I have somewhere at the end:

<div>
<hr style="color:red;"></hr>
<div style="color:red;">
<div>
There are errors on the report page:
</div>
<div>
<span onclick="expand(0)" id="error_icon0" style="cursor:pointer;">
+
</span>
<span id="error_title">
There are error(s) in Table:null
</span>
<pre id="error_detail0" style="display:block;">Error0 :
odaconsumer.CannotOpenConnection(1 time)<br>detail: Cannot open the
connection for the driver
(org.eclipse.birt.report.data.oda.jdbc).<br>Cannot load JDBC Driver class:
[org.postgresql.Driver]. <br>Cannot load JDBC Driver class:
[org.postgresql.Driver]. <br></pre>
</div>
</div>
</div>

It seems that BIRT cannot find my psql jdbc driver during formatting of
the report, even though I see my data from the psql database in the data
set preview.

I have installed correctly the jar file through the Manage Drivers window.
It resides now in: I:\...\eclipse SDK
1.1.1\plugins\org.eclipse.birt.report.data.oda.jdbc_1.0.1\dr ivers
Re: BIRT error: Assertion Failed - PostgreSQL works now [message #131282 is a reply to message #131157] Sun, 22 January 2006 23:43 Go to previous message
Eclipse UserFriend
Originally posted by: namezis2002.yahoo.com.au

There is an answer for my problem at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=98895

Bug#: 98895

In BIRT 1.0.1 the location where I have copied by hand the jdbc jar file
is:

..\eclipse
3.1.1\plugins\org.eclipse.birt.report.viewer_1.0.1\birt\WEB- INF\lib\postgresql-8.1-404.jdbc3.jar

However, I did copy my driver through Data Source -> Driver Manager so
according to Eclipse Bugzilla it should be copied over there as well.

Anyway, I think I stick to this project for a longer while, I realy like
it.
Previous Topic:why console closes down?
Next Topic:Error with VE
Goto Forum:
  


Current Time: Thu May 01 14:07:11 EDT 2025

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

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

Back to the top