Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021429Openbravo ERPA. Platformpublic2012-08-23 09:322012-10-30 07:53
marvintm 
mtaal 
normalmajorhave not tried
closedfixed 
50Mac OS X Mountain Leopard
 
3.0MP17 
alostale
Google Chrome
Core
No
0021429: Openbravo doesn't work with Eclipse 4.2 (Juno)
It seems Openbravo doesn't work correctly with Eclipse 4.2 (Juno). Tomcat starts succesfully, but after a very short amount of time, the following exception appears:


[http-8080-1] ERROR org.openbravo.dal.core.ThreadHandler - (class: org/openbravo/dal/core/OBContext, method: addStackTrace signature: (Ljava/lang/String;)V) Illegal target of jump or branch

java.lang.VerifyError: (class: org/openbravo/dal/core/OBContext, method: addStackTrace signature: (Ljava/lang/String;)V) Illegal target of jump or branch

at org.openbravo.dal.core.DalRequestFilter$1.doBefore(DalRequestFilter.java:76)

at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:44)

at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
- Install Openbravo with Eclipse 4.2 (Juno).
- Start Tomcat
- Try to log in the application. The exception appears.
No tags attached.
Issue History
2012-08-23 09:32marvintmNew Issue
2012-08-23 09:32marvintmAssigned To => mtaal
2012-08-23 09:32marvintmWeb browser => Google Chrome
2012-08-23 09:32marvintmModules => Core
2012-09-04 09:54shuehnerIssue Monitored: shuehner
2012-09-04 12:59gorkaionIssue Monitored: gorkaion
2012-10-09 15:34mtaalReview Assigned To => marvintm
2012-10-09 15:34mtaalWeb browserGoogle Chrome => Google Chrome
2012-10-09 15:36hgbotCheckin
2012-10-09 15:36hgbotNote Added: 0053176
2012-10-09 15:37hgbotStatusnew => resolved
2012-10-09 15:37hgbotResolutionopen => fixed
2012-10-09 15:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4c91b7f6a04f698da1671e952260ab89dc54cc84 [^]
2012-10-10 12:01mtaalNote Added: 0053200
2012-10-11 07:51hudsonbotCheckin
2012-10-11 07:51hudsonbotNote Added: 0053281
2012-10-30 07:53alostaleReview Assigned Tomarvintm => alostale
2012-10-30 07:53alostaleNote Added: 0053775
2012-10-30 07:53alostaleStatusresolved => closed
2012-10-30 07:53alostaleFixed in Version => 3.0MP17

Notes
(0053176)
hgbot   
2012-10-09 15:36   
Repository: erp/devel/pi
Changeset: 4c91b7f6a04f698da1671e952260ab89dc54cc84
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 09 15:34:19 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4c91b7f6a04f698da1671e952260ab89dc54cc84 [^]

Fixes issue 21429: Openbravo doesn't work with Eclipse 4.2 (Juno)
Apparently the eclipse juno compiler optimizes away a method which has a complete dead body.

---
M src/org/openbravo/dal/core/OBContext.java
---
(0053200)
mtaal   
2012-10-10 12:01   
Entered an issue at eclipse.org:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391517 [^]
(0053281)
hudsonbot   
2012-10-11 07:51   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63dfc135f2a1 [^]

Maturity status: Test
(0053775)
alostale   
2012-10-30 07:53   
Code reviewed and tested on pi@b2e90dcc4dc7