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
9 replies
Subscribers
5 subscribers
Views
4450 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Java error in developing appian function
varnikam
over 8 years ago
Hi All,
I am trying to create a function that returns a document of type jpeg but I am getting an error on document creation that reads - The type com.appiancorp.ix.binding.BreadcrumbText cannot be resolved. It is indirectly referenced from required .class files.
Not sure why this error is occurring and how can I resolve it. Would really appreciate if somebody can help me resolving this error.
Thanks,
Varnika
OriginalPostID-245743
Discussion posts and replies are publicly visible
0
Mihai Roman
over 8 years ago
Make sure you use a recent version of Eclipse to build the JAR
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
When are you getting this error? If it's in Eclipse when building the project, add appian-ix.jar to your lib-compile directory.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
varnikam
over 8 years ago
@carloss - This jar did resolve the error. Thanks a lot for the help..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
You're welcome
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
varnikam
over 8 years ago
In application server logs, I see this error - ERROR com.appiancorp.util.BundleUtils - Cannot retrieve the value for key "function.imagewithtext.description" from the bundle.
Do you know how can I resolve it please?
Thanks!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
That's a completely unrelated and it won't prevent your code from running. You need to have a correct properties file, as described in
forum.appian.com/.../Custom_Function_Plug-ins.html
.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
varnikam
over 8 years ago
@carloss If you get sometime, Can you go through the java code attached and let me know where I am going wrong in the code please
Really appreciate all your help so far,
Varnika
JavaCode.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
A cursory look doesn't reveal anything out of the ordinary. Again, this isn't about the Java code, but about the properties files that you need to include in your plugin. As the error message says, you need to include a key "function.imagewithtext.description" in the bundle.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
varnikam
over 8 years ago
I don't get any error when I test this function on my application server. It's just returning empty result.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel