error using jpos latest version build

173 views
Skip to first unread message

adhi nugroho

unread,
May 24, 2015, 10:50:37 PM5/24/15
to jpos-...@googlegroups.com
java.util.MissingResourceException: Can't find bundle for base name org.jpos.q2.
QFactory, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:1499)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:721)
        at org.jpos.q2.QFactory.<init>(QFactory.java:59)
        at org.jpos.q2.Q2.run(Q2.java:161)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassCastException: org.jpos.q2.QFactory cannot be cast to
ResourceBundle
        at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2574)
        at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1436)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:1400)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)
        at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1296)
        ... 4 more

hai...why this is happened when i`m using jpos-2.0.1-20150524.125200-5.jar 


thank you

Alejandro Revilla

unread,
May 25, 2015, 2:10:54 PM5/25/15
to jPOS Users
There's an issue with Gradle 2.4 used on the latest build, I'm working on it.

Will update shortly.



--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/5f5b02ac-0c0e-492a-a688-c8f670aa076d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alejandro Revilla

unread,
May 25, 2015, 2:18:44 PM5/25/15
to jPOS Users
FYI, just forced a new nightly build done, please --refresh-dependencies



adhi nugroho

unread,
May 25, 2015, 5:47:34 PM5/25/15
to jpos-...@googlegroups.com

Thank you.. I'll try it

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
 
Join us in IRC at http://webchat.freenode.net/?channels=jpos
 
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

adhi nugroho

unread,
May 25, 2015, 9:01:20 PM5/25/15
to jpos-...@googlegroups.com
thank you @apr, it`s working
--
adhi

Alejandro Revilla

unread,
May 25, 2015, 9:06:01 PM5/25/15
to jPOS Users
Excellent. Turned out to be a problem with Gradle 2.4 thinking the resources were UP-TO-DATE when they weren't.




Stefano Bonù

unread,
May 26, 2015, 6:44:03 AM5/26/15
to jpos-...@googlegroups.com
Hi Alejandro,

not sure if the problem is the same of this topic, but with latest build of 2.0.1-SNAPSHOT (we checked the ones of 24 and 25 May) the following files are missing:

org\jpos\iso\packager\generic-validating-packager.dtd
org\jpos\iso\packager\generic-subtag-packager.dtd
org\jpos\iso\packager\genericpackager.dtd

and we didn't find them in any other jar folder. Currently we cannot start our application because we have a reference to these file in our custom xml packagers.

Could you please let us know what happened ?

Thanks in advance
Stefano Bonù

adhi nugroho

unread,
May 26, 2015, 6:47:52 AM5/26/15
to jpos-...@googlegroups.com
Did you add 
 --refresh-dependencies on your gradle command?
Sent from Outlook




Alejandro Revilla

unread,
May 26, 2015, 8:24:46 AM5/26/15
to jPOS Users

I just double-checked and those files are correct in the nightly build.

The —refresh-dependencies command as suggested by Nugroho should fix your issue.

Make sure mavenCentral() and http://jpos.org/maven repos are placed before your mavenLocal().




Stefano Bonù

unread,
May 26, 2015, 9:00:22 AM5/26/15
to jpos-...@googlegroups.com
ok, just updated and got the last jar version, missing files are back. Thank you!

Btw: we used the jpos-2.0.1-20150524.125200-5.jar version where the dtd were missing.

Alejandro Revilla

unread,
May 26, 2015, 9:54:18 AM5/26/15
to jPOS Users
That was the only one with the missing resources, we've upgraded to Gradle 2.4 and it was picked by the Sunday build. 

There seems to be a bug or change with it and resources were always flagged as UP-TO-DATE. Sorry about that.


Reply all
Reply to author
Forward
0 new messages