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
13 replies
Subscribers
6 subscribers
Views
4457 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to create a plug-in for converting a file that is stored in a consta
amitas
over 8 years ago
I am trying to create a plug-in for converting a file that is stored in a constant of type document to hashcode using eclipse. But whenever I am calling the custom function in expression rule by passing the same constant as parameter I am getting an error: "Expression evaluation error at function 'hashcode': Error evaluating function 'hashcode' : (Result too large)". When do we get such an error?
OriginalPostID-223509
OriginalPostID-223509
Discussion posts and replies are publicly visible
Top Replies
Vinod Bongoni
over 8 years ago
+1
Certified Lead Developer
If we choose function output type is an integer and multiple then the Long[] type will be the return object from the java method. Please find the attached code, which is updated and it is working fine…
Parents
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Please debug the code by printing the values in LOG file. Try to use like LOG.info(<Value to be print>);
Please use try, catch blocks instead of using "throws Exception" at class level. So that we can catch the exception messages and print it in LOG file by using LOG object.
In the mean time, I will try to debug the code and let you know.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Please debug the code by printing the values in LOG file. Try to use like LOG.info(<Value to be print>);
Please use try, catch blocks instead of using "throws Exception" at class level. So that we can catch the exception messages and print it in LOG file by using LOG object.
In the mean time, I will try to debug the code and let you know.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data