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 116134 - java.lang.NullPointerException: null attribute
Summary: java.lang.NullPointerException: null attribute
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL: http://statistics.netbeans.org/except...
Keywords:
: 142008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-20 11:48 UTC by guimeau
Modified: 2008-10-21 13:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 4578


Attachments
stacktrace (4.51 KB, text/plain)
2007-09-20 11:48 UTC, guimeau
Details
stacktrace (1.69 KB, text/plain)
2007-09-25 12:06 UTC, stroudcuster
Details
stacktrace (4.69 KB, text/plain)
2008-05-19 16:23 UTC, aldobrucale
Details
stacktrace (4.69 KB, text/plain)
2008-05-26 17:07 UTC, jonr
Details
stacktrace (4.69 KB, text/plain)
2008-05-27 22:12 UTC, esmithbss
Details
stacktrace (1.70 KB, text/plain)
2008-05-29 10:53 UTC, marcobisi
Details
stacktrace (831 bytes, text/plain)
2008-05-30 15:30 UTC, antonioni
Details
stacktrace (831 bytes, text/plain)
2008-05-30 15:32 UTC, antonioni
Details
stacktrace (4.69 KB, text/plain)
2008-06-05 08:35 UTC, scarno86
Details
stacktrace (4.50 KB, text/plain)
2008-06-15 01:15 UTC, wrarus
Details
stacktrace (1.70 KB, text/plain)
2008-06-16 18:04 UTC, tommasoscelzo
Details
stacktrace (1.70 KB, text/plain)
2008-06-16 18:07 UTC, tommasoscelzo
Details
stacktrace (4.69 KB, text/plain)
2008-07-01 16:43 UTC, marcopar
Details
stacktrace (1.70 KB, text/plain)
2008-07-09 19:14 UTC, dermorgenstern
Details
stacktrace (1.70 KB, text/plain)
2008-07-16 21:12 UTC, rlambkin
Details
stacktrace (4.51 KB, text/plain)
2008-08-07 08:48 UTC, james17080
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guimeau 2007-09-20 11:48:54 UTC
Build: NetBeans IDE 6.0 Beta 1 (Build 200709141330)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Linux, 2.6.22-2-vserver-686, i386

User Comments:
Comment 1 guimeau 2007-09-20 11:48:59 UTC
Created attachment 49147 [details]
stacktrace
Comment 2 Vladimir Yaroslavskiy 2007-09-20 11:59:40 UTC
Please provide steps to reproduce and
attach project.
Comment 3 Vladimir Yaroslavskiy 2007-09-21 14:45:58 UTC
Can't reproduce.
Comment 4 stroudcuster 2007-09-25 12:06:06 UTC
Build: NetBeans IDE Dev (Build 200709250000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Linux, 2.6.22-12-generic, i386

User Comments: 
Selected /File/Print from menu bar.
Comment 5 stroudcuster 2007-09-25 12:06:12 UTC
Created attachment 49441 [details]
stacktrace
Comment 6 _ rkusterer 2007-12-12 17:54:45 UTC
Java bug. See also: "Cross platform print dialog doesn't check for orientation being unsupported."

https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
Comment 7 robin2 2008-02-29 15:22:48 UTC
My copy of NetBeans 6.0 won't print. It did print some time ago. I can't figure if I have the latest version as your
website does not seem to list the latest build build versions. Mine shows "Product Version: NetBeans IDE 6.0 (Build
200711261600)".

When I go to Tools > Plugins the Update tab is greyed out. As far as I remember I downloaded updates in the last few days.

This is a serious inconvenience
Comment 8 Vladimir Yaroslavskiy 2008-02-29 15:30:29 UTC
The bug is in jdk, see references above.
Closing as invalid.
Comment 9 aldobrucale 2008-05-19 16:23:41 UTC
Created attachment 61571 [details]
stacktrace
Comment 10 jonr 2008-05-26 17:07:00 UTC
Created attachment 61940 [details]
stacktrace
Comment 11 esmithbss 2008-05-27 22:12:54 UTC
Created attachment 62012 [details]
stacktrace
Comment 12 marcobisi 2008-05-29 10:53:29 UTC
Created attachment 62109 [details]
stacktrace
Comment 13 antonioni 2008-05-30 15:30:26 UTC
Created attachment 62173 [details]
stacktrace
Comment 14 antonioni 2008-05-30 15:32:37 UTC
Created attachment 62175 [details]
stacktrace
Comment 15 scarno86 2008-06-05 08:35:03 UTC
Created attachment 62399 [details]
stacktrace
Comment 16 wrarus 2008-06-15 01:15:46 UTC
Created attachment 62848 [details]
stacktrace
Comment 17 tommasoscelzo 2008-06-16 18:04:24 UTC
Created attachment 62886 [details]
stacktrace
Comment 18 tommasoscelzo 2008-06-16 18:07:50 UTC
Created attachment 62887 [details]
stacktrace
Comment 19 marcopar 2008-07-01 16:43:33 UTC
Created attachment 63764 [details]
stacktrace
Comment 20 dermorgenstern 2008-07-09 19:14:43 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
I was trying to print a source file.
Comment 21 dermorgenstern 2008-07-09 19:14:52 UTC
Created attachment 64201 [details]
stacktrace
Comment 22 rlambkin 2008-07-16 21:12:44 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
Attempting to print a file. Also can't do printer page setup.
Comment 23 rlambkin 2008-07-16 21:12:53 UTC
Created attachment 64768 [details]
stacktrace
Comment 24 Vladimir Yaroslavskiy 2008-07-29 14:00:06 UTC
*** Issue 142008 has been marked as a duplicate of this issue. ***
Comment 25 james17080 2008-08-07 08:48:19 UTC
Build: NetBeans IDE 6.0.1 (Build 080320)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b22
OS: Linux, 2.6.24-19-generic, amd64

User Comments: 
I was in Client.java in the sample programs, and I tried to print the program out.

jcp

Stacktrace: 
java.lang.NullPointerException: null attribute
        at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
        at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
        at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
        at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
        at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
        at sun.print.ServiceDialog.<init>(ServiceDialog.java:124)
Comment 26 james17080 2008-08-07 08:48:23 UTC
Created attachment 66759 [details]
stacktrace
Comment 27 Petr Dvorak 2008-10-21 13:34:28 UTC
Little note: Happens in JDK6u7, seems to be fixed in JDK6u10...