Closed Bug 293346 Opened 20 years ago Closed 19 years ago

Reading news (nntp) broken?

Categories

(Grendel Graveyard :: Protocols, defect, P1)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mcsmurf, Assigned: rjkeller)

Details

I wanted to read/write something in Usenet, so set up account, everything fine.
But now i can't get it to fetch the list of newsgroups (or even subscribe to
one). I tried expanding the news groups list with the + on the news server,
tried Get Msg, tried right click on the account - nothing. A log from my news
server looks like this:
I   {840} < 200 NNTP-Server Classic Hamster Version 2.0 (Build 2.0.6.0) (post
ok) on mcsmurf.de says: Hi!
I   {840} > MODE READER
I   {840} < 200 ignored
WAR {840} Connection closed (timeout):127.0.0.1:119 (736)
--> me

We need to get these assignees sorted out :).
Assignee: edwin → rj.keller
Yes, news is broken. I think it's a issue with moving from JavaMail 1.1 to 1.3.
Exception output below as reference to self to help when I debug this later.

*** Created empty mailcap file in current
*** directory (to work around buggy javamail
*** software from JavaSoft).
DEBUG: setDebug: JavaMail version 1.3.2
DEBUG: getProvider() returning
javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc]
Got exception javax.mail.NoSuchProviderException: Invalid protocol: null while
creating store of type
javax.mail.NoSuchProviderException: Invalid protocol: null
        at javax.mail.Session.getProvider(Session.java:412)
        at javax.mail.Session.getStore(Session.java:511)
        at javax.mail.Session.getStore(Session.java:491)
        at grendel.ui.StoreFactory.createStore(StoreFactory.java:137)
        at grendel.ui.StoreFactory.updateStores(StoreFactory.java:174)
        at grendel.ui.StoreFactory.refreshStores(StoreFactory.java:179)
        at
grendel.prefs.ui.Servers$FinishActionListener.actionPerformed(Servers.java:417)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at grendel.view.ViewedStoreBase.<init>(ViewedStoreBase.java:80)
        at grendel.ui.StoreFactory.createStore(StoreFactory.java:145)
        at grendel.ui.StoreFactory.updateStores(StoreFactory.java:174)
        at grendel.ui.StoreFactory.refreshStores(StoreFactory.java:179)
        at
grendel.prefs.ui.Servers$FinishActionListener.actionPerformed(Servers.java:417)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at grendel.ui.StoreFactory.closeStores(StoreFactory.java:153)
        at grendel.ui.StoreFactory.updateStores(StoreFactory.java:166)
        at grendel.ui.StoreFactory.refreshStores(StoreFactory.java:179)
        at
grendel.prefs.ui.Servers$FinishActionListener.actionPerformed(Servers.java:417)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Severity: normal → critical
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → M1
ahh, if you add a News account as a second account (but not as the first
account), it is successfully added. There still isn't any GUI for it though so
it's still not functional but at least it doesn't throw tons of exceptions.
I tested the JavaMail providers against nntp://news.mozilla.org/netscape.test
The Grendel NNTP implementation connects with out a problem, however the message
cannot be fully retrieved and cannot be sent to a file.
(This should be opened as a separate bug as it affects
grendel.storage.MessageReadOnly, as it is only partially implemented.)
The GNU JavaMail NNTP provider connects with out a problem, and a message can be
retrieved and sent to a file, though this is significantly faster than the
Grendel NNTP implementation.

I think the bug should be closed, as nntp functionality is not "broken". Just
the Grendel provider, which is a separate issue.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.