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 254288 - NullPointerException at javax.swing.text.FlowView$LogicalView.getPreferredSpan
Summary: NullPointerException at javax.swing.text.FlowView$LogicalView.getPreferredSpan
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 00:27 UTC by tdnorb
Modified: 2015-09-11 14:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219102


Attachments
stacktrace (4.01 KB, text/plain)
2015-08-12 00:27 UTC, tdnorb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdnorb 2015-08-12 00:27:38 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Mac OS X

User Comments:
tdnorb: using refactor to replace if block with switch block




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:732)
   at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:233)
   at javax.swing.text.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:717)
   at javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:157)
   at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
   at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:568)
Comment 1 tdnorb 2015-08-12 00:27:39 UTC
Created attachment 155275 [details]
stacktrace