博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JAVA new URL引起死机一例
阅读量:2024 次
发布时间:2019-04-28

本文共 107 字,大约阅读时间需要 1 分钟。

  这个问题一直存在,出错位置附属进程(?)的EditorPane.setPage()。吾还纳闷。后来专门跟踪了一下,死机竟然是new URL()。原因是这个URL指向的文件不存在。

  加了个判断,之后问题消失。

转载地址:http://ytuaf.baihongyu.com/

你可能感兴趣的文章
LeetCode8. String to Integer (atoi)(思路及python解法)
查看>>
LeetCode11. Container With Most Water (思路及python解法)
查看>>
LeetCode17. Letter Combinations of a Phone Number(思路及python解法)
查看>>
LeetCode34. Find First and Last Position of Element in Sorted Array (思路及python解法)
查看>>
LeetCode49. Group Anagrams (思路及python解法)
查看>>
LeetCode41. First Missing Positive(思路及python解法)
查看>>
LeetCode50. Pow(x, n)(思路及python解法)
查看>>
LeetCode55. Jump Game(思路及python解法)
查看>>
LeetCode56. Merge Intervals(思路及python解法)
查看>>
LeetCode73. Set Matrix Zeroes(思路及python解法)
查看>>
LeetCode15. 3Sum(思路及python解法)
查看>>
LeetCode22. Generate Parentheses(思路及python解法)
查看>>
LeetCode179. Largest Number(思路及python解法)
查看>>
LeetCode227. Basic Calculator II(思路及python解法)
查看>>
LeetCode166. Fraction to Recurring Decimal(思路及python解法)
查看>>
LeetCode454. 4Sum II(思路及python解法)
查看>>
LeetCode395. Longest Substring with At Least K Repeating Characters(思路及python解法)
查看>>
LeetCode29. Divide Two Integers(思路及python解法)
查看>>
LeetCode1038. Binary Search Tree to Greater Sum Tree(思路及python解法)
查看>>
LeetCode18. 4Sum (思路及python解法)
查看>>