Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » A fatal missing gif - quite urgent, cant work with tptp
A fatal missing gif - quite urgent, cant work with tptp [message #100130] Tue, 05 June 2007 07:36 Go to next message
Eclipse UserFriend
Originally posted by: shlomisign.gmail.com

Hey,
well, I have downloaded and followed the installation guide very
carefully.

I installed the new technology Agent Controller, I get the following
message:
When I run ACServer I get:

Exception in thread "Thread-0" java.lang.NoClassDefFoundError:
org/eclipse/hyades/internal/execution/file/FileServer
ACServer started successfully.

This seemes to be solved by bug 88639 (and 89383), and apparently has
been closed for a while, which makes no sense. should I resubmit it?

ACServer -v returns 4.3.1.0

The server actually runs, and I manage to profile a simple test program.

The real problem starts when I try to run my real application, then I
get an odd error. In eclipse, a dialog pops up containing the following
message:

org.eclipse.jdt.core.JavaModelException
I/O exception

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at
org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(Ja vaModelManager.java:1751)
at
org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar( JarPackageFragmentRoot.java:181)
at
org.eclipse.jdt.internal.core.JarPackageFragmentRoot.compute Children(JarPackageFragmentRoot.java:78)
at
org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStruc ture(PackageFragmentRoot.java:170)
at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
at
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
at
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:249)
at
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:235)
at
org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:190)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addPackageFragmentRootFilters(WorkspaceFiltersExtrac tor.java:129)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addJavaElementFilter(WorkspaceFiltersExtractor.java: 107)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFileFilters(WorkspaceFiltersExtractor.java:95)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:77 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addFolderFilters(WorkspaceFiltersExtractor.java:86)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addResourceFilters(WorkspaceFiltersExtractor.java:79 )
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.addProjectFilters(WorkspaceFiltersExtractor.java:68)
at
org.eclipse.hyades.trace.ui.internal.util.WorkspaceFiltersEx tractor.extractFilters(WorkspaceFiltersExtractor.java:40)
at
org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.getLaunchTypeWorkspaceFilters(AbstractProcessLaun cher.java:407)
at
org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProce ssLauncher.preLaunch(AbstractProcessLauncher.java:118)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1163)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
at java.lang.Thread.run(Thread.java:595)



and the eclipse log file shows:


!SESSION 2007-06-03 15:26:44.245
-----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -data /etrog/workspaces/adi/mmi_DEV -os linux
-ws gtk -arch x86

!ENTRY org.eclipse.core.expressions 4 4 2007-06-03 15:28:08.586
!MESSAGE Unknown expression element objectClass

!ENTRY org.eclipse.hyades.trace.ui 4 0 2007-06-03 15:31:05.109
!MESSAGE An error occurred while attempting to resolve the data
collectors selected
!STACK 1
org.eclipse.core.runtime.CoreException: An error occurred while
attempting to resolve the data collectors selected
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:133)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:141)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:151)
at java.lang.Thread.run(Thread.java:595)
!SUBENTRY 1 org.eclipse.hyades.trace.ui 4 0 2007-06-03 15:31:05.109
!MESSAGE An error occurred while attempting to resolve the data
collectors selected

!ENTRY org.eclipse.jface 2 0 2007-06-03 15:31:20.237
!MESSAGE The image could not be loaded:
URLImageDescriptor(bundleentry://1315/icons/full/dlcl16/message_options.gif)
!STACK 0
org.eclipse.jface.resource.DeviceResourceException: Unable to create
resource
URLImageDescriptor(bundleentry://1315/icons/full/dlcl16/message_options.gif)
at
org.eclipse.jface.resource.ImageDescriptor.createResource(Im ageDescriptor.java:173)
at
org.eclipse.jface.resource.DeviceResourceManager.allocate(De viceResourceManager.java:56)
at
org.eclipse.jface.resource.AbstractResourceManager.create(Ab stractResourceManager.java:87)
at
org.eclipse.jface.resource.LocalResourceManager.allocate(Loc alResourceManager.java:83)
at
org.eclipse.jface.resource.AbstractResourceManager.create(Ab stractResourceManager.java:87)
at
org.eclipse.jface.resource.ResourceManager.createImageWithDe fault(ResourceManager.java:114)
at
org.eclipse.jface.action.ActionContributionItem.updateImages (ActionContributionItem.java:936)
at
org.eclipse.jface.action.ActionContributionItem.update(Actio nContributionItem.java:709)
at
org.eclipse.jface.action.ActionContributionItem.fill(ActionC ontributionItem.java:330)
at
org.eclipse.jface.action.ToolBarManager.update(ToolBarManage r.java:317)
at
org.eclipse.tptp.trace.ui.internal.control.provider.ControlU tility.addContributedItems(ControlUtility.java:105)
at
org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.selec tionChanged(PDProjectExplorer.java:650)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:1976)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.java:1577)
at
org.eclipse.hyades.trace.internal.ui.PDProjectViewer.select( PDProjectViewer.java:240)
at
org.eclipse.hyades.trace.internal.ui.PDProjectViewer.selectO bject(PDProjectViewer.java:222)
at
org.eclipse.hyades.trace.internal.ui.PDProjectExplorer.handl eProfileEvent(PDProjectExplorer.java:493)
at
org.eclipse.tptp.platform.common.ui.trace.internal.helpers.T raceUIManager.notifyProfileEventListener(TraceUIManager.java :163)
at
org.eclipse.hyades.trace.ui.UIPlugin.notifyProfileEventListe ner(UIPlugin.java:561)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity$3.run(LauncherUtility.java:964)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3143)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2845)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.tptp.platform.common.ui.trace 2007-06-03 15:31:22.097
!MESSAGE Processed: 27329 bytes, bytes/second: 27329, events processed:
273, events/second: 273, elapsed time: 1 seconds

