[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] Created: (UDIG-102) ClassNotFound: render.internal.feature.basic.BasicFeatureMetricsFactory
|
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/UDIG-102
Here is an overview of the issue:
---------------------------------------------------------------------
Key: UDIG-102
Summary: ClassNotFound: render.internal.feature.basic.BasicFeatureMetricsFactory
Type: Bug
Status: Open
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: uDIG
Components:
render
Fix Fors:
UDIG 0.6
Versions:
UDIG 0.6
Assignee: Jesse Eichar
Reporter: Richard Gould
Created: Mon, 22 Nov 2004 4:03 PM
Updated: Mon, 22 Nov 2004 4:03 PM
Description:
Happens while attempting to print the current map.. when the renders start up.
The error:
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException: net.refractions.udig.render.internal.feature.basic.BasicFeatureMetricsFactory
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:404)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:307)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:336)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1313)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:131)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:124)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:113)
at net.refractions.udig.project.render.impl.RendererCreatorImpl$Processor.process(RendererCreatorImpl.java:277)
at net.refractions.udig.core.internal.ExtensionPointUtil.process(ExtensionPointUtil.java:60)
at net.refractions.udig.project.render.impl.RendererCreatorImpl.initFactories(RendererCreatorImpl.java:249)
at net.refractions.udig.project.render.impl.RendererCreatorImpl.createRenderer(RendererCreatorImpl.java:175)
at net.refractions.udig.printing.internal.MapBox.draw(MapBox.java:105)
at net.refractions.udig.printing.internal.PrintingEngine.print(PrintingEngine.java:85)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1811)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1334)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1196)
at net.refractions.udig.printing.internal.PrintAction$1.run(PrintAction.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
The offending code:
public boolean process(IExtension extension,
IConfigurationElement element) {
IConfigurationElement[] elements = extension.getConfigurationElements();
try {
RenderMetricsFactory builder = (RenderMetricsFactory) elements[0]
.createExecutableExtension("class");
List data=layer.getServices();
for (Iterator iter=data.iterator(); iter.hasNext(); ) {
CatalogEntry service=(CatalogEntry) iter.next();
RenderTools toolkit=(RenderTools) getTools().clone();
toolkit.getLayerServiceMap().put(layer,service);
if( builder.canRender(toolkit))
rFactories.add(builder.createMetrics(toolkit));
}
} catch (CoreException e) {
//TODO log the exception
e.printStackTrace();
}catch (Exception e) {
e.printStackTrace();
}
return true;
}
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira