spring-projects / spring-projects/spring-security
SEC-3012: improve org.springframework.remoting.rmi.RmiClientInterceptor lookupStub RemoteException message
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Juan-Carlos Segovia (Migrated from SEC-3012) said:
protected Remote lookupStub() RemoteException message is:
throw new RemoteLookupFailureException("Lookup of RMI stub failed", ex);
The message can be improved by adding:
throw new RemoteLookupFailureException("Lookup of RMI service [" + getServiceUrl() + "] stub failed", ex);
So the user can have a better idea about the error.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in org.springframework.remoting.rmi.RmiClientInterceptor and inspect the protected lookupStub() method and its RemoteLookupFailureException message. Update the message to include getServiceUrl(), then verify that the resulting error identifies the RMI service URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100