Breaking News
Home / Java / Java Issues

Java Issues

Caused by: java.lang.IllegalArgumentException: invalid target release: 1.7 – Dropwizard

Usecase Building DropWizard using Maven via command line. <groupId>com.codahale.dropwizard</groupId>     <artifactId>dropwizard-parent</artifactId>     <version>0.7.0-SNAPSHOT</version>     <packaging>pom</packaging>     <name>Dropwizard Project</name>     <url>http://dropwizard.codahale.com/</url>     <description>         Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web         applications.     </description> Command Used: mvn package Exception Caused by: java.lang.IllegalArgumentException: invalid target release: 1.7 [INFO] Compiling 5 source files to /Users/mvohra/Downloads/dropwizard-master/dropwizard-util/target/classes [INFO] ———————————————————————— …

Read More »

Sending Push Notification to iPhone using Java – Fatal error Certificate Unknown

Usecase Sending an Push Notification APNS framework in Java fails with certificate_unkown excpetion.                             ApnsService service =                                 APNS.newService()                                 .withCert(“../config/app-prod-cert.p12”, “password”)                                 .withProductionDestination()            …

Read More »

Unknown column in ‘field list’ java.lang.RuntimeException

Issue 2011-12-23 12:13:31,292[Thread-16]ERROR SubscriptionXmlService -Failed to query account : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘source’ in ‘field list’java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column ‘source’ in ‘field list’     at com.infuze.service.subscription.workflow.SubscriptionAddonWorkflow.executeProcess     at com.infuze.service.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:24)     at com.infuze.service.subscription.xml.SubscriptionXmlService.addon(SubscriptionXmlService.java:262)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:597)     at com.livrona.xhttpi.XHttpInvoker.execute(Unknown Source)     at com.infuze.server.service.XmlServiceActionHandler.execute(XmlServiceActionHandler.java:28)     at com.livrona.haxe.server.RequestHandler.executeRequest(RequestHandler.java:149)     at com.livrona.haxe.server.RequestHandler.run(RequestHandler.java:77)<!

Read More »

Data truncation: Data too long for column – JDBC

Issue Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column ‘columname‘ at row 1     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3595)     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)     at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)     at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)     at com.infuze.service.subscription.dao.SubscriptionDao.addSubscriptionTrail(SubscriptionDao.java:674)     at com.infuze.service.subscription.workflow.SubscriptionAddonWorkflow.executeProcess(SubscriptionAddonWorkflow.java:100)     … 10 more<!

Read More »

Hibernate SQL Error: 904

Issue 2012-02-21 12:20:00,341[ExecuteThread: ’93’ for queue: ‘default’]DEBUG CustomerDAOFactory [#23640743#]-method : CustomerAttribDAO getCustomerAttributesDAO() 2012-02-21 12:20:00,341[ExecuteThread: ’93’ for queue: ‘default’]DEBUG CustomerAttributesDAOImpl [#23640743#]-method : CustomerAttributes findOrCreateBy(String accountId) 2012-02-21 12:20:00,350[ExecuteThread: ’93’ for queue: ‘default’]WARN JDBCExceptionReporter [#23640743#]-SQL Error: 904, SQLState: 42000 2012-02-21 12:20:00,350[ExecuteThread: ’93’ for queue: ‘default’]ERROR JDBCExceptionReporter [#23640743#]-ORA-00904: “CUSTOMERAT0_”.”AUTH_REDUCTION_FLG”: invalid identifier 2012-02-21 12:20:00,350[ExecuteThread: ’93’ …

Read More »
Advertisment ad adsense adlogger