VERIFIED SOLUTION i
X

'Target Main failed:' message in Spectrum Miner

Issue

Data Build in Spectrum Miner is fails with error message 'Target Main failed: in the build log. Following error is recorded in the Build log:
BUILD FAILED
C:\PortraitMinerServer\shared\tmp\qsbuild_XXXXXXXX.xml:47: Target Main failed: java.lang.NullPointerException

Cause

This could be caused due to absence of database connection in Spectrum Miner.

Miner_Database_No_Connection.JPG

Resolution

UPDATED: November 21, 2018


Before running a build, verify that a database connection exists in the 'Databases' tab in Spectrum Miner Explorer window.

Miner_Database_Connection.JPG

In case, database connection does not exists, refer adding database connection in Spectrum Miner to create a new connection.

Environment Details

Product Feature: Database Connection

Downloads

  • No Downloads