472,345 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,345 software developers and data experts.

eclipse application getting an Assertion failed exception

Hello All,

I am trying to execute an application that is developed using eclipse libraries.
Jface, SWT , etc.

While I execute the application , i have received an exception which I am unable to trace it.

is the statement whre it araised.
TextViewer is org.eclipse.jface.text.SourceViewer object.

The error reported is :

Expand|Select|Wrap|Line Numbers
  2. org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed:
  3. at org.eclipse.jface.text.Assert.isTrue(Assert.java:189)
  4. at org.eclipse.jface.text.Assert.isTrue(Assert.java:174)
  5. at org.eclipse.jface.text.source.LineNumberRulerColumn.getBaselineBias(LineNumberRulerColumn.java:815)
  6. at org.eclipse.jface.text.source.LineNumberRulerColumn.doPaint(LineNumberRulerColumn.java:693)
  7. at org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:624)
  8. at org.eclipse.jface.text.source.LineNumberRulerColumn.redraw(LineNumberRulerColumn.java:866)
  9. at org.eclipse.jface.text.source.LineNumberRulerColumn$InternalListener.viewportChanged(LineNumberRulerColumn.java:72)
  10. at org.eclipse.jface.text.TextViewer.updateViewportListeners(TextViewer.java:2666)
  11. at org.eclipse.jface.text.TextViewer.internalRevealRange(TextViewer.java:2869)
  12. at org.eclipse.jface.text.TextViewer.revealRange(TextViewer.java:2821)
  13. at org.eclipse.jface.text.TextViewer.setSelection(TextViewer.java:2141)
  14. at cdacb.ssdg.diviag.process.ProcessWindow$TextTabItem$MySourceViewer.scrollToLine(ProcessWindow.java:1853)
  15. at cdacb.ssdg.diviag.process.ProcessWindow$TextTabItem.updateCurrentLine(ProcessWindow.java:1480)
  16. at cdacb.ssdg.diviag.process.ProcessWindow.updateCurrentLine(ProcessWindow.java:1141)
  17. at cdacb.ssdg.diviag.cp.ControlPanel.openWindows(ControlPanel.java:1178)
  18. at cdacb.ssdg.diviag.cp.ControlPanel.createProcGroups(ControlPanel.java:1023)
  19. at cdacb.ssdg.diviag.cp.ControlPanel$1.widgetSelected(ControlPanel.java:785)
  20. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
  21. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  22. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
  23. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
  24. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
  25. at cdacb.ssdg.diviag.Main.main(Main.java:56)
  26. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  27. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  28. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  29. at java.lang.reflect.Method.invoke(Unknown Source)
  30. at com.sun.javaws.Launcher.executeApplication(Unknown Source)
  31. at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
  32. at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
  33. at com.sun.javaws.Launcher.run(Unknown Source)
  34. at java.lang.Thread.run(Unknown Source)
Feb 13 '08 #1
3 6624
2,364 Expert 2GB
Greetings, ravit!

Looks like are having IDE problems... are you using an IDE other than Eclipe to run your app...

You can download a free version of Eclipse to try the code.

You can also post the whole code for easy access, in case someone see something else that could be problematic.

In a bit!
Dec 8 '08 #2
3,112 Expert 2GB
Great! An unknown error and no code to work with! I'm absolutely sure, your error is in line #104, the 4th character...

OK, seriously now. We can't help you, if we don't know your code. Generally, I'd try commenting out some sections of the code and check if the error still occurs - that way you can limit the area the error may be. But if you want any further help, we'll need to see some code.

Dec 8 '08 #3
11,448 Expert 8TB
It is not an IDE problem; it has to do with SWT and by coincidence Eclipse also is bundled with those libraries (which it uses itself) and is made available to the user as well, Stop pointing to those IDEs all the time; they're innocent.

kind regards,

Dec 9 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Chemix | last post by:
Hello people, I've developed a windows forms application with VC++.NET. The problem I have is the next: I run my application and all seems go OK,...
by: Kapt. Boogschutter | last post by:
Does anyone know Why I'm getting this Error??? Debug Assertion Failed! File: daocore.cpp Line: 42 My code: CDaoDatabase dao;...
by: Arti Potnis | last post by:
Hi, I have an application with a function "myfunction" that opens a file and writes to it using fprintf. This application runs on a unix (sun...
by: A_StClaire_ | last post by:
I read a section of my text on smart "counting" pointers and found it confusing so I decided to get hands-on. however I'm getting "Debug...
by: lawrence | last post by:
Hi, I made a MFC ActiveX with a CwinThread Class in VC ++. Then i used it on Visual basic. When i try to make an exe i got this error : Debug...
by: Bhachi | last post by:
Briefly I will explain the build scenario. An utility "idlGen" is created by compiling a set of C++ files. This utility(exe) is used to generate...
by: Mullai | last post by:
Hi , My program gives an error message like this Debug Assertion Failed! program:................ File: wincore.cpp Line: 958 Please can...
by: longP | last post by:
Hi I have an application which creates a queue, a thread is putting data in the queue using malloc and another thread is getting data from the...
by: veerender | last post by:
Hello, When i tried to load an application from a CD following the Setup link, i get the below error: Debug Assertion Failed ! Program...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.