Process not finding records produces Error 500

If you think that something doesn't work in Aware IM post your message here
Post Reply
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Process not finding records produces Error 500

Post by Hubertus »

Hello !

I've just upgraded to Version 2.2. and everything seemed fine .... :?

When starting a process with the following actions

Code: Select all

If EXISTS Warnung WHERE (Warnung.GiltBis>=CURRENT_DATE) Then DISPLAY MESSAGE 'Achtung es gibt aktuelle Warnungen' 
CREATE Bestellung WITH Bestellung.Kunde=ThisKunde,Bestellung.Datum=BUSINESS_DAY_FORWARD(CURRENT_DATE),Bestellung.Bemerkung=ThisKunde.Bemerkung 
VIEW Bestellung USING Main 
Then AwareIM 2.2 Build 937 reproducible drops an Error 500 if the first action finds no records ! If the first action does find a record everything works fine.

The Output from AwareIM's log is:
Process status: Started
Unable to deserialize process context com.bas.basserver.executionengine.a; local class incompatible: stream classdesc serialVersionUID = 120896510790969603, local class serialVersionUID = -3954976629079359826
Unable to deserialize process context com.bas.basserver.executionengine.a.f; local class incompatible: stream classdesc serialVersionUID = -552482338519847023, local class serialVersionUID = 6963994737548707225
2007-01-09 18:03:13,430 Dispo#admin Notification#LogoutNotification -17
When upgrading from 2.0 to 2.2 I used the steps described here http://www.hiden.org/awareim/tips-n-tri ... er-version

Many thanks for your help !
Hubertus
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Hi Hubertus,

you may need to manually cleanup one of the system tables - execution_contexts in BASDB and BASDBTEST databases. Could you delete all records in these tables and try again?
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

Hi aware_support !

Sorry but execution_contexts is empty.
Any other ideas on what could be wrong ?

Hubertus
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

In this case something is screwed up in your setup. Is it possible that your system somehow has two awareim.jar files? And somehow one of the scripts points to awareim.jar from the old version?

This is the only explanation I can think of for this problem.
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

I do have several backup copies on my system but definitly no script pointing there.
Additionally this behaviour is reproducible on 2 (Linux)systems.
The only thing that is is common to these 2 systems is that the database is a backup copy from the other system. But as I've said below the execution_contexts table is empty.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Can you send us the BSV file and describe the steps required to reproduce the problem?
Aware IM Support Team
Post Reply