MyEclipse: Missing UML2 preferences

refri - Jun 25, 2009 - 01:58 PM
Post subject: Missing UML2 preferences
Hi, i just updated to version 7.5 and installed the UML2 plugin. In the UML2 preferences i didnt get a tree, just one main-node "UML2". Also, if I open a uml diagram i have no context menu like "export to image".
My colleague which also uses the same version of myEclipse has a preference-tree underneath the node "UML2" and he can export an uml diagram to image (using context menu).
I use Version: 7.5, Build id: 7.5-20090609

Do you know this problem and the solution?
Best regards
support-nipun - Jun 25, 2009 - 03:50 PM
Post subject: RE: Missing UML2 preferences
refri,
Can you switch to a new workspace and test this again. Seems like some workspace related issue to me. Does the problem persist in the new workspace as well.

Incase the problem persists. can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
krussell22 - Jun 25, 2009 - 10:27 PM
Post subject: RE: Missing UML2 preferences
I am also having this issue... I can't export UML2 as an image. Any ideas??
edross - Jun 26, 2009 - 02:05 AM
Post subject: uml2 export image
I have just upgraded and found the same issue - can not export an image. Did find I could print the diagram, but not export
aliportnov - Jun 26, 2009 - 02:00 PM
Post subject: RE: uml2 export image
I can't export ANY diagram as an image from UML1. From UML2 I can print it, but it is no context menu at all...This same problem is in a brand new worksapace as well...
I installed MyEclipse 7.5 a few days ago.
support-nipun - Jun 26, 2009 - 07:10 PM
Post subject: RE: uml2 export image
Guys,
I have filed this issue for investigation. We will get this resolved asap. Sorry for the inconvenience.
aliportnov - Jun 27, 2009 - 02:57 AM
Post subject: RE: uml2 export image
Just to provide some more information...May be, it will put some light on the problem...
What I want to tell is that I just tested the same installation package on another computer...and is possible to export the diagram as an image...So, what is the difference?
The computer on which I can NOT export has a Windows Vista Ultimate OS and vm running on jdk1.5.0_10...
The computer on which I just a few minutes ago successfully exported a diagram as an image, has a Windows XP Professional OS and a vm running on jdk1.6....
May be, this can point to the source of the problem?
Don't know what the other guys' systems are...just hope the XP box will not lose the ability to export...:-)
krussell22 - Jun 27, 2009 - 03:55 AM
Post subject:
Could there be a difference between an upgraded version of 7.5 and a clean 'new' install? I'm experiencing the problem on XP Pro with a 7.1 version of MyEclipse upgraded to 7.5.
aliportnov - Jun 29, 2009 - 04:28 AM
Post subject:
Quote:

Could there be a difference between an upgraded version of 7.5 and a clean 'new' install? I'm experiencing the problem on XP Pro with a 7.1 version of MyEclipse upgraded to 7.5.


On both of my computers (the one with a Vista, and another with XP) are clean new installations of classic Eclipse 3.4.2 and,thereafter, MyEclipse 7.5 (from archived source) using update manager, both from the same source.
support-nipun - Jun 29, 2009 - 03:28 PM
Post subject:
Thank you for posting this additional information.
aliportnov - Jun 29, 2009 - 05:27 PM
Post subject:
I have something to add to the problem....Just in case it might point to the source of it...
This message appears in the log file ({workspace.dir}./metadata/.log) when I tried to SAVE changes made to a diagram (the "Export As Image" context menu option seems disabled, nothing happens after click on it, and this is on the Vista machine):
===============

!ENTRY org.eclipse.core.resources 4 568 2009-06-29 11:18:40.528
!MESSAGE Internal error in history store
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Could not read metadata for 'C:\workspace_head_tst\.metadata\.plugins\org.eclipse.core.resources\.projects\APS_FilesProcessing\.indexes\7\81\f4\97\ae\history.index'. Unexpected version: 0.
at org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:295)
at org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:266)
at org.eclipse.core.internal.localstore.BucketTree.internalAccept(BucketTree.java:96)
at org.eclipse.core.internal.localstore.BucketTree.internalAccept(BucketTree.java:107)
at org.eclipse.core.internal.localstore.BucketTree.accept(BucketTree.java:74)
at org.eclipse.core.internal.localstore.HistoryStore2.applyPolicy(HistoryStore2.java:139)
at org.eclipse.core.internal.localstore.HistoryStore2.copyHistory(HistoryStore2.java:230)
at org.eclipse.core.internal.localstore.FileSystemResourceManager.copy(FileSystemResourceManager.java:186)
at org.eclipse.core.internal.resources.Resource.copy(Resource.java:493)
at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.copyResource(AbstractImageBuilder.java:378)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.findSourceFiles(IncrementalImageBuilder.java:664)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.findSourceFiles(IncrementalImageBuilder.java:522)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.findSourceFiles(IncrementalImageBuilder.java:522)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.findSourceFiles(IncrementalImageBuilder.java:522)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.findSourceFiles(IncrementalImageBuilder.java:473)
at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:92)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.core.resources 4 567 2009-06-29 11:18:40.528
!MESSAGE Could not read metadata for 'C:\workspace_head_tst\.metadata\.plugins\org.eclipse.core.resources\.projects\APS_FilesProcessing\.indexes\7\81\f4\97\ae\history.index'. Unexpected version: 0.

