Re: Client Suite 3.0
Posted: Sun Nov 18, 2012 3:20 pm
Great. Glad you got it working. Looks like the old (un)installer strikes again.. Hoping those days are behind us now.
Community discussion about Reef Angel Controllers and reefing related subjects
https://forum.reefangel.com/
Code: Select all
*****20/11/2012 4:29:14 PM*****
Message:
Notifier Service Started.
StackTrace:
*****20/11/2012 4:30:17 PM*****
Message:
Index was outside the bounds of the array.
StackTrace:
at ReefAngelWCFListener.ReefAngelListener.GetAllMemoryValuesPost10(String[] locations)
*****20/11/2012 4:30:17 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****20/11/2012 4:30:32 PM*****
Message:
Listener: Could not generate parameter object from provided xml. The XML attempting to be parsed: <RA>
Unexpected end of file has occurred. The following elements are not closed: RA. Line 1, position 5.
StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at ReefAngelWCFListener.ReefAngelListener.GenerateCurrentParams(String xml)
*****20/11/2012 4:30:32 PM*****
Message:
Listener: Could not build relay statuses from the provided xml. The xml attempting to be parsed: <RA>
Unexpected end of file has occurred. The following elements are not closed: RA. Line 1, position 5.
StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at ReefAngelWCFListener.ReefAngelListener.BuildRelayStatuses(String xml)
*****20/11/2012 4:31:03 PM*****
Message:
Listener: Could not generate parameter object from provided xml. The XML attempting to be parsed: <RA>
Unexpected end of file has occurred. The following elements are not closed: RA. Line 1, position 5.
StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at ReefAngelWCFListener.ReefAngelListener.GenerateCurrentParams(String xml)
*****20/11/2012 4:31:03 PM*****
Message:
Listener: Could not build relay statuses from the provided xml. The xml attempting to be parsed: <RA>
Unexpected end of file has occurred. The following elements are not closed: RA. Line 1, position 5.
StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options)
at ReefAngelWCFListener.ReefAngelListener.BuildRelayStatuses(String xml)
So the error looks like the controller is returning fewer memory location/value pairs than what is expected.Sebyte wrote:I have installed the suite and it works well except for when I try to access the memory settings. Then I get the error message
"Unable to retrieve controller memory settings. Refer to log for more details."
Code: Select all
*****11/29/2012 6:28:48 PM*****
Message:
Notifier Service Started.
StackTrace:
*****11/29/2012 6:29:52 PM*****
Message:
Inside WifiSend:
The underlying connection was closed: The connection was closed unexpectedly.
StackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at ReefAngelWCFListener.ReefAngelListener.WifiSend()
*****11/29/2012 6:29:52 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 6:30:26 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 6:32:33 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 6:40:23 PM*****
Message:
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at ReefAngelWCFListener.IReefAngelCallback.HandleParams(ReefAngelParams paras)
at ReefAngelWCFListener.ReefAngelListener.<>c__DisplayClass10.<SendParams>b__f(Object )
*****11/29/2012 6:50:32 PM*****
Message:
Inside WifiSend:
The underlying connection was closed: An unexpected error occurred on a receive.
StackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at ReefAngelWCFListener.ReefAngelListener.WifiSend()
*****11/29/2012 6:53:40 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 6:54:32 PM*****
Message:
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at ReefAngelWCFListener.IReefAngelCallback.HandleParams(ReefAngelParams paras)
at ReefAngelWCFListener.ReefAngelListener.<>c__DisplayClass10.<SendParams>b__f(Object )
*****11/29/2012 7:01:36 PM*****
Message:
Inside WifiSend:
The underlying connection was closed: The connection was closed unexpectedly.
StackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at ReefAngelWCFListener.ReefAngelListener.WifiSend()
*****11/29/2012 7:01:36 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 7:02:44 PM*****
Message:
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted.
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at ReefAngelWCFListener.IReefAngelCallback.HandleParams(ReefAngelParams paras)
at ReefAngelWCFListener.ReefAngelListener.<>c__DisplayClass10.<SendParams>b__f(Object )
*****11/29/2012 7:03:34 PM*****
Message:
Inside WifiSend:
The underlying connection was closed: The connection was closed unexpectedly.
StackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at ReefAngelWCFListener.ReefAngelListener.WifiSend()
*****11/29/2012 7:03:35 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 7:08:50 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 7:10:30 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
*****11/29/2012 7:31:41 PM*****
Message:
Value cannot be null.
Parameter name: String
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at ReefAngelClient.Form1.DisplayMemoryValues()
Dev 0.9.0dmolton wrote:Seedlessone wrote:Having same issue. Tried fix above but still no dice.
Okay need a little bit more info to troubleshoot
- What version of libraries are you running?
- When you uploaded the new MemoryLocations ini file did you exit and restart the application after?
- What is the response you see in a web browser when you visit the following address? http://YourRAURL:2000/mr
Hi Guys,dmolton wrote:Thanks, Sebyte.
I think I see the issue. The Listener service validates that the internal memory locations from the controller match up with a defined set that the Client expects to see. This makes sure that we're displaying the correct values in the correct places on the Memory tab and also updating values in the right spot on your controller.
It looks like a new memory location (329=Mem_I_SalTempComp) was added since I last updated the Memory Map File and you happen to be running the libraries with the new location causing the validation to fail on the Client. This should be an easy fix.
Download the RAMemory.ini file attached to this post and save to your PC. From the Client, choose Settings => Load Memory File and browse to the file you just downloaded. You should get a success message. Restart the Client and try refreshing the memory tab once more.
-Dave

Code: Select all
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit;