Login  Register

Re: Trunk demo error

Posted by Adrian Crum-3 on Nov 17, 2011; 12:00pm
URL: http://ofbiz.116.s1.nabble.com/Re-Trunk-demo-error-tp4079742.html

Actually, there are more errors/warnings in the trunk too - most having
to do with bad entity definitions.

I'm cross posting this to the dev list so we can look into it.

-Adrian

On 11/17/2011 11:53 AM, Jacques Le Roux wrote:

> Also we have an issue with this, reminder: no time to create a Jira
> atm (maybe there is already one BTW, thought I saw such?)
>
> 2011-11-17 11:48:25,468 (default-invoker-Thread-13) [  
> GenericDelegator.java:1724:ERROR] ---- exception report
> ----------------------------------------------------------
> ERROR: Cannot do a find that returns an EntityListIterator with no
> transaction in place. Wrap this call in a transaction.
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1723)
> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5762)
> org.ofbiz.order.order.OrderServices$1.call(OrderServices.java:5757)
> org.ofbiz.entity.transaction.TransactionUtil$NoTransaction.call(TransactionUtil.java:978)
>
> org.ofbiz.entity.transaction.TransactionUtil$InTransaction.call(TransactionUtil.java:1003)
>
> org.ofbiz.entity.transaction.TransactionUtil.doNewTransaction(TransactionUtil.java:89)
>
> org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocs(OrderServices.java:5757)
>
>
> Jacques
>
> From: "Jacques Le Roux" <[hidden email]>
>> Hi,
>>
>> Got this in trunk demo
>>
>> classes:
>>  [javac16] Compiling 20 source files to
>> /home/ofbiz/trunk/framework/testtools/build/classes
>>  [javac16]
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101:
>> incompatible types
>>  [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
>>  [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
>>  [javac16]         SchemeSocketFactory sf =
>> PlainSocketFactory.getSocketFactory();
>>  [javac16]                                                                    
>> ^
>>  [javac16]
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102:
>> cannot find symbol
>>  [javac16] symbol  : constructor
>> Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
>>  [javac16] location: class org.apache.http.conn.scheme.Scheme
>>  [javac16]         supportedSchemes.register(new Scheme("http", 80,
>> sf));
>>  [javac16]                                   ^
>>  [javac16]
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165:
>> cannot find symbol
>>  [javac16] symbol  : constructor
>> ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
>>  [javac16] location: class
>> org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
>>  [javac16]         ClientConnectionManager ccm = new
>> ThreadSafeClientConnManager(supportedSchemes);
>>  [javac16]                                       ^
>>  [javac16]
>> /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245:
>> cannot find symbol
>>  [javac16] symbol  : method consume(org.apache.http.HttpEntity)
>>  [javac16] location: class org.apache.http.util.EntityUtils
>>  [javac16]                 EntityUtils.consume(entity); // release
>> connection gracefully
>>  [javac16]                            ^
>>  [javac16] 4 errors
>>
>> BUILD FAILED
>> /home/ofbiz/trunk/build.xml:214: The following error occurred while
>> executing this line:
>> /home/ofbiz/trunk/framework/build.xml:148: The following error
>> occurred while executing this line:
>> /home/ofbiz/trunk/macros.xml:39: The following error occurred while
>> executing this line:
>> /home/ofbiz/trunk/common.xml:91: Compile failed; see the compiler
>> error output for details.
>>
>> reverted to r1201941, cleaned and installed all, it's running again...
>>
>> I think there is also an issue with 1202084, looks like the quality
>> is going down :/
>>
>> Jacques
>> Also not sure why but found that in trunk log
>> 2011-11-17 11:39:55,928 (http-0.0.0.0-8443-1) [
>> ControlServlet.java:324:INFO ]
>> [[[checkLogin(Domain:https://demo-stable.ofbiz.apache.org)] Request
>> Done- total:0.366,since last([checkLogin(Domai...):0.366]]