Page 1 of 1

Damn Windows XP 64 bit

Posted: Mon Sep 24, 2007 4:18 pm
by Iveco
Hello people,

there are days the code completion works (Ext JS 1.1.1) and on somedays it just stops working.

I don't know where this behavior is coming from but it's prolly the 64 bit version of Windows XP which is making so many troubles. I reinstalled a fresh JRM and Spket IDE 1.6.4 but still got this error after a few days of working with it:

Code: Select all

!SESSION 2007-09-24 15:29:59.396 -----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -smid spket_070913202336114
Command-line arguments:  -os win32 -ws win32 -arch x86 -smid spket_070913202336114

!ENTRY org.eclipse.ui 4 0 2007-09-24 17:26:29.933
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: com.spket.as.internal.compiler.ast.FunctionDeclaration cannot be cast to com.spket.as.internal.compiler.ast.VariableBinding)
	at org.eclipse.swt.SWT.error(SWT.java:3563)
	at org.eclipse.swt.SWT.error(SWT.java:3481)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at com.spket.ide.internal.IDEApplication.start(Unknown Source)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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.equinox.launcher.Main.invokeFramework(Main.java:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Caused by: java.lang.ClassCastException: com.spket.as.internal.compiler.ast.FunctionDeclaration cannot be cast to com.spket.as.internal.compiler.ast.VariableBinding
	at com.spket.as.internal.compiler.parser.Parser.consumeEnterVariable(Unknown Source)
	at com.spket.as.internal.compiler.parser.Parser.consumeRule(Unknown Source)
	at com.spket.as.internal.compiler.recovery.RecoveryParser.parse(Unknown Source)
	at com.spket.js.parser.AssistParser.parse(Unknown Source)
	at com.spket.js.parser.CompletionEngine2.parse(Unknown Source)
	at com.spket.js.parser.CompletionEngine2.visit(Unknown Source)
	at com.spket.js.parser.CompletionEngine2.codeComplete(Unknown Source)
	at com.spket.js.internal.text.JSContentAssistProcessor.determineProposals(Unknown Source)
	at com.spket.js.internal.text.JSContentAssistProcessor.computeCompletionProposals(Unknown Source)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1759)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:475)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:410)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:404)
	at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:354)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	... 23 more
Java Version:

Code: Select all

java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
IDE:

Code: Select all

Spket 1.6.4
When this problem happens, I will switch to Eclipse 3.3 and using Spket as plugin there, seems to be fine (code completion works then), but some days later I can use the standalone again.

Weired :-(.

Thanks for all information and tips.

Regards,
Iveco

Posted: Thu Jun 11, 2009 6:30 am
by anellyex
What alternative area there to Java by Sun Microsystems? i'm wanting something other than the Java Runtime Enviro from Sun Microsystems as it's been unstable for me. I'd rather have a true open source jre. what are some options for me?