java - 使用 jsoup 时 Java 运行时环境检测到致命错误
问题描述
我已经在 foo 循环中运行下面的命令来获取 myurl 的 html 数据
doc = Jsoup.connect("myurl").get();
当我使用上面的代码时,我得到了以下错误
A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f2bd695c76c, pid=12495, tid=0x00007f2bd4863700 JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops) Problematic frame: V [libjvm.so+0x99876c] oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x7c Core dump written. Default location: /home/cardekho/tomcat/apache-tomcat-9.0.21/bin/core or core.12495 An error report file with more information is saved as: /home/cardekho/tomcat/apache-tomcat-9.0.21/bin/hs_err_pid12495.log If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp
解决方案
推荐阅读
- linux - 将 docker 容器目录挂载到共享目录
- angular - 带有角度 7 信息窗口的 Google Maps 多个标记
- botframework - 从微软框架 BOT 框架切换到基于亚马逊云的聊天 BOT。任何相同的通用框架?
- javascript - 如何对 JavaScript 数组进行分页?
- angular - 如何将图像和数据(如姓名、年龄、id、性别)从 dotnet core webapi 控制器一起发送到 angular 前端并在前端使用
- php - Laravel phpunit 如何使用不同的迁移进行测试
- angular - 可以激活保护验证 url 参数
- go - 为什么恐慌不会发生?
- android - ionic 4 cordova android 构建错误-transformDexArchiveWithExternalLibsDexMergerForDebug
- node.js - 安装了错误的包