============================
The diagram, actually, has been saved within the project....
support-nipun - Jul 01, 2009 - 08:05 PM
Post subject:
FYI: A workaround for the Export to Image has been posted here:-
http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=107866#107866
pppoole - Jul 02, 2009 - 12:12 PM
Post subject:
I don't know if this solves your problem or not... but, i got a post on the same problem from Brian (on the support team) that solved the problem for me... Here is the relevant snippet for turning it on:

Go to Window > Preferences > General > Capabilities and select the Advanced button. Expand "MyEclipse Standard Tools" group and look for the "UML2 Extras (Leave off)" item. It will be unchecked, please check it and click OK. You should now see an "Export to file" action in your diagrams context menu which you can use to export.

I restarted my instance and saw it.

I hope that helps,

Paul
support-nipun - Jul 02, 2009 - 12:26 PM
Post subject:
Paul,
Thank you for posting this information. The link I posted above explains the same workaround.

Hope this information helps the users.
aliportnov - Jul 03, 2009 - 02:28 PM
Post subject:
If this workaround helps to solve the UML2 problem, the UML1 still can't export any diagram as an image...

Alex
support-nipun - Jul 06, 2009 - 10:10 AM
Post subject:
Alex,
I have been unable to reproduce the issue at my end. Im working with MyEclipse 7.5 on Vista. When you right click on the UML 1 diagram, does the context menu show up? What options show up ?
aliportnov - Jul 07, 2009 - 07:29 PM
Post subject:
support-nipun wrote:
Alex,
I have been unable to reproduce the issue at my end. Im working with MyEclipse 7.5 on Vista. When you right click on the UML 1 diagram, does the context menu show up? What options show up ?

1. When I right click on the UML1 diagram - the context menu DOES show up.
It has options enabled such:
- Export as image;
- Export as XML 1.0...
- Delete diagram.
Clicking on first 2 menu items has NO effect at all, nothing can be exported...
The deletion item acts as supposed - the diagram is deleted from the ".umr'...
I'll send you the screenshot.
support-nipun - Jul 08, 2009 - 06:35 PM
Post subject:
aliportnov,
Thank you for sending us the screenshot. I was unable to reproduce this issue at our end.

When you hit "Export to Image", is there any error that gets logged under <workspace>/.metadata/.log file?

If you switch to a new workspace and try working with a new umr, does the problem persist?
aliportnov - Jul 08, 2009 - 06:43 PM
Post subject:
support-nipun wrote:
aliportnov,
Thank you for sending us the screenshot. I was unable to reproduce this issue at our end.

When you hit "Export to Image", is there any error that gets logged under <workspace>/.metadata/.log file?

If you switch to a new workspace and try working with a new umr, does the problem persist?

When I hit "Export to Image" NOTHING is logged to the log file...It just doing nothing...
Did not yet try a new workspace.
Will update this post when will have a chance to try it.
support-nipun - Jul 09, 2009 - 01:44 PM
Post subject:
Quote:

Will update this post when will have a chance to try it.

Thank you.
aliportnov - Jul 09, 2009 - 06:54 PM
Post subject:
support-nipun wrote:
Quote:

Will update this post when will have a chance to try it.

Thank you.
I tried on brand new workspace...
The context menu is available, but nothing happens after I click on "export as image"...
NOTHING logged in the log file....
support-nipun - Jul 10, 2009 - 06:54 PM
Post subject:
aliportnov,
How big is the diagram that you are trying to export. If you create a new UML diargam and add just one class to it, does the "Export to Image" work?
aliportnov - Jul 10, 2009 - 06:58 PM
Post subject:
support-nipun wrote:
aliportnov,
How big is the diagram that you are trying to export. If you create a new UML diargam and add just one class to it, does the "Export to Image" work?
That's exactly what I've done...
One class, brand new project in a brand new workspace...
The menu looks "disabled", doesn't react at all...

Alex.
support-nipun - Jul 20, 2009 - 10:14 PM
Post subject:
I have gone through all the tests and tried it out on XP, Vista and Windows 7 and cannot reproduce this. The export works for me.
I'm not sure what to try next except a new install and I realize how frustrating this is. Does printing the diagram to a "PDF" work as a valid workaround incase you choose not to reinstall -- using a free PDF Printer like "PrimoPDF"?
aliportnov - Jul 21, 2009 - 02:06 PM
Post subject:
When I open the diagram in "MyEclipse UML perspective" (after testing that nothing else works) and click on "Print" option in main Eclipse menu (Ctrl + P) there is NO action at all...Seems like it's disabled as well as the "Export"...It does work from other (like "Java") perspective....
The new install (as you could see from previous posts) is what I tried. I, probably, need to wait until next release of both Eclipse and MyEclipse will be ready to work together....
I use MyEclipse for years, and did not have any problems before....

Thank you!
support-nipun - Jul 21, 2009 - 05:13 PM
Post subject:
Quote:

It does work from other (like "Java") perspective....

Please use this as a workaround for now. Ill ask the dev team to look into the issue that you have reported.

Sorry for the inconvenience.
aliportnov - Jul 21, 2009 - 05:27 PM
Post subject:
Quote:

Please use this as a workaround for now.


Sorry, I did not test it good enough...
As a fact, the "Print" option from Eclipse menu is working when in the Java perspective is open a "*.java" file...but, it's disabled (means, doesn't act any how, the "Print' dialog box doesn't pop up) when in the same perspective a "*.umr" file is open ....
Seems, the problem doesn't have a workaround yet...

Thank you anyway!
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits