Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-856

TerraLabelSkin.setDisabledColor throws exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: wtk-terra
    • Labels:
    • Environment:
      Windows, Tomcat

      Description

      Switching from 2.0.1 to 2.0.2 without changing the bxml causes the following exception.
      The offendding line 14 is <Form bxml:id="quickForm">
      disabledColor is not set anywhere in the bxml or the applet.

      ----------------------------------------------------
      An error occurred at line number 14 in file /ARS/ars/print/print.bxml:
      org.apache.pivot.serialization.SerializationException: java.lang.NoSuchMethodError: org.apache.pivot.wtk.skin.terra.TerraLabelSkin.setDisabledColor(Ljava/awt/Color;)V
      at org.apache.pivot.beans.BXMLSerializer.processStartElement(BXMLSerializer.java:775)
      at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:443)
      at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:630)
      at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:603)
      at ars.print.PrintApplet.startup(PrintApplet.java:132)
      at org.apache.pivot.wtk.BrowserApplicationContext$HostApplet$StartCallback.run(BrowserApplicationContext.java:190)
      at org.apache.pivot.wtk.ApplicationContext$QueuedCallback.run(ApplicationContext.java:1518)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$000(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.awt.EventQueue$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
      Caused by: java.lang.NoSuchMethodError: org.apache.pivot.wtk.skin.terra.TerraLabelSkin.setDisabledColor(Ljava/awt/Color;)V
      at org.apache.pivot.wtk.skin.terra.TerraLabelSkin.setDisabledColor(TerraLabelSkin.java:38)
      at org.apache.pivot.wtk.skin.terra.TerraLabelSkin.<init>(TerraLabelSkin.java:28)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.apache.pivot.wtk.Component.installSkin(Component.java:832)
      at org.apache.pivot.wtk.Label.<init>(Label.java:97)
      at org.apache.pivot.wtk.Label.<init>(Label.java:91)
      at org.apache.pivot.wtk.skin.terra.TerraFormSkin.<init>(TerraFormSkin.java:212)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.apache.pivot.wtk.Component.installSkin(Component.java:832)
      at org.apache.pivot.wtk.Form.<init>(Form.java:435)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.apache.pivot.beans.BXMLSerializer.newTypedObject(BXMLSerializer.java:1567)
      at org.apache.pivot.beans.BXMLSerializer.processStartElement(BXMLSerializer.java:773)
      ... 20 more
      Unable to queue callback: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.pivot.wtk.skin.terra.TerraLabelSkin.setDisabledColor(Ljava/awt/Color;)V

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zorqie Ilian Pavlov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: