Bugs item #3600776, was opened at 2013-01-14 04:04 Message generated for change (Comment added) made by oj-opa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3600776&group_id=118054
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JTS (Java Topology Suite) Group: None Status: Open Resolution: Accepted Priority: 5 Private: No Submitted By: Bernd Wehle (oj-opa) Assigned to: michael michaud (michaudm) Summary: NPE on redraw the map-window Initial Comment: In Build 3229 or any builds befor is an NPE-Bug. OJ is not aborted. Only the message on the status-bar is displayed. Logs are in the attachment. ---------------------------------------------------------------------- Comment By: Bernd Wehle (oj-opa) Date: 2013-01-24 04:50 Message: with openjump build 3248 i can not found the Problem "NPE-Message" my pc: windows xp prof (32bit) with automated updates, until yesterday java 1.6.27_b07, oj in different variants It is possible that a plurality of modules were involved. After the Java update to 1.6.38_b05 i could find no more the NPE-message in a older build like 3244. very curious, but no longer exists. Thanks for all. ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2013-01-23 15:13 Message: Good catch Bernd, It was hard to track it down, but I could reproduce it and fix it. The problem was related to LabelStyle + JTS upgrade to 1.13. In JTS 1.12, intersection of geometries with the view could return null geometries, and the case was handle by OpenJUMP in a suitable way. Now, intersections return an empty geometry, which is much better but was not handled by OpenJUMP in a suitable way in this part of the code. Please check the fix on your machine (r3248) so that I can close the bug report. ---------------------------------------------------------------------- Comment By: ede (edso) Date: 2013-01-23 07:43 Message: hmm.. tried it with trunk. no problem. maybe Bernd has some old library residing in his default jre causing this? @Bernd: can you send me a private email with a phone number and a timeframe when to call so we can try to use another jre (preferrably a freshly installed one). ..ede ---------------------------------------------------------------------- Comment By: Jukka Rahkonen (jratike80) Date: 2013-01-23 06:09 Message: I tried your data with a few OpenJUMP versions. I had no troubles with panning and zooming with strassennetz_LP. Some streets have repeated coordinates but that should not be so dangerous. My test set-up: Windows 7, 64-bit Java (Oracle) 1.6.0_33 OJ r3229 and some other 1.6 versions older than that. ---------------------------------------------------------------------- Comment By: Bernd Wehle (oj-opa) Date: 2013-01-23 04:37 Message: here's a little testset. To see the problem: - unzip dataset to yout workdirectory, - start oj, - load both layers, - zoom to layer error_area - move the map any millimeters and see. if strassennetz_LP is invisible/disabled, no NPE. ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2013-01-16 10:53 Message: According to the log message, it seems that a geometry contains a null coordinate. Would be interesting to know how you get that. ---------------------------------------------------------------------- Comment By: ede (edso) Date: 2013-01-16 06:41 Message: can it be that your data contains empty geometries? please find a workflow that results in this NPE every time and deliver the test data set if necessary. i don't know how to reproduce this from your log output only. ..ede ---------------------------------------------------------------------- Comment By: Bernd Wehle (oj-opa) Date: 2013-01-16 03:21 Message: This is curiosly. I'm doing some test for a better description, pleas wait ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3600776&group_id=118054 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
