Hi , I'm trying to create a process model using import login informati

Hi ,
I'm trying to create a process model using import login information activity from forum tab. And used DB name in properties as my DB JNDI name. But it is throwing an error as
There is a problem with task “Import Login Information” in the process “Populate Login Information”. java.lang.reflect.UndeclaredThrowableException. Because of this i'm not able to complete the task. Any one can help me. Thanks in Advance.

OriginalPostID-177148

OriginalPostID-177148

  Discussion posts and replies are publicly visible

  • You should use the name of the data source as specified in conf.data.datasources
  • ... which is a property in custom.properties
  • Thanks Ed for responding, i'm using same Data source name as in custom.properties file, Is there any other solution for it. I appreciate !!
  • Can you review the log and search for all the "Caused by" clauses right below this exception?
  • Was out for vacation and started working on some other tasks , this problem is still exist in that environment :


    19:33:57,265 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) 2016-01-13 19:33:57,263 [Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=5, classname=com.appiancorp.loginparser.ImportLoginInformation
    19:33:57,277 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: java.lang.ArrayIndexOutOfBoundsException: 1
    19:33:57,284 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.suiteapi.process.exceptions.SmartServiceException$Builder.build(SmartServiceException.java:127)
    19:33:57,290 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.loginparser.ImportLoginInformation.run(ImportLoginInformation.java:75)
    19:33:57,297 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:104)
    19:33:57,304 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:101)
    19:33:57,310 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
    19:33:57,317 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:101)
    19:33:57,324 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
    19:33:57,331 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
    19:33:57,338 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.executeOuter(ContinuationRequest.java:71)
    19:33:57,344 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:85)
    19:33:57,350 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:29)
    19:33:57,358 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    19:33:57,363 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    19:33:57,369 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    19:33:57,375 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at java.lang.reflect.Method.invoke(Method.java:497)
    19:33:57,380 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    19:33:57,387 INFO [stdout] (Appian Work Item - 4 - ProcessExec00 : UnattendedJavaActivityRequ
  • The relevant error is happening at com.appiancorp.loginparser.ImportLoginInformation.run() where an exception is being thrown.

    Looking at that code, I think the issue might be with the date you're passing. Try selecting it from the picker.
  • Got it , our company is using custom jar files for this. Need to create some DB objects. Thank you, i'll look over it.