NullPointerException while Accessing Taxonomies - PP unrecoverable

Hello Team,

I face an issue with PP while accessing the taxonomies, As soon as I hit taxonomies on left pane, the whole PP crashes with tons of error message on the screen. I had to click 10+ okay on the error popup and the error popup keep on going. unable to close the error pop up window and unable to use PP.

I have force kill the application. As long as I’m not accessing the taxonomies on the left pane menu PP is doing fine.

Please find the details.

Version: 0.77.3 (June 2025)
Platform: linux, x86_64
Java: 21.0.8+9-Ubuntu-0ubuntu124.04.1, Ubuntu

Error windows



Thank you in advance.

Could you try, if it is the same behavior if you use a demo file?

Two things:

Is there the full stack trace of the “StackOverflowError” in the log? I would need that.

It sounds to me something went “wrong” with your file. It would help me troubleshoot if you can share it via email with *portfolio dot performance dot help at gmail dot com". Of course, it is kept confidential.

Thank you for your quick response.

Could you help me on how get stack trace? I can share you the crashdump.

I remember how it went wrong in exact sequence.

The default “Asset classes” taxonomies was used, Securities were assigned properly as per the asset class. This setup worked out for long time.

I wanted to tweak the asset allocation, So I have set the allocation field and navigating between view options and expanding the pane size. In the end, I caught this error every time.

My attempt to catch the stack details.
jhsdb-jstack-on-crash.txt (16.3 KB)

Hope this helps.

Hello @AndreasB

As you mentioned I inspected my xml file, I find below entries are suspicious under taxonomies section.

After certain entries, All the entries with rank were “2147483647”

I’m not sure why these entries were corrupted. Should I try to attempt to fix these entries manually?

                  <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[27]"/>
                <weight>10000</weight>
                <rank>140</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[83]"/>
                <weight>10000</weight>
                <rank>141</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[128]"/>
                <weight>6500</weight>
                <rank>2147483647</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[136]"/>
                <weight>10000</weight>
                <rank>2147483647</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[140]"/>
                <weight>10000</weight>
                <rank>2147483647</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[137]"/>
                <weight>10000</weight>
                <rank>2147483647</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[138]"/>
                <weight>10000</weight>
                <rank>2147483647</rank>
              </assignment>
              <assignment>
                <investmentVehicle class="security" reference="../../../../../../../../securities/security[139]"/>
                <weight>10000</weight>
                <rank>2147483647</rank>
              </assignment>

It is not observed with demo file, Seem to be an issue with my xml. Somehow the entries were corrupted as I posted above.

I am not totally sure how this is created, but I am not sure if that is the problem. I edited a test file with those ranks and it did not create a problem.

If you remove those assignments - of course, do it on a backup copy - is the problem still showing up?

The full stack trace would be super helpful. Maybe you can share the full log as attachment to the email (Help menu → Save log…).

Hello @AndreasB,

While launching the application in different environment, issue was not seen.
I have found this hidden config path in my home dir ~/.PortfolioPerformance, removed the directory and launched the PP. tada, Issue is gone now :smile:

I have a backup copy of these configs. Let me know if this needs to be further debugged.