For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 19 years, 5 months ago by
Riyad Kalla.
-
AuthorPosts
-
jcasey01MemberHi there,
I have encountered a problem when attempting to debug a jsp/javascript page
in the Web2.0 browser.When the browser opens on the JSP page, an error dialog pops up with the message:
“An error has occured, see error log for more details”
In addition to this, a number of ‘blank’ messages appears in the Javascript console.
When I ran a search based on the logs, I found a possible solution in this forum, i.e.
running with the -clean option.When I tried this the number of errors DID reduce to one, but one is enough to stop
me 🙂The remaining error in the logs is:
!ENTRY org.eclipse.jface 4 2 2006-10-11 11:48:58.866
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.nio.BufferUnderflowException
at java.nio.DirectByteBuffer.get(Unknown Source)
at com.jniwrapper.d.readByteArray(SourceFile:106)
at com.jniwrapper.d.readByteArray(SourceFile:117)
at com.jniwrapper.ZeroTerminatedString.getValue(SourceFile:74)
at com.genuitec.eclipse.web20.console.ConsoleMessageLabelProvider.readConsoleMessage(ConsoleMessageLabelProvider.java:97)
at com.genuitec.eclipse.web20.console.ConsoleMessageLabelProvider.getColumnText(ConsoleMessageLabelProvider.java:88)
at org.eclipse.jface.viewers.TableViewer.doUpdateItem(TableViewer.java:472)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:434)
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.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1763)
at org.eclipse.jface.viewers.TableViewer.createItem(TableViewer.java:344)
at org.eclipse.jface.viewers.TableViewer.add(TableViewer.java:331)
at org.eclipse.jface.viewers.TableViewer.add(TableViewer.java:367)
at com.genuitec.eclipse.web20.console.JavaScriptConsolePage.logConsoleMessage(JavaScriptConsolePage.java:198)
at com.genuitec.eclipse.web20.console.JavaScriptConsoleListener.observe(JavaScriptConsoleListener.java:38)
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 com.jniwrapper.abstractcom.server.CoInterfaceVTBL$VirtualMethodCallback.invokeUnknownServerMethod(CoInterfaceVTBL.java:244)
at com.jniwrapper.abstractcom.server.CoInterfaceVTBL$VirtualMethodCallback.callback(CoInterfaceVTBL.java:147)
at com.jniwrapper.Callback.enterPoint(SourceFile:227)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2756)
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)I haven’t been able to find a way to get rid of this. Any suggestions?
Many thanks,
JohnOctober 16, 2006 at 12:08 pm #260492
Riyad KallaMemberJohn,
First can you post the result of MyEclipse > Installation Summary > Installation Details here for me? Also can you explain how this last error manifests itself from the interface? Is it a popup? Is it just this log entry? Can you debug?October 18, 2006 at 9:26 am #260628
jcasey01MemberHi,
My installation details are as follows:
*** Date: Wed Oct 18 15:22:40 BST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_07*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Graphical Editing Framework
Version: 3.1
Build id: 200507071758Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
1230_2c
-clean
-vm
C:\WINDOWS\system32\javaw.exeThe details of the error are as described in my previous post.
Best regards,
JohnOctober 18, 2006 at 9:44 am #260631
Riyad KallaMemberJohn,
Would you be able to install a clean version of Eclipse 3.2 SDK and MyEclipse 5.0.1 to new directories and test the same debugging scenario over to see if the bug still occurs? The AJAX tools have been a huge focus for us since they were introduced in version 4 and each release includes quite a number of bug fixes and enhancements. So before we trail down a really long path of trial and error only to find out it was a bug that was fixed in a later release, I’d rather try that first.If you do have a chance to do this, please use new directories for both Eclipse and MyEclipse and possibly a new workspace so you don’t change any of your old install until we are ready.
-
AuthorPosts
