Details
Description
Apache ServiceMix bundle for Flatpack 3.1.1_3 is missing fpconfig.properties. This causes a NullPointerException if you are using a FlatpackDataFormat at the following line when using the camel-flatpack component to unmarshal a CSV file without using a pzmap file:
/** * Retrieves the conversion table for use with the getObject() * method in IDataSet * * @throws IOException * @return Properties * Properties contained in the pzconvert.properties file */ public static Properties loadConvertProperties() throws IOException { final Properties pzConvertProps = new Properties(); final URL url = ParserUtils.class.getClassLoader().getResource("fpconvert.properties"); pzConvertProps.load(url.openStream()); return pzConvertProps; }
Modifying the cached bundle to include fpconvert.properties works around the issue.