| Author |
Message |
|
|
Post subject: Unable to print UML1 diagram
Posted: Oct 01, 2008 - 08:00 PM
|
|
Registered Member


Joined: Jul 18, 2006
Posts: 34
|
|
I have MyEclipse 7.0M2, running on Windows XP. I installed by taking an eclipse classic (ganymede) and the MyEclipse archive site.
I'm unable to print class diagrams in the UML perspective. I've reverse engineered existing code and I want to print the class diagrams, but I'm not able to. I press the print button, or select file...print and nothing happens.
I have the following in the logs:
| Code: |
!ENTRY org.eclipse.ui 4 4 2008-10-01 12:53:57.890
!MESSAGE Failed to execute item print
!STACK 0
org.eclipse.core.commands.NotHandledException: There is no handler to execute for command org.eclipse.ui.file.print
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:485)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:619)
at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:605)
at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(CommandContributionItem.java:595)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
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:386)
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 java.lang.reflect.Method.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)
|
|
_________________ Stephen Cooper
FTEN, Inc.
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 02, 2008 - 03:00 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
Stephen,
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can get this issue checked on the same configuration.
Did the "print" function work before you updated MyEclipse? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 02, 2008 - 03:06 PM
|
|
Registered Member


Joined: Jul 18, 2006
Posts: 34
|
|
This is a clean install of ganymede and myeclipse 7 M2.
Printing used to work in 6.5 (different machine).
Here's the info you requested:
| Code: |
*** Date:
Thursday, October 2, 2008 8:05:51 AM MDT
** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_07
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0 Milestone-2
Build id: 7.0-M2-20080915
*** Eclipse details:
Eclipse SDK
Version: 3.4.1
Build id: M20080911-1700
Eclipse Project SDK
Version: 3.4.1.R34x_v20080827-7O7S78C2J40sK2o_ALcK8tLN_yZSJeg0P-3EtL4Ra90kv
Build id: M20080911-1700
Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700
Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800
Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800
Eclipse Graphical Editing Framework GEF
Version: 3.4.0.v20080115-677-8082A5696H274A
Build id: 200806091334
Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
C:\cygwin\home\stephen\devtools\eclipse\plugins\com.genuitec.myeclipse.product_6.9.200.zmyeclipse69200200809\splash.bmp
-launcher
C:\cygwin\home\stephen\devtools\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\cygwin\home\stephen\devtools\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\cygwin\home\stephen\devtools\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-data
C:\cygwin\home\stephen\workspaces\ganymede
-launcher
C:\cygwin\home\stephen\devtools\eclipse\eclipse.exe
-vm
C:\cygwin\home\stephen\devtools\jre1.6.0_07\bin\client\jvm.dll
|
|
_________________ Stephen Cooper
FTEN, Inc.
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 02, 2008 - 07:55 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
Stephen,
MyEclipse 7.0 has not been tested with Eclipse 3.4.1 so I hope 3.4.1 is not causing the issue here. Can you switch to a new workspace and try printing a new class diagram. Do you get the same error? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 02, 2008 - 08:04 PM
|
|
Registered Member


Joined: Jul 18, 2006
Posts: 34
|
|
Hi Nipun,
I created a new workspace - UMLTest - and created a new project, also called UMLTest.
I created a new UML1 document and placed a single class in it - Foo. Print failed in exactly the same way.
Then I created a UML2 document, and placed a single class in it. Print works here.
The only reason I was doing a UML1 document was because I couldn't figure out how to do reverse engineering in the UML2 document. If you could tell me how I can do that, I would be able to get past this issue.
Thank you,
Stephen |
_________________ Stephen Cooper
FTEN, Inc.
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 02, 2008 - 08:48 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
Stephen,
Can you right click on the UML diagram and export it as an image and then print it. I'll ask the dev team to look into this issue. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 03, 2008 - 07:34 PM
|
|
Registered Member


Joined: Jul 18, 2006
Posts: 34
|
|
| thank you |
_________________ Stephen Cooper
FTEN, Inc.
|
| |
|
|
|
 |
|
|
Post subject: RE: Unable to print UML1 diagram
Posted: Oct 03, 2008 - 07:57 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5659
|
|
| Your Welcome. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|