Hi Giorgia,
Have you looked through the output logs for errors? Based on other QIIME posts with this error, the issue could be with your barcodes, see:
Post 1: split_libraries_fastq.py error: warnings.warn("Mean of empty slice.", RuntimeWarning)
Post 2: Split libraries: "Mean of empty slice.", RuntimeWarning
Post 3: split_libraries_fastq.py RuntimeWarning: Mean of empty slice
Jenya