facebook

UML Preferences – Change Font Error

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #232294 Reply

    Craig Peters
    Member

    When I changed the font size as you described under Preferences/MyEclipse/UML in another post , I always get the following error message displayed:

    “Error notifying a preference change listener. Check the log for details.”

    I get this message sometimes 3-4 times in a row.

    –> I got this error in M2 on both Eclipse 3.0.2 and also with the new M2 release for Eclipse 3.1.

    This occurred regardless of whether I had a UML class diagram open or not. If I had one open, the fonts did not change until I closed and then reopened the diagram.

    Following is the stack trace from the error log on 3.0.2:

    !ENTRY org.eclipse.core.runtime 4 2 Jun 28, 2005 11:12:51.489
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.IllegalArgumentException: Unrecognized object [null]
    at org.argouml.model.uml.NSUMLModelFacade.illegalArgument(Unknown Source)
    at org.argouml.model.uml.NSUMLModelFacade.illegalArgumentCollection(Unknown Source)
    at org.argouml.model.uml.NSUMLModelFacade.getStructuralFeatures(Unknown Source)
    at org.argouml.uml.diagram.static_structure.ui.FigClass.updateAttributes(Unknown Source)
    at org.argouml.uml.diagram.static_structure.ui.FigClass.updateFigStyle(Unknown Source)
    at org.argouml.uml.diagram.static_structure.ui.UMLClassDiagram.applyStylePref(Unknown Source)
    at org.argouml.uml.diagram.static_structure.ui.UMLClassDiagram.propertyChange(Unknown Source)
    at org.eclipse.ui.plugin.AbstractUIPlugin$2.run(AbstractUIPlugin.java:276)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.plugin.AbstractUIPlugin$CompatibilityPreferenceStore.firePropertyChangeEvent(AbstractUIPlugin.java:274)
    at org.eclipse.jface.preference.PreferenceConverter.setValue(PreferenceConverter.java:460)
    at org.eclipse.jface.preference.FontFieldEditor.doStore(FontFieldEditor.java:233)
    at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:586)
    at org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(FieldEditorPreferencePage.java:313)
    at com.genuitec.eclipse.uml.preference.UMLPreferencePage.performOk(Unknown Source)
    at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:746)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:728)
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:199)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.buttonPressed(WorkbenchPreferenceDialog.java:75)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:72)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    #232314 Reply

    Riyad Kalla
    Member

    We are tracking this bug, thank you.

    This is the same bug here: https://www.genuitec.com/forums/topic/uml-class-diagram-printing/#post-231832

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: UML Preferences – Change Font Error

You must be logged in to post in the forum log in