Hi,
I’m still trying to get my own modules to run and also fix FaceRadar and SmutDetect.
I’m probably barking up the wrong tree but the FaceRadarFileIngestModule and the Same For SmutDetectFileIngestModule uses depreciated methods. It compiles, but when I compile with -deprecation flag set it gives me warnings!
I was wondering if it’s not posting the backboard artefact properly and if I need someone to help me come up with a way to add it to analysis results, for both Modules.
I need help from a more experienced developer, as to if this is the problem or if I’m barking up the wrong tree. After which I should be able to fix my own modules, which have now stalled at the same point.
ant -f C:\\Users\\cam30\\OneDrive\\Documents\\NetBeansProjects\\FaceRadar-master -Dcontinue.after.failing.tests=true -Ddo.not.clean.module.config.xml=true clean build
taskdefs:
common-init:
projectized-common.basic-init:
basic-init:
files-init:
testuserdir-delete:
clean:
taskdefs:
common-init:
projectized-common.basic-init:
basic-init:
files-init:
nbm-license-init:
Created dir: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build
build-init:
Created dir: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\public-package-jars
Scanning for modules in C:\Program Files\Autopsy-4.21.0\autopsy
Scanning for modules in C:\Program Files\Autopsy-4.21.0\harness
Scanning for modules in C:\Program Files\Autopsy-4.21.0\java
Scanning for modules in C:\Program Files\Autopsy-4.21.0\platform
warning: had to upgrade dependencies for module com.sazquatch.faceradar: added = [module org.openide.util.ui > 9.3] removed = []; details: [#243100: Separate desktop-independent utilities]
Distilling C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\public-package-jars\org-openide-util-lookup.jar from [C:\Program Files\Autopsy-4.21.0\platform\lib\org-openide-util-lookup.jar]
Distilling C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\public-package-jars\org-sleuthkit-autopsy-core.jar from [C:\Program Files\Autopsy-4.21.0\autopsy\modules\org-sleuthkit-autopsy-core.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\activemq-all-5.16.4.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\audience-annotations-0.12.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-awt-util-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-constants-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-css-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-dom-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-ext-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-i18n-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-parser-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-shared-resources-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-svg-dom-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-svggen-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-util-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\batik-xml-1.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\bcpkix-jdk15on-1.70.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\bcprov-ext-jdk15on-1.70.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\bcprov-jdk15on-1.70.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\bcutil-jdk15on-1.70.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\c3p0-0.9.5.5.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\checker-qual-3.33.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-codec-1.11.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-dbcp2-2.9.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-io-2.11.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-lang3-3.10.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-logging-1.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\commons-pool2-2.10.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\curator-client-5.2.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\curator-framework-5.2.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\curator-recipes-5.2.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\DatCon.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\decodetect-core-0.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\error_prone_annotations-2.18.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\failureaccess-1.0.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\guava-32.0.1-jre.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\httpclient-4.5.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\httpclient-win-4.5.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\httpcore-4.4.16.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\httpmime-4.5.14.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\icepdf-core-6.2.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\icepdf-viewer-6.2.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\istack-commons-runtime-3.0.11.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\j2objc-annotations-2.8.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jackcess-4.0.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jackcess-encrypt-4.0.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jai_core-1.1.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jai_imageio-1.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jakarta.activation-1.2.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jakarta.xml.bind-api-2.3.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\java-diff-utils-4.11.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\javax.activation-api-1.2.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\javax.ws.rs-api-2.1.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jaxb-api-2.3.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jaxb-runtime-2.3.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jdom-2.0.5-contrib.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jdom-2.0.5.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jfreechart-1.5.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jgraphx-4.2.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jsoup-1.16.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jsr305-3.0.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jutf7-1.0.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jxmapviewer2-2.6.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\jython-standalone-2.7.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\libphonenumber-8.12.45.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\license4j-runtime-library-4.7.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\listenablefuture-1.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\logback-classic-1.2.10.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\logback-core-1.2.10.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\mchange-commons-java-0.2.20.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\metadata-extractor-2.18.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-buffer-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-codec-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-common-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-handler-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-resolver-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-tcnative-2.0.48.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-tcnative-classes-2.0.48.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-transport-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-transport-classes-epoll-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-transport-native-epoll-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\netty-transport-native-unix-common-4.1.73.Final.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\okhttp-2.7.5.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\okio-1.6.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\postgresql-42.3.5.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\Rejistry-1.1-SNAPSHOT.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\serializer-2.7.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\sevenzipjbinding-AllPlatforms.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\sevenzipjbinding.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\sleuthkit-4.12.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\sleuthkit-caseuco-4.12.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\slf4j-api-1.7.36.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\snakeyaml-2.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\SparseBitSet-1.1.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\spotbugs-annotations-4.6.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\sqlite-jdbc-3.42.0.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\txw2-2.3.3.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\xalan-2.7.2.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\xml-apis-1.4.01.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\xml-apis-ext-1.3.04.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\xmlgraphics-commons-2.6.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\xmpcore-6.1.11.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\YaraJNIWrapper.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\zookeeper-3.8.0.jar, C:\Program Files\Autopsy-4.21.0\autopsy\modules\ext\zookeeper-jute-3.8.0.jar]
Distilling C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\public-package-jars\org-openide-util.jar from [C:\Program Files\Autopsy-4.21.0\platform\lib\org-openide-util.jar]
Distilling C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\public-package-jars\org-openide-util-ui.jar from [C:\Program Files\Autopsy-4.21.0\platform\lib\org-openide-util-ui.jar]
init:
up-to-date:
Created dir: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\classes
Compiling 7 source files to C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\classes
Ignoring source, target and bootclasspath as release has been set
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:108: warning: [deprecation] TSK_INTERESTING_FILE_HIT in ARTIFACT_TYPE has been deprecated
BlackboardArtifact artifact = file.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT);
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:108: warning: [deprecation] newArtifact(ARTIFACT_TYPE) in AbstractContent has been deprecated
BlackboardArtifact artifact = file.newArtifact(BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT);
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:109: warning: [deprecation] BlackboardAttribute(int,String,String) in BlackboardAttribute has been deprecated
BlackboardAttribute attribute = new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_SET_NAME.getTypeID(), FaceRadarIngestModuleFactory.getModuleName(), "FaceRadar Detected Faces");
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:117: warning: [deprecation] TSK_INTERESTING_FILE_HIT in ARTIFACT_TYPE has been deprecated
ModuleDataEvent event = new ModuleDataEvent(FaceRadarIngestModuleFactory.getModuleName(), BlackboardArtifact.ARTIFACT_TYPE.TSK_INTERESTING_FILE_HIT);
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:118: warning: [deprecation] fireModuleDataEvent(ModuleDataEvent) in IngestServices has been deprecated
IngestServices.getInstance().fireModuleDataEvent(event);
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:230: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0xFF) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0xD8)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:230: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0xFF) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0xD8)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:231: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0xFF))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:233: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x42) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4d))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:233: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x42) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4d))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:235: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x49) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x20)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:235: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x49) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x20)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:236: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x49))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:238: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x89) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x50)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:238: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x89) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x50)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:239: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x4E) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x47))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:239: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x4E) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x47))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:241: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x47) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x49)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:241: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x47) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x49)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:242: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x46) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x38))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:242: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x46) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x38))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:244: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x49) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x49)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:244: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x49) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x49)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:245: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x2A) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x00))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:245: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x2A) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x00))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:247: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x4D) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4D)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:247: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x4D) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4D)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:248: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x2A))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:248: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x2A))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:250: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x4D) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4D)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:250: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x4D) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x4D)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:251: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x2B))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:251: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x2B))
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:253: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x00)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:253: warning: [cast] redundant cast to int
(((int) (fileHeaderBuffer[0] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[1] & 0xFF) == 0x00)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:254: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x00)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:254: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[2] & 0xFF) == 0x00) && ((int) (fileHeaderBuffer[3] & 0xFF) == 0x00)
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:255: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[4] & 0xFF) == 0x6A) && ((int) (fileHeaderBuffer[5] & 0xFF) == 0x50))) {
C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\src\com\sazquatch\faceradar\autopsy\FaceRadarFileIngestModule.java:255: warning: [cast] redundant cast to int
&& ((int) (fileHeaderBuffer[4] & 0xFF) == 0x6A) && ((int) (fileHeaderBuffer[5] & 0xFF) == 0x50))) {
39 warnings
Copying 6 files to C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\classes
compile:
jar-prep:
Created dir: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\cluster\modules
Building jar: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\cluster\modules\com-sazquatch-faceradar.jar
jar:
netbeans-extra:
javahelp:
module-auto-deps:
Copying 1 file to C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\cluster
release:
module-xml-regular:
Created dir: C:\Users\cam30\OneDrive\Documents\NetBeansProjects\FaceRadar-master\build\cluster\config\Modules
module-xml-autoload:
module-xml-eager:
chmod-executables:
verify-class-linkage:
0 file(s) have been successfully validated.
netbeans:
Generating Auto Update information for com.sazquatch.faceradar
test-unit-dep-build:
test-qa-functional-dep-build:
test-dep-build:
test-preinit:
test-lib-init:
test-init:
do-unit-test-build:
do-qa-functional-test-build:
do-test-build:
test-build:
build:
BUILD SUCCESSFUL (total time: 13 seconds)
I’m also looking to see if I can replace the header check with isImageThumbnailSupported like in the object detect experimental module, or the other option using the custom file type identifcaction and adding the headers that i need for images.