'assert' in Eclipse @ 1.4
Hi,
I am coding the following line in Eclipse:
assert true;The IDE keepsgiving me compile time error:
Syntax error on token "assert", AssignmentOperator expected after this token.It does not like the syntax. My Java compile level is at 1.4, and ofcourse, its recognizing 'assert' as a keyword. It's just that it's not happy with the way I am coding it.
Any clue?
At
http://www.cis.upenn.edu/~matuszek/cit594-2004/Pages/eclipse-faq.html
you find the answer:
How do I get the assert statement to work?
Go to Window -> Preferences -> Java -> Compiler -> Compliance and Classfiles
and set the Compiler Compliance Level to 1.4. This tells the compiler to recognize and allow assert statements, but does not enable them.
In Eclipse 3, the settings are a little fussier. Go to Window -> Preferences -> Java -> Compiler -> Compliance and Classfiles and set:
Compiler Compliance Level: to 1.4
Use default compliance settings to unchecked
Generated .class files compatibility: to 1.4
Source compatibility: to 1.4
Disallow identifiers called 'assert': to Error
Compiler Compliance Level to 1.4
To enable (make active) assert statements, you must set a flag to the compiler. Go to Run -> Run... -> Arguments, and in the box labeled VM arguments:, enter either -enableassertions or just -ea. Accept the changes and close the dialog.
Similar Messages
-
Eclipse blank grey dialogue box on startup, fixed with rm of workspace
Hello,
I wanted to get coding today, but.... eclipse isn't starting up like it usually does. The splash screen pops up, it asks where I want my workspace folder, and then a small grey dialogue box pops up. It will never exit on it's own, pressing close does nothing, I have to kill it.
I tried running eclipse in a terminal in the hope it complained about a library error or something, but it's silent, it doesn't say anything back to me when run in a terminal. I'm not sure what other info to give you. It was working yesterday, and today it's not opening. I just shut down my computer after that day and started it up the next and it didn't work. So I removed the .eclipse folder in the hope that would clear some temporary data that was causing it, nothing.
I eventually moved my workspace and let it start fresh, it worked. Unfortunately, I need those files. Can I import the folder to fix this issue? How can I?thurisaz wrote:
I'm experiencing the same problem. Additionally the whole update configuration seems to be damaged. There are no update sites listed anymore (I had quite many).
Furthermore I'm having some other problems (Eclipse icon seems to be missing, Saros plug-in and Gnome Battery Applet doesn't work anymore, no wallpaper on desktop) which all appeard after my update yesterday. Eclipse was updated too.
The following error messages are displayed when I start eclipse via terminal:
(Eclipse:8741): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(Eclipse:8741): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(Eclipse:8741): Gtk-CRITICAL **: IA__gtk_window_resize: assertion `width > 0' failed
gdk-pixbuf2 was updated too.
In the update log I found this message regarding gdk-pixbuf2:
[2011-06-30 22:58] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so)
(more error messages follow which name the other libpixbufloader-*.so libraries.)
I can't open images anymore because the programs can not recognize the image format.
Therefore this seems to be a problem with gdk-pixbuf2. At least for me. Don't know how to fix this. Will try to downgrade gdk-pixbuf2. Will post results.
EDIT: Yup, that did the trick. At least for all the image related stuff. Eclipse starts fine now, I can see the wallpaper and the battery applet is working now.
Eclipse plug-ins are still messed-up but that's worth a separate topic.
EDIT2: I still can't figure out how that gdk-pixbuf stuff could make eclipse "forget" about the workspace.
Do you know what version last worked? How should I downgrade? -
Error While exporting project in OSB through eclipse
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.jface.viewers.StructuredViewer.assertElementsNotNull(StructuredViewer.java:593)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:990)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1332)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:897)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:601)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:801)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:645)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:750)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1492)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:834)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1476)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1384)
at org.eclipse.jface.viewers.CheckboxTreeViewer.preservingSelection(CheckboxTreeViewer.java:418)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1482)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:275)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1669)
at com.bea.alsb.ui.repositories.jar.ConfigJarContentViewer.onContainerChanged(Unknown Source)
at com.bea.alsb.ui.repositories.jar.ConfigJarContentViewer.access$1(Unknown Source)
at com.bea.alsb.ui.repositories.jar.ConfigJarContentViewer$1.propertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:278)
at com.bea.alsb.ui.containers.selection.ContainerSelector.fireSelectionEvent(Unknown Source)
at com.bea.alsb.ui.containers.selection.ContainerSelector.setSelectedContainer(Unknown Source)
at com.bea.alsb.ui.repositories.jar.ConfigJarContentViewer.<init>(Unknown Source)
at com.bea.alsb.ui.repositories.jar.JarContextWizardPage.createResourcesGroup(Unknown Source)
at com.bea.alsb.ui.repositories.jar.JarContextWizardPage.createControls(Unknown Source)
at com.bea.alsb.ui.repositories.common.BaseWizardPage.createControl(Unknown Source)
at com.bea.alsb.ui.repositories.jar.JarContextWizardPage.createControl(Unknown Source)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1090)
at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:95)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:121)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)http://www.javamonamour.org/2010/07/osb-export-in-eclipse-fails.html
Regards,
Anuj -
Need someone to chek my code n tell me if the asserts work. Please!!
Hi , its importante that someone could help me on my code.
the code is the greatest common divisor ( Maximo divisor comum)
Well , the code is all right but i can't run it with the asserts , im using Eclipse 3.1 , the level of compilation is 1.3 .
It says that ignores de asserts but when i compile it gives me error on assert expression.
I would like to someone could test this code in another JAva editor like XEmacs or JBuilder ,anything that works with asserts and accept them.
Someone working with linux could test this too?
Just wanna see if the assertions are right , because i can't run the program with them in the eclipse. :S
Its importante, help me please.
Code:
import pt.iscte.io.*;
public class gCommonDivisor {
public static void main(String[] args){
assert 0 < n : n; // <-- THERE THEY ARE : (
assert 0 < d : d; // n is the numerator and d is the denomi.
System.out.println("Insira valor do numerador: ");
int n = Teclado.intLido();
System.out.println("Insira valor do denominador: ");
int d = Teclado.intLido();
int r = mdc( n, d); // modulo para o maximo divisor comum
int den = denominador(r , d); // modulo para denominador simplificado
int num = numerador(r, n); // modulo para numerador simplificado
// Output do Maximo divisor comum e da frac�ao reduzida
System.out.println("Maximo divisor comum entre "+ n +" e "+ d +" � "+ r);
System.out.print("Frac��o reduzida de "+ n +"/"+ d +" = "+ num +"/"+ den);
* @pre V.
* @post gcd = maximo divisor comum
static int mdc(int n, int d){
int gcd = 1;
int k =1;
while (k <= n && k <= d) {
if (n % k == 0 && d % k == 0)
gcd =k;
k++;
return gcd;
// numerador simplificado
static int numerador(int r , int n ) {
int numerador = n / r;
return numerador;
// denominador simplificado
static int denominador(int r , int d ) {
int denominador = d / r;
return denominador;
} Thank you so much .
Please help me!
Sorry about the language of the code. but dont worry about it, the code works fine without those two asserts after the main.
kind regards,
Joshwow i forgot to say that u just need to change the
expression to read the input from the console.
U dont have the iscte_io.jar
change int n = Teclado.intLido();
and int m = Teclado.intLido();
cuz u don't have the Teclado( Keyboard) i had to import pt.iscte.io.Teclado;
to read the input given by the user.
thks -
Zend Studio for Eclipse and Flex - Impossible?
I've been going in circles all day trying to get the Flex
plug-in to work in the Eclipse installation that installs with Zend
Studio for Eclipse.
The offshore dork for Zend said, "No now for plug-in for
Studio." So I guess that means I have to install Eclipse with Zend
Studio for Eclipse and then the Flex plug-in. But it appears the
Flex plug-in is baffled by the Eclipse 3.4 version that installs
with Zend Studio for Eclipse.
Many errors about please choose the correct folder etc. The
installation of the Flex 3.0 plug-in can be completed but fails
when trying to edit an mxml file with, "Could not open the editor:
Assertion failed."
There is a Flex updater to 3.0.1 which claims to support
Eclipse 3.4 but not for the plug-in as far as I could tell.
Attempting to use the Flex 3.0.1 updater on the Flex 3.0
plug-in installation in the Zend Studio for Eclipse directory
completely befuddles the installer.
Can anyone point me in some new directions for a solution?
Does Adobe have phone support any longer?
cd /this is the same problem disscused in thread (Flash Builder 4 plugin with eclipse 3.6) http://forums.adobe.com/thread/747394?tstart=0.please follow that thread if any one do not understand this thread problem.
-
Assert error!! how to solve that problem?
Hi,
when i use an assert after the compilation , the error is:
C:\CLASSES>javac Assertion.java
Assertion.java:11: as of release 1.4, 'assert' is a keyword, and may not be used as an identifier
(try -source 1.3 or lower to use 'assert' as an identifier)
public static void assert(boolean expression, String why) {
^
1 error
The tutorial says: In order for Code Sample 1(Doesn't matter) to compile, use -source 1.3 because assert is a keyword as of J2SE 1.4.
what is the source 1.3 ?? where and what the hell is that?? LOL =))
thanks!i understand and i don't understand.
lol
thats possible for someone who is using xemacs but someone who is using Eclipse or JCreator how do i do that?
if u don't want to answer that question could u put an assertion in this code, for example : asser -> if the num < = 0 !
here is the code:
import java.io.*;
public class Capicua {
public static void main (String[] args) throws Exception {
int digit, num;
int inverted = 0;
int x;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print(" Insert number: ");
num=Integer.parseInt(br.readLine().trim());
Assertion.assert(num <= 0, "Number can't be shorter or equals to zero!"); <--- how do i put an assert here? ( with the "do - while" its easy, but and with the asserts?
x=num;
while(num > 0) {
digit = num % 10;
num = num /10;
inverted = inverted * 10 + digit;
System.out.println("inverted = " + inverted);
if(inverted == x) {
System.out.println("Capicua");
}else{
System.out.println("not a capicau");
} -
Hi Sap Guru,
Forgive my bad English.
I decided to switch to Eclipse. I have scrupulously followed the procedures described in qesto link.
AiE easy installation - ABAP Development - SCN Wiki ( Thanks Gregor Wolf for nice job ).
I installed correctly the new packages ADT 2.19 on Eclipse Juno.
Then when i try to connect to SAP ECC6 Ehpt6 i have this message:
An internal error occurred during: "Reading repository objects".
com.sap.adt.communication.exceptions.SystemFailureException: System failure: "The ASSERT condition was violated." (For detailed information, check the generated short dump in transaction ST22 of system "DEV"); Destination data=DEV_800_dev001_en [client=800, language=EN, systemConfiguration={null} | sapbox | null | DEV | null | null | null | null | null | null | SNC_UNAVAILABLE | sapbox | 00 | , user=DEV001]
------------ Request -----------------------
POST /sap/bc/adt/repository/nodestructure?parent_type=DEVC HTTP/1.1
X-sap-adt-profiling: server-time
Where is the problem?
Thanks
VincentHi Florian,
the project is created successfully.
the error occurs when I try to access the System Library.
ST22
you must excuse me if my information is not sufficiently clear, it is the first time that I apply this procedure.
Should be activated SNC on the server? Could this be the error?
Regards
Vincent -
Eclipse Project configuratuion?
Hi,
I havnt been programming in quite a few weeks. The last time I did I had no problems when working with Eclipse. As far as I am aware nothing should have changed but when I create a new project and try to run it I get the following in the Eclipse console and the program does not run:
Usage: javaw [-options] class [args...]
(to execute a class)
or javaw [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
I did check to see if the class file was created. It was and I was able to run it from the cmd without any problems. Could this be some settings problem? If so could anybody suggest how to fix this?If you have issues with Eclipse please ask question in Eclipse forums or just check documentation.
-
Eclipse update site for FlexUnit 4.1?
Is there an update site that I can point Eclipse at to update the FlexUnit plugin to FlexUnit 4.1?
If not, then how are people updating Eclipse?Still not good (sorry). I tried the flex one alone, and when that didn't work, I add the following.
fluint-extensions-4.1.0-8-4.1.0.16076.swc
flexunit-uilistener-4.1.0-8-4.1.0.16076.swc
To be honest, I'm a bit confused as to how this all fits together. I'm assuming that when I run "Execute FlexUnit Tests" from the Navigator, that the Adobe plugin will interrogate the code and set up the main test application called FlexUnitApplication.mxml. Then it just runs that.
To normalize my results I did this.
1. Cleaned Unit Test project.
2. Ran Execute Flex Unit Test from navigator. This time it ran, but the Test method I had using a dataProvider, similar to the example on the website, gave the following error.
"Error: Method badFormTest should have no parameters.
Here's a portion of the code.
public static function badFormTests():Array {
return [
/* Testing comment 17110 */
["-9*r+27*s+63*t","-9*r--27*s--63*t"],
["-9*r+27*s+63*t","-9*r+--27*s+--63*t"],
["x+3","x--3"],
["x+3","x++3"],
["x+3","x+--3"] ,
["x+3","++3+x"],
["x-3","x---3"],
["5x-3","--5x+-3"],
["5x-3","-3--5x"],
["5x+3","5x--3"],
["5x+3","5x++3"],
["5x+3","5x+--3"],
["5x+3","++3+5x"],
["5x-3","5x---3"],
["5x-3","--5x+-3"],
["5x-3","-3--5x"],
["5x-3","--5x+-3"],
["5x-3","-3--x5"],
["5x+3","x5--3"],
["5x+3","x5++3"],
["5x+3","x5+--3"],
["5x+3","++3+x5"],
["5x-3","x5---3"],
["5x-3","--x5+-3"],
["5x-3","-3--x5"],
["x+3","x-(-3)"]
/* End comment 17110 */
[Test(dataProvider="badFormTests")]
public function badFormTest(correctExpr:String, responseExpr:String ):void
Assert.assertEquals(
TDXEvaluatorStatus.NAMES[TDXEvaluatorStatus.BADFORM],
evaluate(TDXAnswerRules.ACCEPTSIMILARFORM,
correctExpr,
responseExpr
On top of this, if edit any one of my source files (i.e., add and remove a space and save it) and build the project again, I get many errors. Here they are.
Description
Resource
Path
Location
Type
1046: Type was not found or was not a compile-time constant: [flash.events]::IEventDispatcher.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: [org.flexunit.async]::IAsyncTestResponder.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: [org.flexunit.internals.runners.statements]::IAsyncHandlingStatement.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: [org.flexunit.internals.runners.statements]::IAsyncStatement.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: AsyncResponseEvent.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: AsyncTestResponder.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: FlexEnvironmentBuilder.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: FlexMXVisualTestEnvironment.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: ISequenceAction.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: ISequencePend.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: ISequenceStep.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceBindingWaiter.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceCaller.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceDelay.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceEventDispatcher.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceRunner.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceSetter.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: SequenceWaiter.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: TextListener.
UnitTests
Unknown
Flex Problem
1046: Type was not found or was not a compile-time constant: VisualTestEnvironmentBuilder.
UnitTests
Unknown
Flex Problem
I appologize if I'm doing something bad. I really appreciate your help. -
I'm trying to use the assert command but when I try and compile my code netbeans outputs a error telling me that I'm trying to use it as a identifer. Although I'm sure I'm not.
Do I have to change any options to compile a assert command?
the code I'm using is:
count = (calories / 50) + (fat / 12) - (fiber / 5);
assert count > 0 : "Adjusted calories < 0";I don't know how you do that in netbeans. I use Eclipse or JBuilder. There is usually some checkboxes under build cofiguration, and one of them usually says some thing like enable asserts, or enable 1.4 source compability.
/Kaj -
BPEL Installation Issues and Eclipse Plugin Issue
I'm trying to evaluate BPEL and encountered the following issues:
(1) Installation of patch 4343748:
MISSING_COMPONENT : oracle.j2ee, 10.1.2.0.0
This Oracle Home does not have components/versions required by the patch.
ERROR: OPatch failed during pre-reqs check.
OPatch returns with error code = 150
The other 2 patches installed fine.
Is there a required order for installing the patches. The information that I found is a bit spotty on that.
(2) The Eclipse Plugin also doesn't work properly. The following stack trace is reported back, when trying to open a .bpel file:
java.lang.NullPointerException
at bpelz.browser.OleWebBrowser.registerAsDropTarget(OleWebBrowser.java:345)
at bpelz.browser.OleBrowserView.createBrowserControl(OleBrowserView.java:168)
at bpelz.browser.OleBrowserView.createPartControl(OleBrowserView.java:75)
at bpelz.views.SimpleBrowserView.createPartControl(SimpleBrowserView.java:55)
at bpelz.views.PaletteView.createPartControl(PaletteView.java:64)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:512)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:528)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:485)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:813)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2928)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:902)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:887)
at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:3051)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3049)
at bpelz.wizards.BPELProjectCreationOperation.switchToBPELPerspective(BPELProjectCreationOperation.java:204)
at bpelz.wizards.BPELProjectCreationOperation.run(BPELProjectCreationOperation.java:144)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
at bpelz.wizards.BPELProcessWizard.performFinish(BPELProcessWizard.java:207)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
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.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:114)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
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.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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)
Any advice on how to proceed is much appreciated.
AndreasI'm still hoping to find an answer on why the Eclipse BPEL Designer does not work for me. I can generate a BPEL project but the visual BPEL Editor will just not open up. Any clues on what I should be looking at would be very appreciated.
Here is the exact Eclipse version that I'm using:
Version: 3.1.0
Build id: I20050627-1435
And another stack trace that is seen in the Eclipse error log:
org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
at org.eclipse.jface.util.Assert.isTrue(Assert.java:180)
at org.eclipse.jface.util.Assert.isTrue(Assert.java:165)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:579)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:244)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1216)
at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:944)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:939)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2535)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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)
Thanks,
Andreas -
i have zendstudio for eclipse and when i start it it gives this error
ZendStudio:7259): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (1037)
Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib/gtk-2.0/modules/libgnomebreakpad.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (1037)
Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib/gtk-2.0/modules/libgnomebreakpad.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(ZendStudio:7259): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
(ZendStudio:7259): Gtk-CRITICAL **: gtk_window_resize: assertion `width > 0' failed
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: Failed to load Pango module '/usr/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'
(ZendStudio:7259): Gtk-WARNING **: Error loading theme icon 'gtk-dialog-error' for stock: Incapaz de ler módulo de leitura de imagens: /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(ZendStudio:7259): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
and the charecters are squares ....
does any one knows why ?!Have a look at one of the first topics in this forum.
Should give you all the details and links you need.
Darren -
Eclipse Error during Database Studio startup
I have some MaxDB 7.7 and 7.8 databases on SLES11 x86_64. There is no Windows machine nearby so I cannot use good old (stable!) DBMGUI but I have to switch over to this fancy Databse Studio tool. Installation was no problem, but during there startup I get some error messages:
cd /sapdb/clients/DatabaseStudio/DatabaseStudio/
setenv PATH /sapdb/clients/DatabaseStudio/DatabaseStudio:$PATH
./dbstudio -vm /usr/java/jre1.5.0_11/bin/java
Xlib: extension "RANDR" missing on display "localhost:1.0".
(%appName:15081): Gdk-CRITICAL **: gdk_draw_drawable: assertion `GDK_IS_DRAWABLE (drawable)' failed
Xlib: extension "RANDR" missing on display "localhost:1.0".
I get a small pop-up window with this information text:
"An error has occurred. See the log file /sapdb/D93/sdb/DatabaseStudio/.metadata/.log."
The contents of this logfile are:
!SESSION 2011-03-29 13:03:02.301 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.ui 4 4 2011-03-29 13:03:11.856
!MESSAGE Plug-in 'com.sap.sdb.tools.ui' contributed an invalid Menu Extension (Path: 'org.eclipse.search.menu' is invalid): com.sap.sdb.tools.ui.dbstudiosearchaction
!ENTRY org.eclipse.ui.workbench 4 0 2011-03-29 13:03:14.271
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1026)
at org.eclipse.swt.widgets.Control.release(Control.java:3217)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
at org.eclipse.swt.widgets.Control.release(Control.java:3217)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
at org.eclipse.swt.widgets.Control.release(Control.java:3217)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:211)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:466)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1948)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
at org.eclipse.swt.widgets.Control.release(Control.java:3217)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:442)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1893)
at org.eclipse.swt.widgets.Display.release(Display.java:3083)
at org.eclipse.swt.graphics.Device.dispose(Device.java:237)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Now what does this error message mean? Or how could I fix this problem?
Regards,
MarkAddendum: This was also in the log file, forgot to post it in my initial post:
!ENTRY org.eclipse.osgi 2 0 2011-03-29 13:03:16.633
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-29 13:03:16.633
!MESSAGE Bundle update@eclipse/plugins/com.sap.sdb.tools.ui.report_7.8.1.v201007081836/ was not resolved.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.633
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.633
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.634
!MESSAGE Missing required bundle org.eclipse.birt.report.model_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.634
!MESSAGE Missing required bundle org.eclipse.birt.core_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2011-03-29 13:03:16.635
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-29 13:03:16.636
!MESSAGE Bundle update@eclipse/plugins/com.sap.sdb.tools.ui.report_7.8.1.v201007081836/ [167] was not resolved.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.636
!MESSAGE Missing required bundle org.eclipse.birt.core_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.636
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.636
!MESSAGE Missing required bundle org.eclipse.birt.report.model_0.0.0.
!SUBENTRY 2 com.sap.sdb.tools.ui.report 2 0 2011-03-29 13:03:16.636
!MESSAGE Missing required bundle org.eclipse.birt.report.viewer_0.0.0. -
Cannot view report layout under Helios(Eclipse 3.6)
After upgrade to Helios (Eclipse 3.6), I connected to Crystal Reports for Eclipse's update site (http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/), and installed the latest cr4e.2.0.7.
But opening a report file, there is only "Expressions" page editor being displayed. Other page such as "Layout" or "Preview" are just disappeared.
In my Helios IDE, there are modules installed as below:
GEF 3.6.0.v20100519-2050-7G7R-A5WNc7QL_fXBGjRZPUUiKPJ
EMF 2.6.0.v20100614-1136
WDT 3.2.0.v201005241510-7O7CFb3EMf84nP-FHuc10NTz--M3
XSD 2.6.0.v20100614-1136
Oracle Database Tool 1.6.0.201007221419
Here is what CR4E complained in error logs, it seems that IEditorInput param was passed a value of null.
java.lang.IllegalArgumentException:
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:47)
at org.eclipse.ui.part.EditorPart.setInput(EditorPart.java:224)
at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEditor.java:346)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:237)
at com.businessobjects.crystalreports.rcputilities.NiceMultiPageEditor.addPage(NiceMultiPageEditor.java:77)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:211)
at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor.addPage(CrystalReportsEditor.java:292)
at com.businessobjects.crystalreports.designer.uibase.editor.ReportEditorExtensionManager.loadPagesFromExtensionRegistry(ReportEditorExtensionManager.java:98)
at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable.attachDocumentAndPages(CrystalReportsEditor.java:645)
at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable.access$1000(CrystalReportsEditor.java:507)
at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable$1.run(CrystalReportsEditor.java:618)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
Please take a look at the problem, and give a solution for Helios users.
Thank you.Hi,
did you get any closures on this issue? I am also facing the same issue.
What is more important is we need to use version 3.00 of J2EE web module which only Helios supports.
Thanks and Regards,
Gourav -
Flex plugin + eclipse galelio
Please help me
I have downloaded eclipse-jee-galileo-SR1-linux-gtk.tar.gz and extracted to a folder
and flex builder 3 plugin for linux alpha 5
I have installed the flex builder for this eclipse
but when i created the flex project i am not getting the mxml editor getting error as assertion failed
give the suggestion to rectify this problemI know the chances of a reply are lower than the chances of IBM releasing a bug-free, backwards compatible product, but...
Looking into this one myself (and I'm not optimistic). What exactly are the problems you're seeing?
Maybe you are looking for
-
C6180 Win7 driver fails to install
I have downloaded the latest full feature driver package for my C6180. When I run the downloaded file, it goes almost entirely through the installation process, recognizes the printer on the wireless network, then gives me a message that "Printer set
-
The table has total different value than what I inserted!
Hi, I have a table named "cfg2" and the structure of the table is like this. Name Null? Typ UID NOT NULL VARCHAR2(30) S1 VARCHAR2(10) S2 VARCHAR2(10) UIDFLAG NOT NULL NUMBER(1) I inserted "UID" values from 1 to 100 with preparedstatement. The code lo
-
One of the main reasons I bought my iPod was becuase of the support for album art. So far, it has only shown album art on the songs that I bought from iTunes. How do I set it up so every album on my iPod will have the album art inlcluded with it, so
-
HT5312 I forgot the answers of the security questions..
-
Z4 report Foreign trade regulations SCB indicator (central bank key)
hello all, i was wondering what is triggering the Z4 report Foreign trade regulations report? Is it the SCB indicator (central bank key)? If an invoice is missing that indicator, could it be that the report shows no output? You can find the indicator