Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
6 subscribers
Views
1130 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Hi, After upgrading to Appian 7.6 our custom code throwing exception below:
riteshp
over 10 years ago
Hi, After upgrading to Appian 7.6 our custom code throwing exception below:
2014-12-29 18:48:15,981 [http-/0.0.0.0:8080-33] ERROR com.appiancorp.common.struts.BaseAction - Error executing action: com/sun/org/apache/xerces/internal/parsers/DOMParser
java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/parsers/DOMParser
at com.kone.grid.actions.ComplianceUtils.formatForExcel(ComplianceUtils.java:124)
at com.kone.grid.actions.ExportGridToExcel.main(ExportGridToExcel.java:63)
Any solutions?
Thanks...
OriginalPostID-133476
OriginalPostID-133476
Discussion posts and replies are publicly visible
0
Tim Nguyen
Appian Employee
over 10 years ago
It looks like it can not find a specific class, did you migrate over all custom libraries during the upgrade?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
riteshp
over 10 years ago
Hi Tim, Looks like Post platform upgrade issue - Brief description is as below:
• Class com.sun.org.apache.xerces.internal.parsers.DOMParser was not available in classpath on but was available in compile bundle so deployment never failed. Class DOMParser was being imported from com.sun package rather than apache package in ComplianceUtils.java.
• New product configurations already included extended xml-apis classes in calsspath. This could be possible root cause of the issue as DOMParser class was being referred by two different class loaders causing trouble in reading proper definition of the class.
• Updated ComplianceUtils.java file imports to read class from “org.apache.xerces.parsers.DOMParser” package rather than “com.sun.org.apache.xerces.internal.parsers.DOMParser”
Not sure if some packages are removed or\\and added in new version. Atleast i can see xml-api3 is in.
Thanks, Ritesh
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel