tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/4140-javalangnullpointerexception-error-with-quoteloaderInfinite Kind: Discussion 2021-03-09T15:27:40Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542020-12-24T04:30:42Z2021-01-22T08:48:27Zjava.lang.NullPointerException error with Quoteloader<div><p>just a user</p>
<p>I use quoteloader with 3032, but you may have a point about installation.</p>
<p>I'm sure someone will get to you very soon.</p></div>dtdtag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542020-12-24T08:56:13Z2021-01-22T08:48:27Zjava.lang.NullPointerException error with Quoteloader<div><p>I am not support staff, just a user.<br>
Hi Shane</p>
<p>What is your operating system?</p>
<p>As you talk about a new computer is 2021(3032) the first installation of Moneydance on this computer. If not what did you upgrade from?</p>
<p>Again, is this your first install of Quote Loader on this computer? Are you installing via EXTENSIONS – MANAGE EXTENSIONS. If you are updating Quote Loader what build were you running?</p>
<p>Close Moneydance. Open Moneydance and try to install Quote Loader from EXTENSIONS – MANAGE EXTENSIONS and if it fails close Moneydance and post your Moneydance errlog.txt file.</p>
<p>If you're using Mac OS, it should be located at one of these locations within your Home folder:<br>
~/Library/Containers/com.infinitekind.MoneydanceOSX/Data/Library/Application Support/Moneydance/errlog.txt or:<br>
~/Library/Application Support/Moneydance/errlog.txt If you have any trouble finding your Home Library folder you can open Finder and hold down the option key while selecting the Go menu and the Library folder option should occur or you can open Finder and select Go -> Go to Folder and copy and paste in the following:<br>
~/Library This should pull up your local Library folder.<br>
If you're using Windows, it should be located under your login directory at:<br>
C:\Users(yourusername).moneydance\errlog.txt<br>
or<br>
C:\Documents and Settings(yourusername).moneydance\errlog.txt<br>
Depending on your version of Windows<br>
If you're using Linux it should be located in your home folder at:<br>
~/.moneydance/errlog.txt</p>
<p>Hope this helps.</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-22T04:13:15Z2021-01-22T08:48:26Zjava.lang.NullPointerException error with Quoteloader<p>Thanks for your help.<br>
Followed the instructions and have checked the containers folder and the applications support folder in the home library. Neither contain the errorlog.txt file mentioned<br>
<br>
This is the error message I get after installing Quote Loader then then selecting it under Extensions <br>
<br>
java.lang.NullPointerException: Cannot invoke "com.moneydance.modules.features.mrbutil.MRBPreferences2.getMapData()" because "temp" is null<br>
<br>
Computer and OS details are<br>
2020 MacbookPro 13 inch M1 chip<br>
OS 11.0.1 (Big Sur)<br>
This is the first time I’ve installed Moneydance on this computer. The Moneydance version is 2021 (3032).<br>
<br>
Any more help you can provide would be much appreciated.<br>
<br>
Shane<br>
<br>
<br>
<br>
<br></p>
<p class="airmail_on">On 24 December 2020 at 19:56:34, derekkent23 (<a href="mailto:tender+d9ef94b345@tenderapp.com">tender+d9ef94b345@tenderapp.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div>
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<p><b>From</b>: derekkent23</p>
<div>
<p>I am not support staff, just a user.<br>
Hi Shane</p>
<p>What is your operating system?</p>
<p>As you talk about a new computer is 2021(3032) the first installation of Moneydance on this computer. If not what did you upgrade from?</p>
<p>Again, is this your first install of Quote Loader on this computer? Are you installing via EXTENSIONS – MANAGE EXTENSIONS. If you are updating Quote Loader what build were you running?</p>
<p>Close Moneydance. Open Moneydance and try to install Quote Loader from EXTENSIONS – MANAGE EXTENSIONS and if it fails close Moneydance and post your Moneydance errlog.txt file.</p>
<p>If you're using Mac OS, it should be located at one of these locations within your Home folder:<br>
~/Library/Containers/com.infinitekind.MoneydanceOSX/Data/Library/Application Support/Moneydance/errlog.txt or:<br>
~/Library/Application Support/Moneydance/errlog.txt If you have any trouble finding your Home Library folder you can open Finder and hold down the option key while selecting the Go menu and the Library folder option should occur or you can open Finder and select Go -> Go to Folder and copy and paste in the following:<br>
~/Library This should pull up your local Library folder.<br>
If you're using Windows, it should be located under your login directory at:<br>
C:\Users(yourusername).moneydance\errlog.txt<br>
or<br>
C:\Documents and Settings(yourusername).moneydance\errlog.txt<br>
Depending on your version of Windows<br>
If you're using Linux it should be located in your home folder at:<br>
~/.moneydance/errlog.txt</p>
<p>Hope this helps.</p>
</div>
<div>
<p>On Wed, Dec 23 at 08:30 PM PST, dtd wrote:</p>
<blockquote>
<div>
<p>just a user</p>
<p>I use quoteloader with 3032, but you may have a point about installation.</p>
<p>I'm sure someone will get to you very soon.</p>
</div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online: <a href="https://infinitekind.tenderapp.com/discussions/moneydance-development/4140-javalangnullpointerexception-error-with-quoteloader">java.lang.NullPointerException error with Quoteloader</a>.</p>
<p>Reply with #ignore to stop receiving notifications for this discussion.</p>
</td>
</tr>
</table>
</div>
</div>
</blockquote>Shane Greenantag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-22T09:23:28Z2021-01-22T09:23:28Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Shane, where is your data file located? The error message you are getting tells me that QL is having problems creating its preferences file. There should be a file called MRBPreferences.dict2 in the same directory as your data. Another thing to look at, did you copy your data from an older computer that was using an older version of QL?<br>
Regards<br>
Mike</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-23T06:14:22Z2021-01-23T06:14:23Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Mike<br>
Thanks for your response.</p>
<p>I’m using data from an older computer that was using an older version of QuoteLoader. I followed the instructions to switch the data to the new computer<br>
(1. Open up Moneydance on your current computer, and open the data file you wish to move. Go to File -> Syncing from the menubar, and disable syncing. Quit Moneydance. 2. Next, find your data file on your old computer, copy it over to your new computer, and place it where you want to store it.)</p>
<p>The data is located in a folder in my iCloud Drive. I did move the data location when I moved to the new computer<br>
There is not a MRBPreferences.dict2 file in the same location as the data. </p>
<p>Does this help identify a solution?</p>
<p>Thanks</p>
<p>Shane</p>
<p>On 22 January 2021 at 20:23:51, Mike Bray (<a href="mailto:tender+d9ef94b345@tenderapp.com">tender+d9ef94b345@tenderapp.com</a>) wrote:</p>
<h1><a name="-please-reply-above-this-line-" class="anchor" href="#-please-reply-above-this-line-"></a>// Please reply above this line</h1>
<p>From: Mike Bray</p>
<p>Hi Shane, where is your data file located? The error message you are getting tells me that QL is having problems creating its preferences file. There should be a file called MRBPreferences.dict2 in the same directory as your data. Another thing to look at, did you copy your data from an older computer that was using an older version of QL?<br>
Regards<br>
Mike</p>
<p>On Thu, Jan 21 at 08:13 PM PST, Shane Greenan wrote:</p>
<p>Thanks for your help.<br>
Followed the instructions and have checked the containers folder and the applications support folder in the home library. Neither contain the errorlog.txt file mentioned</p>
<p>This is the error message I get after installing Quote Loader then then selecting it under Extensions </p>
<p>java.lang.NullPointerException: Cannot invoke "com.moneydance.modules.features.mrbutil.MRBPreferences2.getMapData()" because "temp" is null</p>
<p>Computer and OS details are<br>
2020 MacbookPro 13 inch M1 chip<br>
OS 11.0.1 (Big Sur)<br>
This is the first time I’ve installed Moneydance on this computer. The Moneydance version is 2021 (3032).</p>
<p>Any more help you can provide would be much appreciated.</p>
<p>Shane</p></div>shanetag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-23T09:17:46Z2021-01-23T09:17:46Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Shane, the issue might be the iCloud drive, my extension can not create a file on it. Can I ask that you copy the data to your hard drive and try it again. If this is successful, try copying the data file back to your hard drive and trying QL again. The error tells me it can't create file MRBPreferences.dict2. iCloud could be stopping this but it might allow me to open it once it has been created.</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-23T10:24:37Z2021-01-23T10:24:38Zjava.lang.NullPointerException error with Quoteloader<div>Hi Mike </div>
<div><br></div>
<div>Thanks</div>
<div>No luck I’m afraid</div>
<div>Have moved the data file to my hard drive.</div>
<div>Have installed and uninstalled Quote Loader a few times</div>
<div>Still get the error message</div>
<div>"java.lang.NullPointerException: Cannot invoke "com.moneydance.modules.features.mrbutil.MRBPreferences2.getMapData()" because "temp" is null”</div>
<div><br></div>
<div>Thanks for your persistence on this one.</div>
<div><br></div>
<div>Shane<br>
<div class="gmail_signature"></div>
<br>
<p class="airmail_on">On 23 January 2021 at 20:18:02, Mike Bray (<a href="mailto:tender+d9ef94b345@tenderapp.com">tender+d9ef94b345@tenderapp.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div>
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<p><b>From</b>: Mike Bray</p>
<div>
<p>Hi Shane, the issue might be the iCloud drive, my extension can not create a file on it. Can I ask that you copy the data to your hard drive and try it again. If this is successful, try copying the data file back to your hard drive and trying QL again. The error tells me it can't create file MRBPreferences.dict2. iCloud could be stopping this but it might allow me to open it once it has been created.</p>
</div>
<div>
<p>On Fri, Jan 22 at 10:14 PM PST, shane wrote:</p>
<blockquote>
<div>
<p>Hi Mike<br>
Thanks for your response.</p>
<p>I’m using data from an older computer that was using an older version of QuoteLoader. I followed the instructions to switch the data to the new computer<br>
(1. Open up Moneydance on your current computer, and open the data file you wish to move. Go to File -> Syncing from the menubar, and disable syncing. Quit Moneydance. <br>
2. Next, find your data file on your old computer, copy it over to your new computer, and place it where you want to store it.)</p>
<p>The data is located in a folder in my iCloud Drive. I did move the data location when I moved to the new computer<br>
There is not a MRBPreferences.dict2 file in the same location as the data. </p>
<p>Does this help identify a solution?</p>
<p>Thanks</p>
<p>Shane</p>
<p>On 22 January 2021 at 20:23:51, Mike Bray (<a href="***@***">[email blocked]</a>) wrote:</p>
<p>// Please reply above this line<br>
==================================================</p>
<p>From: Mike Bray</p>
<p>Hi Shane, where is your data file located? The error message you are getting tells me that QL is having problems creating its preferences file. There should be a file called MRBPreferences.dict2 in the same directory as your data. Another thing to look at, did you copy your data from an older computer that was using an older version of QL?<br>
Regards<br>
Mike</p>
<p>On Thu, Jan 21 at 08:13 PM PST, Shane Greenan wrote:</p>
<p>Thanks for your help.<br>
Followed the instructions and have checked the containers folder and the applications support folder in the home library. Neither contain the errorlog.txt file mentioned</p>
<p>This is the error message I get after installing Quote Loader then then selecting it under Extensions </p>
<p>java.lang.NullPointerException: Cannot invoke "com.moneydance.modules.features.mrbutil.MRBPreferences2.getMapData()" because "temp" is null</p>
<p>Computer and OS details are<br>
2020 MacbookPro 13 inch M1 chip<br>
OS 11.0.1 (Big Sur)<br>
This is the first time I’ve installed Moneydance on this computer. The Moneydance version is 2021 (3032).</p>
<p>Any more help you can provide would be much appreciated.</p>
<p>Shane</p>
</div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online: <a href="https://infinitekind.tenderapp.com/discussions/moneydance-development/4140-javalangnullpointerexception-error-with-quoteloader">java.lang.NullPointerException error with Quoteloader</a>.</p>
<p>Reply with #ignore to stop receiving notifications for this discussion.</p>
</td>
</tr>
</table>
</div>
</div>
</blockquote>
</div>Shane Greenantag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-25T08:47:50Z2021-01-25T08:47:50Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Shane, try downloading this file and place it in the folder for your data. This folder should have the following:</p>
<p>folder safe<br>
folder tmp<br>
file key</p>
<p>Rename the file to MRBPreferences.dict2, and try opening MD and running QL</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-25T08:55:10Z2021-01-25T08:55:10Zjava.lang.NullPointerException error with Quoteloader<div><p>If this does not work please can you post the errlog.txt file. The easiest way to get a copy of the error log is to click on Help/Console Window. This displays the error log. Click on save at the bottom and a file explorer will be opened. Locate the folder where you want the file located, click on Save. A copy of the file is written to the selected folder. You can then attach it to a post.</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-25T10:03:49Z2021-01-25T10:03:49Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Shane,</p>
<p>Please don't keep your moneydance data file in an iCloud Drive folder. The Moneydance data file is actually a folder (called a "bundle") which contains multiple subfolders and many internal files. iCloud Drive will remove those internal files in order to download them "on demand" but to moneydance the files are not actually there which can result in very bad things.</p>
<p>Can you move your data file in the Finder to a folder that is not stored in iCloud, preferably Moneydance's internal folder?</p>
<p>Thanks,<br>
Sean</p>
<p>-- Moneydance Developer</p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-31T07:50:40Z2021-01-31T07:50:40Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Mike </p>
<p>This is the log in the console window of my Moneydance.<br>
Does this help?<br>
Thanks<br>
Shane</p>
<p>Starting Moneydance 2021 (3032) at Sun Jan 31 17:44:17 AEDT 2021<br>
Settings Folder: /Users/sgreenan/Library/Containers/com.infinitekind.MoneydanceOSX/Data/Library/Application Support/Moneydance<br>
OS: Mac OS X 10.16 x86_64<br>
Java: 15.0.1 (AdoptOpenJDK)<br>
Is in sandbox: true; restricted file access: false<br>
initialized extension securityquoteload in 0.065 seconds<br>
Quote Load>INFO:17:44:18-main(Quote Load,Init) Started Build 3027<br>
Quote Load>INFO:17:44:18-main(Quote Load,Init) Locale en_AU<br>
Initializing fonts:<br>
default: [[null, SF Pro Display, SF Display, Helvetica Neue, Helvetica, Lucida Grande, Dialog]] monospaced: [[null, Gill Sans, Menlo, Monaco, Monospaced]] coding: [[Hack, Monospaced]] fonts resolved:<br>
default: null:13.0:style0 mono: null:13.0:style0 coding: Hack:13.0:style0 print: Helvetica:12.0:style0 header: null:15.0:style0 register: null:12.0:style0 reportTitle: null:32.0:style0 calendarTitle: null:12.0:style0 reportHeader: null:11.0:style0 detailTitle: null:15.0:style0 No custom theme file was found<br>
Setting look and feel class to com.apple.laf.AquaLookAndFeel<br>
opening last file: /Users/sgreenan/Moneydance on hard drive/Money Dance 6 July v2.moneydance<br>
loading dataset: /Users/sgreenan/Moneydance on hard drive/Money Dance 6 July v2.moneydance<br>
creatingURLStreamHandler for protocol 'http'<br>
loading with 128 bit encryption key<br>
reading trunk data tiksync/trunk<br>
trunk data loaded (0.894 seconds), checking for incremental updates<br>
loading un-synced txn files...<br>
loading synced txn files...<br>
replacing root: null () with new root: Root Account (caff4808-0713-42d4-b610-a8710fa0c979<br>
Exception dispatching event md:file:opened to extension<br>
java.lang.NullPointerException: Cannot invoke "com.moneydance.modules.features.mrbutil.MRBPreferences2.getMapData()" because "temp" is null<br>
at com.moneydance.modules.features.mrbutil.MRBPreferences2.(MRBPreferences2.java:47) at com.moneydance.modules.features.mrbutil.MRBPreferences2.loadPreferences(MRBPreferences2.java:86) at com.moneydance.modules.features.securityquoteload.Main.handleEventFileOpened(Main.java:206) at com.moneydance.modules.features.securityquoteload.Main.handleEvent(Main.java:193) at com.moneydance.apps.md.controller.Main.sendEventToExtensions(Main.java:1691) at com.moneydance.apps.md.controller.AppEventManager.fireEvent(AppEventManager.java:59) at com.moneydance.apps.md.controller.Main.setCurrentBook(Main.java:1454) at com.moneydance.apps.md.controller.Main.startApplication(Main.java:893) at com.moneydance.apps.md.controller.Main.main(Main.java:233) at Moneydance.main(Moneydance.java:7) calculated portfolio cost basis in 0.049 seconds<br>
calculated portfolio cost basis in 0.274 seconds<br>
calculated portfolio cost basis in 0.104 seconds<br>
calculated portfolio cost basis in 0.088 seconds<br>
calculated portfolio cost basis in 0.106 seconds<br>
calculated portfolio cost basis in 0.098 seconds<br>
calculated portfolio cost basis in 0.095 seconds<br>
calculated portfolio cost basis in 0.104 seconds<br>
calculated portfolio cost basis in 0.103 seconds<br>
calculated portfolio cost basis in 0.09 seconds<br>
calculated portfolio cost basis in 0.182 seconds<br>
calculated portfolio cost basis in 0.012 seconds<br>
calculated portfolio cost basis in 0.011 seconds<br>
calculated portfolio cost basis in 0.26 seconds<br>
calculated portfolio cost basis in 0.085 seconds<br>
calculated portfolio cost basis in 0.089 seconds<br>
calculated portfolio cost basis in 0.087 seconds<br>
calculated portfolio cost basis in 0.179 seconds<br>
calculated portfolio cost basis in 0.013 seconds</p>
<p>Shane Greenan<br>
Mobile<br>
+61 405 442 829 Email <a href="mailto:shane@greenan.org">shane@greenan.org</a></p></div>shanetag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-31T07:51:31Z2021-01-31T07:51:31Zjava.lang.NullPointerException error with Quoteloader<div><p>Thanks Sean<br>
Have moved the file to my hard drive</p>
<p>Cheers</p>
<p>Shane<br>
Shane Greenan<br>
Mobile<br>
+61 405 442 829 Email <a href="mailto:shane@greenan.org">shane@greenan.org</a></p></div>shanetag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-01-31T08:14:45Z2021-01-31T08:14:45Zjava.lang.NullPointerException error with Quoteloader<div><p>Hi Shane, I have uploaded a new version of QL to <a href="https://bitbucket.org/mikerb/moneydance-2019/downloads/">https://bitbucket.org/mikerb/moneydance-2019/downloads/</a>. It is called securityquoteload3028.mxt.</p>
<p>Please download it and rename to securityquoteload.mxt.<br>
Start MD<br>
Remove Quote Loader<br>
Add the new file ('Add from File'). Note this will have an error message about not being signed. Just click on OK<br>
Restart MD<br>
Select Quote Loader from the extensions menu.<br>
If this works then you can remove the new version and go back to the distributed version<br>
If not please post the error log.</p>
<p>Thanks<br>
Mike</p></div>Mike Bray (Quote Loader Author)tag:infinitekind.tenderapp.com,2009-01-14:Comment/489285542021-03-08T06:09:42Z2021-03-08T06:09:43Zjava.lang.NullPointerException error with Quoteloader<p>Mike<br>
Just tried this now and got it working.<br>
I’m back in action with automated price updates. <br>
Much appreciated.<br>
Thanks<br>
Shane<br>
<br></p>
<p class="airmail_on">On 31 January 2021 at 19:15:05, Mike Bray (<a href="mailto:tender+d9ef94b345@tenderapp.com">tender+d9ef94b345@tenderapp.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div>
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<p><b>From</b>: Mike Bray</p>
<div>
<p>Hi Shane, I have uploaded a new version of QL to <a href="https://bitbucket.org/mikerb/moneydance-2019/downloads/">https://bitbucket.org/mikerb/moneydance-2019/downloads/</a>. It is called securityquoteload3028.mxt.</p>
<p>Please download it and rename to securityquoteload.mxt.<br>
Start MD<br>
Remove Quote Loader<br>
Add the new file ('Add from File'). Note this will have an error message about not being signed. Just click on OK<br>
Restart MD<br>
Select Quote Loader from the extensions menu.<br>
If this works then you can remove the new version and go back to the distributed version<br>
If not please post the error log.</p>
<p>Thanks<br>
Mike</p>
</div>
<div>
<p>On Sat, Jan 30 at 11:51 PM PST, shane wrote:</p>
<blockquote>
<div>
<p>Thanks Sean<br>
Have moved the file to my hard drive</p>
<p>Cheers</p>
<p>Shane<br>
Shane Greenan<br>
Mobile<br>
+61 405 442 829<br>
Email <a href="***@***">[email blocked]</a></p>
</div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online: <a href="https://infinitekind.tenderapp.com/discussions/moneydance-development/4140-javalangnullpointerexception-error-with-quoteloader">java.lang.NullPointerException error with Quoteloader</a>.</p>
<p>Reply with #ignore to stop receiving notifications for this discussion.</p>
</td>
</tr>
</table>
</div>
</div>
</blockquote>Shane Greenan