Today I lost a complete development day due to errors related to DDE. After building a project I constantly get errors as followed:
HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: javax.faces.el.EvaluationException: java.util.MissingResourceException: Can’t find resource for bundle java.util.PropertyResourceBundle, key strings
and:
HTTP JVM: java.lang.SecurityException: Error verifying signature for resource WEB-INF/classes/se/acme/namis/app/Application.class. For more detailed information, please consult error-log-0.xml located in E:/IBM/Domino/data/domino/workspace/logs
The way I am forced to work now is to clean the project, build the project, sign the complete database, PRAY.
Is there no way to build an XPages project OUTSIDE of DDE?
This is no workable way of developing anymore.
XPexit?
not really “outside” DDE but there is Command Line Building of NSFs/NTFs aka “Headless” Designer; https://www.ibm.com/support/knowledgecenter/en/SSVRGU_9.0.1/user/wpd_srcctrl_headless_overview.html
if I open the progress eclipse view DDE is bouncing between Building workspace and Refreshing workspace.
It’s not your question, but about the first error.
When I create a resource bundle as described in the doc:
https://www-10.lotus.com/ldd/ddwiki.nsf/dx/JavaScriptInternationalization.htm
strings.properties containing:
greeting=Welcome.
Then this:
value=”#{strings.greeting}”
works ok (returns “Welcome.”).
But the following (where greeting2 key does not exist):
value=”#{strings.greeting2}”
gives the error:
Can’t find resource for bundle java.util.PropertyResourceBundle, key greeting2
It is suspicious that your error message is reporting “key strings”;
maybe check whether key is really named strings, or if it might be a typo
where the file is named strings and the key is named something else.
Or it could be a red herring.
it turns out that the problem was related to the debugtoolbar from openntf. first I removed the application and then I could build the project. then I re-added the plugin and the project could be built again properly. I do not think the problem is related to the plugin (have used it in many more applications and for a very long time in this project) but somehow DDE had problems with it during the build process. Anyone noticed similarities as well (e.g. with other plugins) ? I read the code from MS TFS. Looks like DDE has difficulties reading large amount of code.
I also don’t think the problem is related to that plugin 😉
Seriously, I use in almost every project I work on and never saw the behavior you’re seeing.
I can, however, relate (partly) to the build issues with DDE. With source controlled projects it just behaves ‘strange’ every now and then. Not sure if it’s DDE, Swiper (use that in every project too), having Windows running in Parallels on a Mac or the position of the moon. So I also have a love-hate relationship with it.
As an example: just this morning when I opened an application it started to sync with the ODP and deleted all design elements. I have no idea why. Luckily I committed all my work and nowadays accept that the Git repo is the ‘single source of truth’. I can just reset to the last commit, sync back to the NSF and everything is fine again.
Hi Mark, I am not saying the debugToolbar plugin is the cause of the problem I had but it was related to the usage of the plugin in my project. (related/cause might be a major difference).
I believe DDE was not capable of handling the project configuration correctly.
Just by coincidence I found out it was related to the usage of the debugToolbar plugin because in our Acceptance environment we do not use the plugin so I had to remove it there and the project could be “built” properly.
Nice to hear that I am not alone in my struggle to work with DDE.
For example for a certain application DDE does unwanted refresh the design of an application in Production. Then the design elements get the incorrect signature and the application does not run due to security restrictions.
I just would like to see that IBM focusses on stabilizing and improving DDE and it has not become a trustworthy rapid application platform any more due to such reasons.
If you google after the error message I got (…getValue()) then you can find a lot of related questions/problems/incidents by developers with all kinds of causes. Some questions are never answered.
Does the debugToolbar plugin uses that method (getValues) somewhere that you know of?