SQL Power Business Intelligence Productivity Tools
Company OverviewBusiness Intelligence Productivity ToolsQuick-Start Implementation ServicesDemos & TurotialsFrequently Asked Questions (FAQ)Open Source Community ResourcesSQL Power ForumImplementation & Technology PartnersGet SQL Power SoftwareContact Us

SQL Power Software Forum

SQL Power Software Forum

  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page  [Register] Register /  [Login] Login 
Empty Result Set and Page Layout  XML
Forum Index » SQL Power Wabit Support
Author Message
cosburgin


Joined: 2009-07-30 08:30:23
Messages: 13
Offline

Attempting to go to a Page Layout from a query with an empty result set causes a Java Exception. Is there a way in Wabit to display a more user friendly message and return to the Query?
 Filename Wabit.rtf [Disk] Download
 Description Java Exception
 Filesize 831 Kbytes
 Downloaded:  90 time(s)

Jonathan
SQL Power Developer

Joined: 2007-01-08 15:10:32
Messages: 873
Offline

Thanks for taking the time to report this problem!

We're about 1 week away from the next public release of Wabit, and I'd like to ensure a fix for this issue is included. Unfortunately, when I open the .rtf file you attached to your initial post, all I see is a blank document.

If you can reproduce this problem and copy all the text from the "details..." text area of the exception report and paste it into a reply here, it will help us diagnose and fix this problem. You should be able to copy the exception message by clicking inside the text area, then pressing Ctrl+A (select all) followed by Ctrl+C (copy).

Thanks again.

-Jonathan
cosburgin


Joined: 2009-07-30 08:30:23
Messages: 13
Offline

This is a text version of the detail from the Exception Screen.

java.lang.NullPointerException
at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source)
at java.util.Collections$UnmodifiableList.<init>(Unknown Source)
at java.util.Collections.unmodifiableList(Unknown Source)
at ca.sqlpower.wabit.report.resultset.Section.getSectionHeader(Section.java:125)
at ca.sqlpower.wabit.report.ResultSetRenderer.createResultSetLayout(ResultSetRenderer.java:816)
at ca.sqlpower.wabit.report.ResultSetRenderer.renderSuccess(ResultSetRenderer.java:577)
at ca.sqlpower.wabit.report.ResultSetRenderer.renderReportContent(ResultSetRenderer.java:521)
at ca.sqlpower.wabit.swingui.report.ContentBoxNode.paint(ContentBoxNode.java:144)
at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
at edu.umd.cs.piccolo.PCamera.paintCameraView(Unknown Source)
at edu.umd.cs.piccolo.PCamera.paint(Unknown Source)
at edu.umd.cs.piccolo.PNode.fullPaint(Unknown Source)
at edu.umd.cs.piccolo.PCamera.fullPaint(Unknown Source)
at edu.umd.cs.piccolo.PCanvas.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Jonathan
SQL Power Developer

Joined: 2007-01-08 15:10:32
Messages: 873
Offline

Thanks! Filed as bug 2142 (target release 0.9.8).

-Jonathan

This message was edited 1 time. Last update was at 2009-08-25 15:59:05

cosburgin


Joined: 2009-07-30 08:30:23
Messages: 13
Offline

This seems to be fixed in version 0.98
 
Forum Index » SQL Power Wabit Support
Go to:   
Powered by JForum 2.1.8 © JForum Team