• EditorBugs
  • [npe] Cannot invoke "String.equals(Object)" because "s.Cbh.F()._" is null

Hello,
I am working on a psd file within Clip Studio Paint, but I am getting an error for importing a psd file. Here is the log that it is giving me but I am not sure what the root of the issue could be:

Spine Launcher 4.2.18
Esoteric Software LLC (C) 2013-2024 | http://esotericsoftware.com
Windows 10 Pro amd64 10.0
NVIDIA Corporation, NVIDIA GeForce GTX 1070/PCIe/SSE2, 4.6.0 NVIDIA 537.13
Starting: Spine 4.2.33 Professional
Spine 4.2.33 Professional
Licensed to: <removed> Started.
OpenAL 1.1, Default audio device
ERROR: Error processing PSD: D:/Game Projects/Defense/Fighter Class.psd
[npe] Cannot invoke "String.equals(Object)" because "s.Cbh.F()." is null
at s.PJP.
(:194)
at s.PJP.<init>(
:47)
at s.NBj.F(:55)
at s.vIh.
(_:302)
at java.lang.Thread.run(Unknown Source)

The old PhotoshopToSpine script is not working for the file either in a way, it is importing all the layers as slots properly but the images will have no visual data aside from the first four layer groups.


  • Misaki ответили на это сообщение.
    Related Discussions
    ...

    The error you're encountering, Cannot invoke "String.equals(Object)" because "s.Cbh.F()._" is null, suggests that there is an issue with the PSD file that Spine is unable to process correctly. This could be due to several reasons, such as unexpected layer structures or properties within the PSD file.

    Here are a few steps you can take to troubleshoot and potentially resolve the issue:

    1. Check Layer Properties: Ensure that all layers in your PSD file are in RGB color mode and not in CMYK. Also, avoid using special characters in layer names and ensure that no layers are locked.

    2. Simplify the PSD: Try simplifying the PSD file by removing unnecessary layers or groups and see if the issue persists. Sometimes, complex layer structures can cause problems.

    3. Use 8-bit Color Depth: Make sure your PSD file is set to 8-bit color depth instead of 16-bit. This can be done in Clip Studio Paint or Photoshop.

    4. Test with a Different PSD: Create a new, simple PSD file with just a few layers and see if it imports correctly into Spine. This can help determine if the issue is specific to the original PSD file.

    5. Send the PSD for Review: If the issue persists, you can send the problematic PSD file to Esoteric Software for further analysis. You can email it to [contact@esotericsoftware.com](mailto:contact@esotericsoftware.com) along with a description of the issue.

    Additionally, you can refer to the following resources for more information on common issues and solutions when importing PSD files into Spine:

    By following these steps, you should be able to identify and resolve the issue with your PSD file.

    Thrax Sorry to hear that you are experiencing problems. We would appreciate it if you could email us a PSD file so that we can reproduce the problem, as suggested by Spinebot: contact@esotericsoftware.com
    Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.

    Thrax Thank you for sending the PSD file! I opened the PSD file you sent me in Photoshop and noticed a very strange configuration in the layer group named [merge] Eye 1:

    If you look at the bottom layer, Blush, this layer is a clipping mask, but there are no layers below it. This would be an unusual situation, and perhaps a bug in Clip Studio Paint has caused this to happen. The rest of the layers were fine when I tried to import them into Spine, so could you please modify the layers for the Eye 1 (e.g., merge them into one layer) and see if that solves the problem?

    Thank you! Modifying that layer did fix everything