The error messages now look like this: Mapping_en:Infobox_monarch: Couldn't load property mapping on page Mapping en:Infobox monarch. Details: property http://dbpedia.org/ontology/activeYearsEndYear has range http://www.w3.org/2004/02/skos/core#Concept, which is not a datatype
On 9 July 2013 15:13, Jona Christopher Sahnwaldt <[email protected]> wrote: > That's correct. We should throw a more useful exception in > DateIntervalMapping. > > What confused me was the "Details: null" on the validation page, but > after I restarted the server and reloaded the page, I saw proper > exeption messages. When I reloaded the page again, the messages > disappeared and all I saw was "Details: null". Must be caused by this: > > http://www.oracle.com/technetwork/java/javase/relnotes-139183.html#hotspot > The compiler in the server VM now provides correct stack backtraces > for all "cold" built-in exceptions. For performance purposes, when > such an exception is thrown a few times, the method may be recompiled. > After recompilation, the compiler may choose a faster tactic using > preallocated exceptions that do not provide a stack trace. To disable > completely the use of preallocated exceptions, use this new flag: > -XX:-OmitStackTraceInFastThrow. > > > I just added -XX:-OmitStackTraceInFastThrow and restarted the server. > It looks like we always get a more useful message now. > > JC > > On 9 July 2013 14:45, Andrea Di Menna <[email protected]> wrote: >> I don't think this is a bug. >> That property is used in the DateIntervalMapping and it is trying to cast >> the range of the property to a DataType while skos:Concept is a class. >> >> Does it make sense? >> >> >> 2013/7/9 Jona Christopher Sahnwaldt <[email protected]> >>> >>> All right, after this change: >>> >>> >>> http://mappings.dbpedia.org/index.php?title=OntologyProperty:ActiveYearsEndYear&diff=27217&oldid=27207 >>> >>> there are 34 errors again: >>> >>> http://mappings.dbpedia.org/server/mappings/en/validate/* >>> >>> Looks like a bug in mappings loader or somewhere. I'll investigate. >>> >>> >>> On 9 July 2013 14:37, Jona Christopher Sahnwaldt <[email protected]> wrote: >>> > Strange. Now all the errors are gone. Maybe there were only a few >>> > genuine errors, but somehow they caused other exceptions in the >>> > mappings loader. I guess we will never know. >>> > >>> > JC >>> > >>> > On 9 July 2013 12:32, Andrea Di Menna <[email protected]> wrote: >>> >> Hi all, >>> >> >>> >> do you know where those errors are coming from? >>> >> >>> >> http://mappings.dbpedia.org/server/mappings/en/validate/* >>> >> >>> >> Thanks >>> >> Andrea >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >>> >> See everything from the browser to the database with AppDynamics >>> >> Get end-to-end visibility with application monitoring from AppDynamics >>> >> Isolate bottlenecks and diagnose root cause in seconds. >>> >> Start your free trial of AppDynamics Pro today! >>> >> >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >>> >> _______________________________________________ >>> >> Dbpedia-developers mailing list >>> >> [email protected] >>> >> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers >>> >> >> >> ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Dbpedia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
