E-Posta Listesi webobjects-dev@wocommunity.org Mesaj #642
Kimden: Theodore Petrosky <webobjects-dev@wocommunity.org>
Konu: strange null app error
Tarih: Wed, 22 Apr 2026 15:40:45 -0400
Kime: WO Development <webobjects-dev@wocommunity.org>
I have an app that uses Jasperreports. In Eclipse, I have a folder resources/JasperReports and all the .jasper files are here. In development in Eclipse it works. However, when I transfer the app to the Ubuntu server the app cannot find the .jasper files. the error is:

Apr 22 19:21:06 ASBriefs[2002] ERROR er.extensions.appserver.ERXApplication  - Exception caught: org.apache.commons.lang.exception.NestableRuntimeException:
java.lang.NullPointerException: Cannot invoke "java.net.URL.getFile()" because the return value of "er.extensions.foundation.ERXFileUtilities.pathURLForResourceNamed(String, String>

So the app is not finding the resources in resources/JasperReports. Is there anything I can add to the Properties to help the app find these files. Obviously, I can just leave the .jasper files up one level in the resources folder but I am trying to keep things clean.

Ted

Üye Ol (FEED) Üye Ol (DIGEST) Üye Ol (INDEX) Üyelikten Çık Liste Yöneticisine ileti gönder