<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									NSRangeException on most commands - Using SoftRAID from the command line				            </title>
            <link>https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/</link>
            <description>SoftRAID Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 28 Apr 2026 01:50:08 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>NSRangeException on most commands</title>
                        <link>https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-2846</link>
                        <pubDate>Wed, 05 Sep 2018 23:24:16 +0000</pubDate>
                        <description><![CDATA[No, I have not seen this before. Are there any SoftRAIDtool crash logs in the console.app? 
Send us one (support at softraid) and also a tech support file from the GUI if you can create one...]]></description>
                        <content:encoded><![CDATA[<blockquote>
No, I have not seen this before. Are there any SoftRAIDtool crash logs in the console.app? 
Send us one (support at softraid) and also a tech support file from the GUI if you can create one.

Is the SoftRAID Monitor working consistantly? (The light always there?) Can you launch SoftRAID from it? Are there also any Monitor crash logs?

Do all commands in the GUI seem to work that do not work in the command line?

(They should have the same behavior)
</blockquote>

Thanks.  I have emailed support with details.  

For the benefit of others who may read this...

The GUI works fine and my SoftRaid created volumes are working fine.

Will follow up here with a resolution (if I don't forget to ;-) )

Cheers

sco]]></content:encoded>
						                            <category domain="https://forums.softraid.com/using-softraid-from-the-command-line/">Using SoftRAID from the command line</category>                        <dc:creator>sco</dc:creator>
                        <guid isPermaLink="true">https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-2846</guid>
                    </item>
				                    <item>
                        <title>NSRangeException on most commands</title>
                        <link>https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-2844</link>
                        <pubDate>Wed, 05 Sep 2018 16:02:22 +0000</pubDate>
                        <description><![CDATA[No, I have not seen this before. Are there any SoftRAIDtool crash logs in the console.app? 
Send us one (support at softraid) and also a tech support file from the GUI if you can create one...]]></description>
                        <content:encoded><![CDATA[No, I have not seen this before. Are there any SoftRAIDtool crash logs in the console.app? 
Send us one (support at softraid) and also a tech support file from the GUI if you can create one.

Is the SoftRAID Monitor working consistantly? (The light always there?) Can you launch SoftRAID from it? Are there also any Monitor crash logs?

Do all commands in the GUI seem to work that do not work in the command line?

(They should have the same behavior)]]></content:encoded>
						                            <category domain="https://forums.softraid.com/using-softraid-from-the-command-line/">Using SoftRAID from the command line</category>                        <dc:creator>SoftRAID Support</dc:creator>
                        <guid isPermaLink="true">https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-2844</guid>
                    </item>
				                    <item>
                        <title>NSRangeException on most commands</title>
                        <link>https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-525</link>
                        <pubDate>Wed, 05 Sep 2018 02:57:29 +0000</pubDate>
                        <description><![CDATA[Hi,

I&#039;m trying to use softraidtool and can&#039;t seem to use it for any commands that relate to a disk or volume.  &quot;help&quot;, &quot;showlog 10&quot; work fine.  

Here&#039;s an example:
$ sudo softraidtool...]]></description>
                        <content:encoded><![CDATA[Hi,

I'm trying to use softraidtool and can't seem to use it for any commands that relate to a disk or volume.  "help", "showlog 10" work fine.  

Here's an example:
$ sudo softraidtool disk all info
2018-09-05 12:44:01.572 softraidtool *** Terminating app due to uncaught exception 'NSRangeException', reason: '-: Range {0, 22} out of bounds; string length 7'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2897f32b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff4faedc76 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff28a10dcd + + 205
	3   CoreFoundation                      0x00007fff28889904 - + 740
	4   CoreFoundation                      0x00007fff28893ffd CFStringCompareWithOptionsAndLocale + 4717
	5   softraidtool                        0x000000010004114a GetEnclosureType + 312
	6   softraidtool                        0x000000010001e195 start + 118693
	7   softraidtool                        0x000000010001dc33 start + 117315
	8   softraidtool                        0x000000010002aa2a start + 170042
	9   softraidtool                        0x00000001000033f0 start + 8704
	10  softraidtool                        0x0000000100002e49 start + 7257
	11  softraidtool                        0x00000001000012cf start + 223
	12  softraidtool                        0x0000000100001224 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

I can't even generate a support report:
$ sudo softraidtool generatereport ~/Desktop/test
2018-09-05 12:54:35.272 softraidtool *** Terminating app due to uncaught exception 'NSRangeException', reason: '-: Range {0, 22} out of bounds; string length 7'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2897f32b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff4faedc76 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff28a10dcd + + 205
	3   CoreFoundation                      0x00007fff28889904 - + 740
	4   CoreFoundation                      0x00007fff28893ffd CFStringCompareWithOptionsAndLocale + 4717
	5   softraidtool                        0x000000010004114a GetEnclosureType + 312
	6   softraidtool                        0x000000010001e195 start + 118693
	7   softraidtool                        0x000000010001dc33 start + 117315
	8   softraidtool                        0x000000010002aa2a start + 170042
	9   softraidtool                        0x00000001000033f0 start + 8704
	10  softraidtool                        0x0000000100002e49 start + 7257
	11  softraidtool                        0x00000001000012cf start + 223
	12  softraidtool                        0x0000000100001224 start + 52
	13  ???                                 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

I've tried uninstalling, rebooting, reinstalling SoftRaid 5.6.7 to no avail.  I'm currently using a demo version.  Previously was using the XT version but I'm looking into using SoftRaid with disks other than those in a ThunderBay (and will upgrade if all good).  I'm looking into some automatic scheduled backup via attaching and detaching mirrors, hence the need for the command line interface to work.  

I'm on High Sierra 10.13.5.

Any ideas on how to fix this?

Thanks

sco]]></content:encoded>
						                            <category domain="https://forums.softraid.com/using-softraid-from-the-command-line/">Using SoftRAID from the command line</category>                        <dc:creator>sco</dc:creator>
                        <guid isPermaLink="true">https://forums.softraid.com/using-softraid-from-the-command-line/nsrangeexception-on-most-commands/#post-525</guid>
                    </item>
							        </channel>
        </rss>
		
<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced (Requested URI contains query) 

Served from: forums.softraid.com @ 2026-04-27 20:50:09 by W3 Total Cache
-->