Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties layer & wms layer IllegalArgumentException while trying to add WMS-Layer #563

Open
fgdrf opened this issue Oct 13, 2021 · 2 comments

Comments

@fgdrf
Copy link
Contributor

fgdrf commented Oct 13, 2021

What I did in uDig:

Than this error was logged and displayed in error-log view:

!ENTRY org.locationtech.udig.catalog.ui 4 0 2021-10-13 15:02:05.253
!MESSAGE Error fetching the Title for the resource
!STACK 0
java.lang.IllegalArgumentException: ImageRegistry key already in use: obj16/grid_obj.gif
	at org.eclipse.jface.resource.ImageRegistry.put(ImageRegistry.java:248)
	at org.locationtech.udig.core.AbstractUdigUIPlugin.registerImage(AbstractUdigUIPlugin.java:65)
	at org.locationtech.udig.core.AbstractUdigUIPlugin.getImageDescriptor(AbstractUdigUIPlugin.java:45)
	at org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl$WMSResourceInfo.<init>(WMSGeoResourceImpl.java:558)
	at org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl.createInfo(WMSGeoResourceImpl.java:152)
	at org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl.createInfo(WMSGeoResourceImpl.java:1)
	at org.locationtech.udig.catalog.IGeoResource.getInfo(IGeoResource.java:220)
	at org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl.getInfo(WMSGeoResourceImpl.java:140)
	at org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl.getInfo(WMSGeoResourceImpl.java:1)
	at org.locationtech.udig.catalog.ui.ResolveTitlesDecorator$UpdateLabel.run(ResolveTitlesDecorator.java:397)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
@sschulz92
Copy link
Contributor

Can you describe what you actually did to get this stacktrace? The title is a hint only (for me).

sschulz92 added a commit to sschulz92/udig-platform that referenced this issue Oct 14, 2021
sschulz92 added a commit to sschulz92/udig-platform that referenced this issue Oct 14, 2021
@fgdrf
Copy link
Contributor Author

fgdrf commented Oct 14, 2021

Can you describe what you actually did to get this stacktrace? The title is a hint only (for me).

Updated issue details ;) So you have some data-sets you can test with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants