Frequently Occurring Issues - flashflashrevolution/rCubed GitHub Wiki

Frequently Occurring Issues

Unable to Compile fonts/asconfig.embed-fonts.json

The Problem

Internal error: java.lang.NullPointerException
        at com.adobe.flash.swf.SWF.addFrame(SWF.java:91)
        at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTarget.java:876)
        at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
        at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
        at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
        at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
        at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:553)
        at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:242)
        at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:196)
        at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
        at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)

The Cause

You didn't run git lfs install before pulling the repository.

The Solution

Install Git LFS


Unable to load .swc files when starting the game

The Problem

Error: File error processing catalog.xml in c:\Users\...\libs\blooddy_crypto.swc(error in opening zip file).   
Error: File error processing catalog.xml in c:\Users\...\libs\assets\assets.swc(error in opening zip file).    
Error: File error processing catalog.xml in c:\Users\...\libs\assets\branding.swc(error in opening zip file).  
Error: File error processing catalog.xml in c:\Users\...\libs\assets\components.swc(error in opening zip file).

The Cause

You didn't run git lfs install before pulling the repository.

The Solution

Install Git LFS


Solutions

Install Git LFS

Run the following:

git lfs install
git lfs pull

If you are working in wsl, you will need to install git-lfs separately from git.

sudo apt-get install git-lfs