Re: [tasklist] NPE on Export

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1050072948.3577.4.camel@proto>
Andrew, thanks for the report. Would you mind filing it in
Issuezilla?

Tim, can you take a look at this one?

-- Tor

On Thu, 2003-04-10 at 09:32, andrew wrote:
> Hello,
> 
> 1. set filter on User Tasks (done == false)
> 2. try export the list to HTML
> 3. see this exception:
> 
> java.lang.NullPointerException
>         at org.netbeans.modules.tasklist.core.filter.FilterCondition.isTrue(FilterCondition.java:70)
>         at org.netbeans.modules.tasklist.core.filter.Filter.accept(Filter.java:150)
>         at org.netbeans.modules.tasklist.core.HTMLSupport.exportOneNode(HTMLSupport.java:307)
>         at org.netbeans.modules.tasklist.core.HTMLSupport.exportHTML(HTMLSupport.java:284)
>         at org.netbeans.modules.tasklist.core.HTMLSupport.writeList(HTMLSupport.java:126)
>         at org.netbeans.modules.tasklist.core.AbstractTranslator.write(AbstractTranslator.java:231)
>         at org.netbeans.modules.tasklist.core.ExportAction$MainItemListener.actionPerformed(ExportAction.java:170)
>         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
>         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
>         at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
>         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
>         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
>         at java.awt.Component.processMouseEvent(Component.java:5099)
>         at java.awt.Component.processEvent(Component.java:4896)
>         at java.awt.Container.processEvent(Container.java:1569)
>         at java.awt.Component.dispatchEventImpl(Component.java:3614)
>         at java.awt.Container.dispatchEventImpl(Container.java:1627)
>         at java.awt.Component.dispatchEvent(Component.java:3476)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
>         at java.awt.Container.dispatchEventImpl(Container.java:1613)
>         at java.awt.Window.dispatchEventImpl(Window.java:1606)
>         at java.awt.Component.dispatchEvent(Component.java:3476)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
> [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
> 
> 
> br,
> a
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
-- 
Tor Norbye <[email protected]>
Sun Microsystems, Inc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.