Hi Greg, Just tried the SVG Image page again with Safari and got the following console message:
Java Plug-in 1.6.0_22 Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) 64-Bit Server VM User home directory = /Users/SuperstringMedia Java Plug-in 1.6.0_22 Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) 64-Bit Server VM User home directory = /Users/SuperstringMedia ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- An error occurred at line number 26 in file http://pivot.apache.org/lib/pivot-tutorials-2.0.jar!/org/apache/pivot/tutorials/labels/svg.bxml: java.lang.RuntimeException: Error setting property "image" for type org.apache.pivot.wtk.ImageView to value "jar:http://pivot.apache.org/lib/pivot-tutorials-2.0.jar!/org/apache/pivot/tutorials/labels/logo.svg" at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:317) at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:44) at org.apache.pivot.beans.BXMLSerializer.processEndElement(BXMLSerializer.java:1093) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:440) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:614) at org.apache.pivot.wtk.ScriptApplication.startup(ScriptApplication.java:70) at org.apache.pivot.wtk.BrowserApplicationContext$HostApplet$StartCallback.run(BrowserApplicationContext.java:190) at org.apache.pivot.wtk.ApplicationContext$QueuedCallback.run(ApplicationContext.java:1474) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.NoClassDefFoundError: com/kitfox/svg/SVGCache at org.apache.pivot.wtk.media.SVGDiagramSerializer.readObject(SVGDiagramSerializer.java:43) at org.apache.pivot.wtk.media.Image$LoadTask.execute(Image.java:101) at org.apache.pivot.wtk.media.Image.load(Image.java:144) at org.apache.pivot.wtk.ImageView.setImage(ImageView.java:248) 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:597) at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:312) ... 15 more Caused by: java.lang.ClassNotFoundException: com.kitfox.svg.SVGCache at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:181) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 24 more An error occurred at line number 26 in file http://pivot.apache.org/lib/pivot-tutorials-2.0.jar!/org/apache/pivot/tutorials/labels/svg.bxml: java.lang.RuntimeException: Error setting property "image" for type org.apache.pivot.wtk.ImageView to value "jar:http://pivot.apache.org/lib/pivot-tutorials-2.0.jar!/org/apache/pivot/tutorials/labels/logo.svg" at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:317) at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:44) at org.apache.pivot.beans.BXMLSerializer.processEndElement(BXMLSerializer.java:1093) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:440) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:614) at org.apache.pivot.wtk.ScriptApplication.startup(ScriptApplication.java:70) at org.apache.pivot.wtk.BrowserApplicationContext$HostApplet$StartCallback.run(BrowserApplicationContext.java:190) at org.apache.pivot.wtk.ApplicationContext$QueuedCallback.run(ApplicationContext.java:1474) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.NoClassDefFoundError: com/kitfox/svg/SVGCache at org.apache.pivot.wtk.media.SVGDiagramSerializer.readObject(SVGDiagramSerializer.java:43) at org.apache.pivot.wtk.media.Image$LoadTask.execute(Image.java:101) at org.apache.pivot.wtk.media.Image.load(Image.java:144) at org.apache.pivot.wtk.ImageView.setImage(ImageView.java:248) 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:597) at org.apache.pivot.beans.BeanAdapter.put(BeanAdapter.java:312) ... 15 more Thom On 2011-01-13, at 11:16 AM, Greg Brown wrote: > Never mind, I see the problem. That page does not include the SVG Salamander > JARs. > > On Jan 13, 2011, at 12:03 PM, Superstring Media wrote: > >> Just noticed that the SVG Image demo does not work, a Java error dialog >> opens instead. Here is a zipped image of what it looks like. >> >> <svg-image-error.png.zip> >> >> Thom >> >> >> On 2011-01-13, at 7:54 AM, Todd Volkert wrote: >> >>> I just pushed out the site updates, so it should take effect in the next >>> couple of hours. >>> >>> -T >>> >>> On Thu, Jan 13, 2011 at 8:34 AM, Greg Brown <[email protected]> wrote: >>> >>>> I think the site in general needs an overhaul. It looks really nice, but it >>>> is very difficult to maintain. >>>> >>>> On Jan 13, 2011, at 8:31 AM, Sandro Martini wrote: >>>> >>>>> Hi Greg, >>>>> good to know for the fix :-) >>>>> >>>>> But on these points what do you (and others) think ? >>>>> >>>>>> >>>>>> Probably the problem is due to positioning of elements in css, but now >>>> we >>>>>> have to do some little changes to the site for Apache branding >>>>>> requirements, so it would be a good idea to fix all things at the same >>>>>> moment. >>>>>> >>>>>> Uh, some other small improvements on pages: >>>>>> - I've seen that there aren't meta tags for not caching pages, and even >>>>>> this would be a simple and good additions, otherwise users the first >>>> time >>>>>> will see old pages >>>>>> - a css for print (but a good css for this is not-so-trivial), otherwise >>>>>> for example, when I print a tutorial I have printed many other things >>>> that >>>>>> could be hidden ... and as a starting point I could link this to pages >>>> to >>>>>> have the same behavior (the current css for every usage and the new only >>>>>> for print), and fix only the css later >>>>>> >>>>> >>>>> Thanks, >>>>> Sandro >>>>> >>>>> -- >>>>> View this message in context: >>>> http://apache-pivot-developers.417237.n3.nabble.com/Pivot-Website-Problem-tp2246812p2248136.html >>>>> Sent from the Apache Pivot - Developers mailing list archive at >>>> Nabble.com. >>>> >>>> >> >
