factionsecurity / faction

Pen Test Report Generation and Assessment Collaboration
https://www.factionsecurity.com/
GNU General Public License v2.0
411 stars 27 forks source link

Unable to deploy container due to java.lang.IllegalArgumentException: null #66

Open LucanMartin opened 1 month ago

LucanMartin commented 1 month ago

I successfully build the image from github but during deployment image to container it;s failing on errors bellow:

[ERROR] 2024-08-06 13:06:45.585 [main] DefaultClassFinder - Unable to read class [com.fuse.actions.appstore.InstallExtensionController] java.lang.IllegalArgumentException: null at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1] at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1] at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm-5.1.jar:5.1] at org.apache.struts2.convention.DefaultClassFinder.readClassDef(DefaultClassFinder.java:458) ~[struts2-convention-plugin-2.5.12.jar:2.5.12] at org.apache.struts2.convention.DefaultClassFinder.access$200(DefaultClassFinder.java:49) ~[struts2-convention-plugin-2.5.12.jar:2.5.12] at org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor.extractSuperInterfaces(DefaultClassFinder.java:511) ~[struts2-convention-plugin-2.5.12.jar:2.5.12] at org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor.visit(DefaultClassFinder.java:498) ~[struts2-convention-plugin-2.5.12.jar:2.5.12]

LucanMartin commented 1 month ago

Is there any possibility to download from somewhere whole docker image in TAR format?

summitt commented 1 month ago

That error is known but should not stop the application from running correctly. You can safely ignore it for now but we are working on fixing it when we get though some of our other backlog of issues.

Is this error or another error preventing the app from running?

LucanMartin commented 1 month ago

Yes, there are multiple errors on container. I added file with the logs. Apache TOmcat is successfully running but without application Faction application running on it. docker-log-faction.txt

summitt commented 1 month ago

Took me a bit to get to this as I was presenting Faction at DEF CON last week. Thanks for sending the logs. From the logs it appears you have not started the mongo database. Did you run the docker-compose up command and if so can you confirm mongodb has started.