cancel
Showing results for 
Search instead for 
Did you mean: 

GUI JAVA 7.20 rev.2 (on Mac OSX 10.6.3): Print preview does not work!

lorenzo_nicora2
Explorer
0 Kudos

I've just started using rev 2 of java sapgui and print preview is not working anymore.

Client: OSX 10.6.3

SAP: ERP5.0 on WAS 640

Has anyone experienced the same problem?

Accepted Solutions (1)

Accepted Solutions (1)

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Lorenzo,

I am able to use Print Preview with 7.20 rev.2. But maybe I am not doing the same steps, or your content is causing the problem, or ...

When having the Console (/Applications/Utlilites) open while trying to use Print Preview, do you see any exceptions or other error output in the console window?

Please create a [support message|https://service.sap.com/message] on component BC-FES-JAV.

Best regards

Rolf-Martin

lorenzo_nicora2
Explorer
0 Kudos

This is the output in console when print-previewing:

I'm going to open a support message as adviced.

<code>

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] Exception in thread "Loader for htmlViewer8_XZ_7" java.lang.NullPointerException

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at com.sap.plaf.frog.FrogListUI.updateColors(FrogListUI.java:63)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at com.sap.plaf.frog.FrogListUI.propertyChange(FrogListUI.java:48)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:318)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at java.awt.Component.firePropertyChange(Component.java:8233)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at javax.swing.JComponent.firePropertyChange(JComponent.java:4428)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at javax.swing.JComponent.setEnabled(JComponent.java:2638)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.annotation.ActionsPanel.setEnabled(ActionsPanel.java:418)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.annotation.ActionsPanel.<init>(ActionsPanel.java:106)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.annotation.AnnotationPanel.setGUI(AnnotationPanel.java:128)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.annotation.AnnotationPanel.<init>(AnnotationPanel.java:73)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.SwingViewBuilder.buildAnnotationPanel(SwingViewBuilder.java:1574)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.SwingViewBuilder.buildUtilityTabbedPane(SwingViewBuilder.java:1541)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.SwingViewBuilder.buildUtilityAndDocumentSplitPane(SwingViewBuilder.java:1501)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.SwingViewBuilder.buildContents(SwingViewBuilder.java:499)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at org.icepdf.ri.common.SwingViewBuilder.buildViewerPanel(SwingViewBuilder.java:482)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.pilots.pdf.ThePilot.createComponent(ThePilot.java:149)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.storm.Viewport.setPilot(VCDO)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.storm.StormBase.append(VCDO)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.storm.StormBase.do_clear_content(VCDO)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.storm.StormBase.do_render_content(VCDO)

04/05/10 10.45.41 [0x0-0x3e63e6].com.sap.platin[6491] at ice.storm.Viewport.runAsynchronousLoad(VCDO)

</code>

Edited by: Lorenzo Nicora on May 4, 2010 10:52 AM

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Lorenzo,

the reason why it has been working for me is that I am running Signature Design theme.

After switching to the Tradeshow theme, I can reproduce your problem.

We don't need a support message in this case. Until the fix is available, you might want to use Signature Design theme.

Best regards

Rolf-Martin

lorenzo_nicora2
Explorer
0 Kudos

Hadn't ever seen Signature Design theme! Interesting.... Just changed to it and I can confirm print preview is working.

More: up to rev 1 the first time I enter a preview I see a blank page and just from the second time on (until I close sapgui, independently on wich kind of document I preview) it works ok.

Now with rev 2: print preview works from the first time (it just take 5/7 seconds more than from the second time on).

Thanks,

Lorenzo

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Lorenzo,

until now, you have to explicitly choose Signature Design in the preferences, default is Tradeshow. This might change soon.

Regarding Print Preview

The third party component had a bug causing the content not to be displayed the first time ... sometimes.

That component has been updated in rev 2, so this has gone away.

The reason why it takes longer the first time until the preview shows up is the time required loading all the classes of this third party component. The second time, the classes are ready to run, so it is faster.

Best regards

Rolf-Martin

P.S. In case you have feedback using Signature Design (or anything else regarding SAP GUI for Java), let me know.

Answers (0)