activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Gellings (JIRA)" <jira+amq...@apache.org>
Subject [jira] Created: (AMQNET-251) System.IO.__Error.EndOfFile() exception
Date Wed, 19 May 2010 16:23:20 GMT
System.IO.__Error.EndOfFile()   exception
-----------------------------------------

                 Key: AMQNET-251
                 URL: https://issues.apache.org/activemq/browse/AMQNET-251
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ
    Affects Versions: 1.3.0
         Environment: Using ActiveMQ 5.2, NMS 1.3, activemq host Windows Server 2008, activemq
nms client on windows XP
            Reporter: Mark Gellings
            Assignee: Jim Gomes
             Fix For: 1.3.0
         Attachments: NativeNMSConsumerAndProducer.zip

Get "Unable to read beyond the end of the stream." exception when sending a message.  Message
gets added to queue appropriately though.

Stack trace:

at System.IO.__Error.EndOfFile()   
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)   
at System.IO.BinaryReader.ReadInt32()   
at Apache.NMS.Util.EndianBinaryReader.ReadInt32()   
at Apache.NMS.ActiveMQ.OpenWire.OpenWireFormat.Unmarshal(BinaryReader dis)   
at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop()

To replicate run attached console against an ActiveMQ 5.2 broker.  Inputs entered should be
similar to the following, of which after entering Visual Studio 2008 breaks at the exception
being thrown.  Bug does not occur when using NMS 1.2.

What is the machine name your broker is running on?
wamqdev1
What is the port your broker is running on?
10200
URI using is: failover:(tcp://wamqdev1:10200?transport.UseLogging=true)
What is the queue?
test
Run consumer? (Y/N)N
Run producer? (Y/N)Y
Do you need to enter a username/password? (Y/N)Y
enter Usernameuser
enter Passwordpassword
How many messages do you want to send (e.g. 10)?
1
Press <enter> at any time to shutdown.
Please enter a pace to send messages in milliseconds (e.g. 1000) or 0 for no wai
t between message sending.  Test was started at 5/19/2010 11:14:34 AM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message