This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 2911

Summary: Printing does not work.
Product: platform Reporter: Marian Petras <mpetras>
Component: -- Other --Assignee: Marian Petras <mpetras>
Status: CLOSED WORKSFORME    
Severity: major    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marian Petras 1999-07-29 01:52:34 UTC
If you select "Print" item in the "File" menu, you get an exception:
java.lang.NullPointerException:
        at com.netbeans.editor.ExtUI.settingsChanged(ExtUI.java:218)
        at com.netbeans.editor.ExtUI.<init>(ExtUI.java:197)
        at com.netbeans.editor.BaseDocument.print(BaseDocument.java:668)
        at com.netbeans.developer.modules.text.PrintSupport.createPrintIterators(PrintSupport.java:50)
        at com.netbeans.developer.modules.text.NbEditorDocument.createPrintIterators(NbEditorDocument.java:77)
        at org.openide.text.DefaultPrintable.getIterators(DefaultPrintable.java:475)
        at org.openide.text.DefaultPrintable.<init>(DefaultPrintable.java:139)

        at org.openide.text.NbDocument.findPageable(NbDocument.java:331)
        at org.openide.text.EditorSupport.print(EditorSupport.java:608)
        at org.openide.actions.PrintAction$1.run(PrintAction.java:46)
Comment 1 Quality Engineering 2003-07-02 14:53:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 2 Quality Engineering 2003-07-02 15:12:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.