[ 
https://issues.apache.org/jira/browse/PIVOT-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701064#action_12701064
 ] 

Todd Volkert commented on PIVOT-101:
------------------------------------

This only happens to me on Mac OSX when building using JDK 1.5 (even if I 
launch using Java 6).  I had set my Java preferences to use Java 6 by default, 
yet an echo of ${ant.java.version} in the build file showed that I was using 
1.5 within the Ant build.  I had to manually change the "CurrentJDK" symlink in 
/System/Library/Frameworks/JavaVM.framework/Versions to point to 1.6 to get Ant 
to pick that up.  Once I did this and ran a clean build.  The problem went away.

I'm leaving this bug open so we can determine the best course of action.  Do we 
spit out a warning in our build file if the developer is building against 1.5?  
Do we add any extra info to our BUILD file?  Does anyone know a better way to 
switch the OSX JDK version than to mess with buried symlinks?  Does anyone have 
a clue as to why this error would happen in the first place, even when built 
against 1.5?

> Exception thrown upon application startup
> -----------------------------------------
>
>                 Key: PIVOT-101
>                 URL: https://issues.apache.org/jira/browse/PIVOT-101
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>         Environment: OSX 10.5.6, DesktopApplicationContext, JRE 
> 1.6.0_07-b06-153
> Possibly others
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>            Priority: Critical
>             Fix For: 1.2
>
>
> > java -cp 
> > lib/pivot-core.jar:lib/pivot-wtk.jar:lib/pivot-wtk.terra.jar:lib/pivot-tutorials.jar:wtk/lib/stax-api-1.0.jar:wtk/lib/stax-1.2.0.jar
> >  pivot.wtk.DesktopApplicationContext pivot.tutorials.Demo
> Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: 
> pivot.wtk.content.ButtonDataRenderer.getStyles()Lpivot/collections/Dictionary;
>       at pivot.wtk.RadioButton.<clinit>(RadioButton.java:30)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:169)
>       at pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:414)
>       at pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:167)
>       at pivot.wtkx.WTKXSerializer.readObject(WTKXSerializer.java:158)
>       at 
> pivot.tutorials.Demo$RollupStateHandler.previewExpandedChange(Demo.java:99)
>       at 
> pivot.wtk.Rollup$RollupStateListenerList.previewExpandedChange(Rollup.java:53)
>       at pivot.wtk.Rollup.setExpanded(Rollup.java:108)
>       at pivot.tutorials.Demo$15.run(Demo.java:506)
>       at 
> pivot.wtk.ApplicationContext$ScheduledCallback$1.run(ApplicationContext.java:1114)
>       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>       at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
>       at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:300)
>       at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:210)
>       at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:200)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:195)
>       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:187)
>       at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to