Project: talendesb
Issue TESB-6707: build error when build examples
Got build error when build examples: (Win 7, 64-bit, Java 7, 64-bit) Results : Tests in error: testManagementExample(org.talend.esb.camel.example.management.ManagementExampleTest): Unexpected exception p arsing XML document from class path resource [META-INF/spring/camel-context.xml]; nested exception is java.lan g.NullPointerException Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Talend ESB Runtime :: Examples parent ............. SUCCESS [0.221s] [INFO] Talend ESB Runtime :: Examples .................... SUCCESS [0.015s] [INFO] Talend ESB Runtime Examples :: Rent-a-Car ......... SUCCESS [0.110s] [INFO] CRMService ........................................ SUCCESS [0.015s] [INFO] CRMService Common ................................. SUCCESS [8.083s] [INFO] CRMService Service ................................ SUCCESS [2.600s] [INFO] CRMService Service Endpoint JMX ................... SUCCESS [2.310s] [INFO] CRMService Client ................................. SUCCESS [1.380s] [INFO] ReservationService ................................ SUCCESS [0.040s] [INFO] ReservationService Common ......................... SUCCESS [6.375s] [INFO] ReservationService Service ........................ SUCCESS [1.800s] [INFO] ReservationService Client ......................... SUCCESS [1.390s] [INFO] ReservationService Service Endpoint JMX ........... SUCCESS [0.900s] [INFO] App Reservation ................................... SUCCESS [2.512s] [INFO] Talend ESB Runtime :: Example Features ............ SUCCESS [0.020s] [INFO] Talend ESB Runtime :: Example JMX Features ........ SUCCESS [0.210s] [INFO] Talend ESB Runtime Examples :: Locator Example .... SUCCESS [0.020s] [INFO] Locator Demo Common ............................... SUCCESS [3.250s] [INFO] Locator Demo Client ............................... SUCCESS [2.170s] [INFO] Locator Demo Server ............................... SUCCESS [3.210s] [INFO] Locator Demo Webapp ............................... SUCCESS [4.573s] [INFO] Locator Service Examples .......................... SUCCESS [0.031s] [INFO] Locator Service Examples :: Rest Service .......... SUCCESS [0.031s] [INFO] Locator Service Examples :: Rest Service :: Client SUCCESS [2.256s] [INFO] Locator Service Examples :: Rest Service :: WebClient SUCCESS [1.870s] [INFO] Locator Service Examples :: Soap Service .......... SUCCESS [0.010s] [INFO] Locator Service Examples :: Soap Service :: Common SUCCESS [3.000s] [INFO] Locator Service Examples :: Soap Service :: Client SUCCESS [3.080s] [INFO] Locator Service Examples :: Soap Service :: Service SUCCESS [2.710s] [INFO] Locator Service Examples :: Soap Service :: Webapp SUCCESS [3.790s] [INFO] Talend ESB Runtime Examples :: SAM Example ........ SUCCESS [0.020s] [INFO] Service Activity Monitoring :: Example Client ..... SUCCESS [7.750s] [INFO] Service Activity Monitoring :: Example Service .... SUCCESS [8.546s] [INFO] Service Activity Monitoring :: Example Service2 ... SUCCESS [10.019s] [INFO] Service Activity Monitoring :: Example Service OSGi SUCCESS [8.100s] [INFO] Service Activity Monitoring :: Server Jetty ....... SUCCESS [0.740s] [INFO] Talend ESB Runtime Examples :: CXF JMX Example .... SUCCESS [0.020s] [INFO] Talend ESB Runtime::CXF JMX Example Common ........ SUCCESS [2.190s] [INFO] Talend ESB Runtime::CXF JMX Example Service ....... SUCCESS [2.590s] [INFO] Talend ESB Runtime::CXF JMX Example Client ........ SUCCESS [1.100s] [INFO] Talend ESB Runtime::CXF JMX Example WebApp ........ SUCCESS [1.970s] [INFO] Talend ESB Runtime::CXF JMX Example Feature ....... SUCCESS [0.190s] [INFO] Talend ESB Runtime Examples :: Camel JMX Example .. SUCCESS [0.040s] [INFO] Talend ESB Runtime::Camel JMX OSGI Example ........ FAILURE [7.080s] [INFO] Talend ESB Runtime::Camel JMX Example Feature ..... SKIPPED But If switched to Java 6, the error gone and build successfully.
Story points: 2