搞定黑莓BlackBerry JDE 7.1报500错误无法下载问题

BlackBerry JDK Download 500 Error

最近有个程序要在黑莓手机上去跑一下,于是去官方下载

https://developer.blackberry.com/bbos/java/download/jde/

点击下载链接http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=00EC53C4682D36F5C4359F4AE7BD7BA1&dl=FF6622A42D684A5F18B53B8D94C9BE98

直接报500错误,如下

HTTP Status 500 -
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:397)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
    org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
    org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    com.rim.webservices.apps.sdownload.http.JsessionIdRemoveFilter.doFilter(JsessionIdRemoveFilter.java:60)
    com.rim.webservices.apps.sdownload.http.CharEncodingFilter.doFilter(CharEncodingFilter.java:30)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause

我是相当着急,直接给官方发了邮件,过了一会儿我一想黑莓现在不太行了,不知道邮件什么时候才能看到,于是我直接用curl探测了一下上面的地址,结果真拿到了下载地址,在Cookie的AKAMAI_DOWNLOAD_TOKEN字段,真是幸运啊

$ curl -I http://swdownloads.blackberry.com/Downloads/contactFormPreload.do\?code\=00EC53C4682D36F5C4359F4AE7BD7BA1\&dl\=FF6622A42D684A5F18B53B8D94C9BE98
HTTP/1.1 302 Moved Temporarily
Date: Thu, 16 Jul 2020 13:37:26 GMT
Server: Apache
X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0
Location: http://swdownloads.blackberry.com/Downloads/pages/developer_download_akamai_http.jsp
Content-Type: text/html
Set-Cookie: JSESSIONID=6B82806D9A900ECCC8683EAB15C25106.node1; Path=/
Set-Cookie: AKAMAI_DOWNLOAD_TOKEN=http://downloads.blackberry.com/swdownloads/SWDL62/BlackBerry_JDE_7.1.0.exe?__dlmt__=1594926646_0c0ae726f863d93c5f9a6785cdaaf8f7&ext=.exe; Expires=Thu, 16-Jul-2020 17:37:26 GMT
Via: 1.1 swdownloads.blackberry.com
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1;mode=block
X-Content-Type-Options: nosniff
Set-Cookie: BIGipServerEXT-BGWT_C29=1093403402.20480.0000; path=/; Httponly

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

 桂ICP备15001694号-3