You are viewing limited content. For full access, please sign in.

Question

Question

"Can't find resource for bundle java.util.PropertyResourceBundle"

SDK
asked on July 21, 2014

Hi,

I am executing following piece of code -

 

Session session = new Session();

RepositoryRegistration repository = new RepositoryRegistration(strHostServerName, strRepoName, intPort);

session.connect(repository);

session.logIn(strUserId, strPassword);

 

I am getting following error message -

 

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key ERR9520

at java.util.ResourceBundle.getObject(Unknown Source)

at java.util.ResourceBundle.getString(Unknown Source)

at com.laserfiche.repositoryaccess.ResourceBundle.getError(ResourceBundle.java:80)

at com.laserfiche.repositoryaccess.ProtocolUtil.decodeError(ProtocolUtil.java:79)

at com.laserfiche.repositoryaccess.Session.doLogin(Session.java:757)

at com.laserfiche.repositoryaccess.Session.logIn(Session.java:507)

It does not happen all the time but sporadically. Specially when I run it quite often it gives me the exception.

Let me know if anybody has any idea.

 

Thanks,

Gupteshwar

0 0

Answer

APPROVED ANSWER
replied on July 21, 2014

Hi Gupteshwar,

 

9520 error means the Laserfiche user connection doesn't have a license available or the number of concurrent connections has been exceeded.

 

You can either try connecting as different Laserfiche users or limit the connections (2 users for a non named user account and 5 for a named user account).

 

Hope this helps!

1 0

Replies

replied on July 23, 2014

For completeness. This was a licensing issue as described previously and is now resolved. yes

 

1 0
replied on August 2, 2018

Hello,

 

I am having a similar issue but my error code is different.  I have not been able to find any documentation for this:

ava.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key ERR0
	at java.base/java.util.ResourceBundle.getObject(Unknown Source) ~[na:na]
	at java.base/java.util.ResourceBundle.getString(Unknown Source) ~[na:na]
	at com.laserfiche.repositoryaccess.ResourceBundle.getError(ResourceBundle.java:80) ~[JRA-10.2.0.jar:na]
	at com.laserfiche.repositoryaccess.ProtocolUtil.decodeError(ProtocolUtil.java:79) ~[JRA-10.2.0.jar:na]
	at com.laserfiche.repositoryaccess.ProtocolUtil.decodeError(ProtocolUtil.java:114) ~[JRA-10.2.0.jar:na]
	at com.laserfiche.repositoryaccess.LongOperation.refresh(LongOperation.java:197) ~[JRA-10.2.0.jar:na]

Thank you.

 

Varsha

0 0
replied on July 11

Hi Varsha 

 

i have been facing this issue

Were you able to solve this. 

 

 

0 0
replied on July 11 Show version history

What is the error code you're seeing?

0 0
replied on July 11

Exception in thread "main" java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key ERR0
    at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
    at java.util.ResourceBundle.getString(ResourceBundle.java:407)
    at com.laserfiche.repositoryaccess.ResourceBundle.getError(ResourceBundle.java:80)
    at com.laserfiche.repositoryaccess.ProtocolUtil.decodeError(ProtocolUtil.java:79)
    at com.laserfiche.repositoryaccess.Session.doLogin(Session.java:757)
    at com.laserfiche.repositoryaccess.Session.logIn(Session.java:507)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.