Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-rc1
-
Fix Version/s: 1.2.0-rc1
-
Component/s: Configuration, UI
-
Labels:None
-
Number of attachments :
Description
And another showstopper: I can't seem to add Feature Types. After creating an Oracle DataStore I switch to the FeatureTypes tab. The combo box for FeatureTypeName is empty (should this really be a combo box??) and if I click new I get the following stack trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1480)
at org.vfny.geoserver.action.data.DataFeatureTypesNewAction.execute(DataFeatureTypesNewAction.java:69)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
I'll add this to Jira when there is a new category for it, but for now do you know why this is happening?
Issue Links
- duplicates
-
GEOT-89
Oracle canProcess(Map) shoudl be true iff oracle jars present
-
My guess for your problem is that you need to select a FeatureType from the DataStore in order to add. If the list of FeatureTypes is empty your DataStore may not be set up correctly? Do you get a value back from a call to OracleDataStore.getTypeNames()? You should be able to tell if your OracleDataStore worked by hitting submit (one cannot switch directly to FeatureTypes). If submit comes back with out errors everything should be okay.