Ilian Pavlov created PIVOT-856:
----------------------------------

             Summary: TerraLabelSkin.setDisabledColor throws exception
                 Key: PIVOT-856
                 URL: https://issues.apache.org/jira/browse/PIVOT-856
             Project: Pivot
          Issue Type: Bug
          Components: wtk-terra
    Affects Versions: 2.0.2
         Environment: Windows, Tomcat
            Reporter: Ilian Pavlov


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to