on 02-09-2012 9:56 AM
Hi,
We have an enterprise portal --> portal application standalone type DC. We have been able to migrate the DCs to 7.3. The problem we are facing currently is that one of the applications does not load in the portal giving a portal runtime error. Looking at the log files, the errors being shown are to do with one specific type of class.
setClientEvent(com.sapportals.htmlb.enum.EventTrigger,java.lang.String) in com.sapportals.htmlb.EventValidationComponent cannot be applied to (com.sapportals.htmlb.enums.EventTrigger,java.lang.String)
CustomerInput.setClientEvent(com.sapportals.htmlb.enums.EventTrigger.ON_KEYDOWN, "onCustomerEnter()");
The above error shows that at runtime, it is trying to resolve 'com.sapportals.htmlb.enum.EventTrigger' but this class is deprecated in 7.3. The code which we have written has the right package which is com.sapportals.htmlb.enums.EventTrigger.
I am not sure why it is still trying to resolve with an older version. If I try to change the code and use the 'enum' package instead of 'enums', then the application fails again with the runtime error.
Thanks & Regards,
Vaishnavi
Hi Vaishnavi,
Somewhere in your deploy package or in some referenced one, obviously you have a reference to ...enums... Might be a problem with updating JARs during build or whatever, in any case, just search for it. Use WinRAR for example, with that you also can search within class files.
The root cause is obvious, so just search and shoot it
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Detlev,
The standard jar from SAP for com.sapportals.htmlb which comes within FRAMEWORK-EXT seems to have only the enums package. In the SAP note 1503649, there is an excel sheet attached which says that the package enum is 'PublicNonDeprecated'. api. In that case, the package should be there in the jar, but it isn't! In addition the enums package has been introduced.
So where would I go about changing things?
Thanks & Regards,
Vaishnavi
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.