ORA-06502
I get the following exception when I run a sparql query with the new Jena adaptor. I see the same error when I run the sem_match equivalent of the query :
Error message:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 776
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 222
ORA-06512: at line 1
The query finally returns the results- albeit after a long time. The same query used to work fine with the old version of the Jena adaptor.
The query looks like this..
PREFIX cis:<http://cisoft.usc.edu/iam/DomainModel#> PREFIX owl:<http://cisoft.usc.edu/iam/Metadata.owl#> PREFIX owl2:<http://www.owl-ontologies.com/unnamed.owl#> PREFIX sm:<http://www.w3.org/2002/07/owl#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?CD ?Comments ?FilePath ?FileName ?PublishedOn ?PublishedByUser ?LastModifiedOn ?ModifiedByUser ?MaturityLevel ?VersionNumber ?RM ?rmi ?rmj ?rmk ?RMName ?rmno ?rmIsParameterized ?RMUUID ?RMType ?NumberOfActiveCells ?simStopDate ?simStartDate ?noEquil ?noFluidPropRegs ?noRockPropertyRegions ?WMS where { ?CD sm:sameAs <mdc:ccc:1253844487918:0>.?CD owl:CDMDIsMDOfRM ?RM . OPTIONAL { ?CD owl:filePath ?FilePath } . OPTIONAL { ?CD p1 ?FileName } . OPTIONAL { ?CD p2 ?LastModifiedOn } . OPTIONAL { ?CD owl:publishDate ?PublishedOn } . OPTIONAL { ?CD owl2:publishBy ?PublishedByUser } . OPTIONAL { ?CD owl:comments ?Comments } . OPTIONAL { ?CD owl:objectModifiedByUser ?ModifiedBy . ?ModifiedBy owl2:hasCAI ?ModifiedByUser } . OPTIONAL { ?RM cis:iDimensionCells ?rmi } . OPTIONAL { ?RM cis:jDimensionCells ?rmj } . OPTIONAL { ?RM cis:kDimensionCells ?rmk } . OPTIONAL { ?RM cis:name ?RMName } . OPTIONAL { ?RM cis:numberOfCells ?rmno } . OPTIONAL { ?RM cis:RMIsParameterized ?rmIsParameterized } . OPTIONAL { ?RM cis:UUID ?RMUUID } . OPTIONAL { ?RM cis:RMType ?RMType } .OPTIONAL { ?RM cis:numberOfActiveCells ?NumberOfActiveCells } . OPTIONAL { ?RM cis:simStopDate ?simStopDate } . OPTIONAL { ?RM cis:simStartDate ?simStartDate } . OPTIONAL {?RM cis:numberOfEquil ?noEquil } . OPTIONAL { ?RM cis:numberOfFluidPropertyRegions ?noFluidPropRegs } .OPTIONAL { ?RM cis:numberOfRockPropertyRegions ?noRockPropertyRegions } . OPTIONAL { ?RM cis:WMS ?WMS } . OPTIONAL { ?RM cis:maturityLevel ?MaturityLevel } OPTIONAL { ?CD owl:versionNumber ?VersionNumber } . }
Ram
Edited by: user652088 on Oct 6, 2009 8:46 PM