You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Mark Gellings (JIRA)" <ji...@apache.org> on 2010/05/19 18:23:20 UTC

[jira] Created: (AMQNET-251) System.IO.__Error.EndOfFile() exception

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.


[jira] Resolved: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQNET-251.
---------------------------------

    Resolution: Cannot Reproduce

Using the latest NMS code and the ActiveMQ 5.4 broker release candidate I cannot reproduce this issue.

> 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: Timothy Bish
>             Fix For: 1.4.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.


[jira] Work stopped: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AMQNET-251 stopped by Timothy Bish.

> 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: Timothy Bish
>             Fix For: 1.4.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.


[jira] Commented: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60005#action_60005 ] 

Timothy Bish commented on AMQNET-251:
-------------------------------------

Unable to reproduce this.  I'm running a 5.4 SNAPSHOT.

> 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.4.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.


[jira] Updated: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQNET-251:
--------------------------------

    Fix Version/s: 1.4.0
                       (was: 1.3.0)

> 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.4.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.


[jira] Assigned: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish reassigned AMQNET-251:
-----------------------------------

    Assignee: Timothy Bish  (was: Jim Gomes)

> 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: Timothy Bish
>             Fix For: 1.4.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.


[jira] Updated: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Mark Gellings (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Gellings updated AMQNET-251:
---------------------------------

    Attachment: NativeNMSConsumerAndProducer.zip

> 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.


[jira] Work started: (AMQNET-251) System.IO.__Error.EndOfFile() exception

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AMQNET-251 started by Timothy Bish.

> 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: Timothy Bish
>             Fix For: 1.4.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.