You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/02/15 07:13:37 UTC

DO NOT REPLY [Bug 26949] New: - NullPointerException on the creation of a workbook

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26949

NullPointerException on the creation of a workbook

           Summary: NullPointerException on the creation of a workbook
           Product: POI
           Version: 2.0-pre3
          Platform: Other
        OS/Version: OS/400
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: marcd@theodysseycompany.com


the language is RPG
the error i get is: 
Message . . . . :   Java exception received when calling Java method 
Cause . . . . . :   RPG procedure TEST in program MARCANZIS/TEST received 
Java   exception "java.lang.NullPointerException:" when calling 
method "<init>"       with signature "()V" in 
class "org.apache.poi.hssf.usermodel.HSSFWorkbook". 

the code:
CC 1.00 DWB               S               O   CLASS(*JAVA                      
0002.00 D                                     :'org.apache.poi.hssf.usermodel- 
0003.00 D                                     .HSSFWorkbook')                  
0004.00 DCREATEWB         PR              O   EXTPROC(*JAVA                    
0005.00 D                                     :'org.apache.poi.hssf.usermodel- 
0006.00 D                                     .HSSFWorkbook'                   
0007.00 D                                     :*CONSTRUCTOR)                   
0011.00  /FREE                                                                 
0012.00       // Create a Workbook.                                            
0013.00       WB = CREATEWB();                                                 
0014.00       *INLR = *ON;                                                     
0015.00                                                                        
0016.00  /END-FREE

any help will be apprecitated

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org