So this actually tracks down to a missing gif file in the jface jar (if
I am not mistaking..),
is there a workaround? should a program terminate this way due to a
missing gif? or is this more complex than that?

Please help me to figure out what should I do now, this is quite urgent,
and Iam unable to do any work with tptp.

Thank you,
Shlomi
Re: A fatal missing gif - quite urgent, cant work with tptp [message #100144 is a reply to message #100130] Tue, 05 June 2007 08:30 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Shlomi,

Please provide us with the following information:
- Eclipse workbench version, O/S and architecture
- Java version used by the Agent Controlled (as specified when running
the SetConfig script).
- The type of the application you are trying to profile (Eclipse plugin?
Simple Java application, external Java application?)
- The profiling type/data collector (execution time analysis, heap
analysis, etc...)


Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: A fatal missing gif - quite urgent, cant work with tptp [message #100156 is a reply to message #100144] Tue, 05 June 2007 09:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shlomisign.gmail.com

Asaf Yaffe wrote:
> Shlomi,
>
> Please provide us with the following information:
> - Eclipse workbench version, O/S and architecture
> - Java version used by the Agent Controlled (as specified when running
> the SetConfig script).
> - The type of the application you are trying to profile (Eclipse plugin?
> Simple Java application, external Java application?)
> - The profiling type/data collector (execution time analysis, heap
> analysis, etc...)
>
>
> Thanks,
> Asaf
>

Hello Asaf,
Thanks for your quick reply, here is the information you requested:

My eclipse version is 3.2.1 build M20060921-0945, running on Red hat
Linux Enterprise edition, 2.6.9-42.ELsmp (Intel x86).
The java configured to run with the Agent Controller is Java 1.5.0_06-b05.

Iam trying to profile a Swing Java Application, written and ran within
the eclipse environment.

About the collector, I tried each one, and any combination, and it all
gives the same result: as soon as I press "run", I see an error message
described in my previous post right away. The profiler doesnt even get a
chance to start up.

Please let me know if there is any more information that I could give
that will make my problem clearer.

Thanks,
Shlomi
Re: A fatal missing gif - quite urgent, cant work with tptp [message #100185 is a reply to message #100156] Tue, 05 June 2007 12:33 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Shlomi wrote:
> My eclipse version is 3.2.1 build M20060921-0945, running on Red hat
> Linux Enterprise edition, 2.6.9-42.ELsmp (Intel x86).
> The java configured to run with the Agent Controller is Java 1.5.0_06-b05.
>
> Iam trying to profile a Swing Java Application, written and ran within
> the eclipse environment.
>
> About the collector, I tried each one, and any combination, and it all
> gives the same result: as soon as I press "run", I see an error message
> described in my previous post right away. The profiler doesnt even get a
> chance to start up.
>
> Please let me know if there is any more information that I could give
> that will make my problem clearer.
>
> Thanks,
> Shlomi

My "guesstimate" is that this is a configuration issue. Please take a
look at the following Bugzilla entries and check whether any of them
applies to your problem:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=137057
https://bugs.eclipse.org/bugs/show_bug.cgi?id=140388

Some operative suggestions:
1. Reinstall Eclipse and TPTP from scratch and try again.
2. Install the latest TPTP 4.4 driver (RC2 from May 31) with Eclipse 3.3
(check the TPTP 4.4 download page for the prerequisites). I believe you
will get better results with the new profiler.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Met problem when Invocation of the Java Profiler from the Eclipse Workbench
Next Topic:Using control channel with custom commands - CPP to Java
Goto Forum:
  


Current Time: Tue Apr 23 15:29:55 GMT 2024

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

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

Back to the top