DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44456>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44456

           Summary: I need to view a .xsl file with an empty row into the
                    table
           Product: POI
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I need to view an .xsl file using apache poi libraries. 
My .xsl files contain an empty row into the table 

e.g. (extract from the table)


a       a       a
a       a       a
a       a       a
                     <---- Empty row
a       a       a
a       a       a
a       a       a


But when I try to excecute the main method in the SViewerPanel.java with 
argumet the .xsl file, the application throw 
the following Exception :


Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.poi.hssf.contrib.view.SVRowHeader$RowHeaderRenderer.getListCellRender
erComponent(SVRowHeader.java:77)
        at javax.swing.plaf.basic.BasicListUI.updateLayoutState
(BasicListUI.java:1148)
        at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState
(BasicListUI.java:1098)
        at javax.swing.plaf.basic.BasicListUI.getPreferredSize
(BasicListUI.java:281)
        at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
        at javax.swing.JList.getPreferredScrollableViewportSize(JList.java:1913)
        at javax.swing.ViewportLayout.preferredLayoutSize
(ViewportLayout.java:72)
        at java.awt.Container.preferredSize(Container.java:1178)
        at java.awt.Container.getPreferredSize(Container.java:1162)
        at javax.swing.JComponent.getPreferredSize(JComponent.java:1277)
        at javax.swing.ScrollPaneLayout.layoutContainer
(ScrollPaneLayout.java:717)
        at java.awt.Container.layout(Container.java:1020)
        at java.awt.Container.doLayout(Container.java:1010)
        at java.awt.Container.validateTree(Container.java:1092)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validateTree(Container.java:1099)
        at java.awt.Container.validate(Container.java:1067)
        at java.awt.Window.show(Window.java:461)
        at java.awt.Component.show(Component.java:1133)
        at java.awt.Component.setVisible(Component.java:1088)
        at org.apache.poi.hssf.contrib.view.SViewerPanel.main
(SViewerPanel.java:287)

May you help me?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to