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
+1
person also asked this
people also asked this
Replies
6 replies
Subscribers
11 subscribers
Views
4534 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
We are getting the following error on our Process backed Records: An
nikhilh0001
over 10 years ago
We are getting the following error on our Process backed Records:
An Error Has Occurred
Cannot construct Record UI (Header and Detail) (APNX-1-4205-020)
These records are working fine on our Development env , but error observed on QA env.
Please let me know.... Thanks...
OriginalPostID-128730
OriginalPostID-128730
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
The best way to troubleshoot issue like this where the message is too generic is by looking at the application server log and review each of the "Caused by" clauses that get written every time you reproduce the issue
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nikhilh0001
over 10 years ago
2014-11-12 05:58:32,577 [ajp-/0.0.0.0:8009-132] ERROR com.appiancorp.rest.record.data.RecordRestService - Unable to retrieve record summary for record w/ type RecordType [id=13, uuid=529370ea-b7ac-444e-8e2c-95fad93db9c0, name= All - In Progress , sourceTypeStr={http://www.appian.com/ae/types/2009}ProcessModel, sourceUuidStr=0003d978-ca30-8000-ac7b-680000680000] and id 879533
com.appiancorp.suiteapi.common.exceptions.AppianException: Cannot construct Record UI (Header and Detail) (APNX-1-4205-020)
at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:52)
at com.appiancorp.record.ui.RecordUiSourceFactoryImpl.buildRecordUiBuilder(RecordUiSourceFactoryImpl.java:99)
at com.appiancorp.record.ui.RecordUiBuilderFactory$RecordUiBuilderFactoryImpl.build(RecordUiBuilderFactory.java:145)
at com.appiancorp.record.ui.RecordUiBuilderFactory$RecordUiBuilderFactoryImpl.buildAndCache(RecordUiBuilderFactory.java:120)
at com.appiancorp.record.ui.RecordUiBuilderFactory$RecordUiBuilderFactoryImpl.get(RecordUiBuilderFactory.java:164)
at sun.reflect.GeneratedMethodAccessor3303.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
at com.sun.proxy.$Proxy272.get(Unknown Source)
Caused by: java.lang.ClassCastException: com.appiancorp.suiteapi.type.TypedValue cannot be cast to java.util.Map
at com.appiancorp.type.util.DictionaryNormalizer.putInMapTree(DictionaryNormalizer.java:136)
at com.appiancorp.type.util.DictionaryNormalizer.normalizeDictionaries(DictionaryNormalizer.java:66)
at com.appiancorp.record.data.RecordDataSource$TypedValueRecordDataAccessor.getRecordsData(RecordDataSource.java:174)
at com.appiancorp.record.data.RecordDataSource$TypedValueRecordDataAccessor.getRecordsData(RecordDataSource.java:165)
at com.appiancorp.record.data.RecordDataSource$TypedValueRecordDataAccessor.getRecordData(RecordDataSource.java:199)
at com.appiancorp.record.data.RecordDataSource$TypedValueRecordDataAccessor.getRecordData(RecordDataSource.java:133)
at com.appiancorp.record.data.RecordDataSource$RecordDataAccessor.getRecordDataForExpressions(RecordDataSource.java:97)
at com.appiancorp.record.data.RecordBindingProviderFactory$RecordBindingProviderFactoryImpl$RecordBindingProvider.generateBindings(RecordBindingProviderFactory.java:106)
at com.appiancorp.record.data.RecordBindingProviderFactory$RecordBindingProviderFactoryImpl$RecordBindingProvider.generateBindings(RecordBindingProviderFactory.java:95)
at com.appiancorp.record.data.RecordBindingProviderFactory$RecordBindingProviderFactoryImpl$RecordBindingProvider.getBindings(RecordBindingProviderFactory.java:82)
at com.appiancorp.record.ui.RecordUiSourceFactoryImpl.buildRecordUiBuilder(RecordUiSourceFactoryImpl.java:82)
... 138 more
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nikhilh0001
over 10 years ago
The issue got resolved after clicking on "Update Record" on our QA environment after importing the application.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Omkar K
over 9 years ago
Hi Nikhil, we are using 7.10 but we are still getting the same error. How can we update the record? Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nikhilh0001
over 9 years ago
Hi Omkar, DId you check the application server log? We dont have Update Record anymore, what you can also try is by reducing the expression to a test one, which does not reference any process objects and narrow down the root cause.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Omkar K
over 9 years ago
Thanks Nikhil!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel