From: Roman I. <rom...@ya...> - 2007-04-28 13:56:23
|
Hello Guys, I am a beginner learning how to use OpenJUMP as a framework. I appreciate the great work you guys are doing. Here are my problems: 1 In building my own Application based on JUMP 1.2. the FeatureInfoTool does not work. Each time I use it, get the following error java.util.NoSuchElementException: Vector Enumeration at java.util.Vector$1.nextElement(Vector.java:308) at com.vividsolutions.jump.workbench.ui.GeometryInfoTab.<init>(GeometryInfoTab.java:116) at com.vividsolutions.jump.workbench.ui.InfoFrame.<init>(InfoFrame.java:75) but the FeatureInfoTool works in the original JUMP program. I believe there must be something i am missing out. I will be very grateful if my problems can be solved. 2. Once the attribute frame is open for a layer. An error occurs when I try to query a layer's attributes by Selecting the check box to display the results. The errors I get is similar to this: Exception in thread "Thread-6" java.lang.ClassCastException: com.vividsolutions.jump.workbench.ui.plugin.ViewAttributesPlugIn$ViewAttributesFrame cannot be cast to com.vividsolutions.jump.workbench.ui.TaskFrame at org.openjump.core.ui.plugin.queries.QueryDialog$2.run(QueryDialog.java:840) at java.lang.Thread.run(Thread.java:619) Yours faithfully Roman __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |