BookmarkSubscribeRSS Feed
mendim02
Calcite | Level 5

Hello,

 

When SAS loads normally, and I get to the localhost page, I click "start studio" and this error message appears (see below). 

Is this an error on my end, or is the server down? I am using the most up to date version of SAS University, on my Mac Book, and using Oracle VM Virtual Box Manager. I tried restarting my computer twice, but still get the same error.

 

Please let me know at your earliest, thank you very much. 

 

TTP Status 500 – Internal Server Error


Type Exception Report

Message java.lang.ClassFormatError: Truncated class file

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: java.lang.ClassFormatError: Truncated class file
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:348)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:100)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sas.ep.sascoder.servlets.CacheBusterResolverFilter.doFilter(CacheBusterResolverFilter.java:44)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1216)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	com.sas.ep.sascoder.servlets.SecurityHeaderFilter.doFilterInternal(SecurityHeaderFilter.java:36)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
	com.sas.ep.sascoder.servlets.CacheBusterResolverFilter.doFilter(CacheBusterResolverFilter.java:44)

 

Root Cause

java.lang.ClassFormatError: Truncated class file
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	java.security.AccessController.doPrivileged(Native Method)
	java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:376)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:100)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sas.ep.sascoder.servlets.CacheBusterResolverFilter.doFilter(CacheBusterResolverFilter.java:44)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1216)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	com.sas.ep.sascoder.servlets.SecurityHeaderFilter.doFilterInternal(SecurityHeaderFilter.java:36)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
	com.sas.ep.sascoder.servlets.CacheBusterResolverFilter.doFilter(CacheBusterResolverFilter.java:44)

 

Note The full stack trace of the root cause is available in the server logs.

3 REPLIES 3
jennifert
SAS Employee

Hi @mendim02 ,

 

Here are a couple earlier discussions about this error that might be helpful - try deleting the SAS University Edition instance within VirtualBox and reimporting it. If that doesn't work, you might need to try re-downloading SAS University Edition.

 

HTTP Status 500 - java.lang.ClassFormatError: Truncated class file

Unable to connect with SAS University Edition

 

I hope that helps!

Jennifer


Catch the SAS Global Forum keynotes, announcements, and tech content!
sasglobalforum.com | #SASGF

iRobot0101
Calcite | Level 5

So this is what I did.

 

I am assuming you are running Catalina OS Beta.

 

Uninstall VB, and reinstall it.

 

Reinstall the application .ova

 

Set up the folders the same way etc.

 

Run the virtual machine as "Detached Start"

 

Before exiting the machine, make sure to "Save the state" of the machine. Do not SHUTDOWN the virtual machine. If you do this, you will have to repeat all the previous steps.

 

Lastly, do not use SAFARI. You will not be able to upload files. Use Firefox.

 

=D

satishnarra
Calcite | Level 5

Hi,

Step 1:

Remove the unvbasicvapp (sas file) from VM ware work station.

Reimport the file once again into VM ware workstation.

Step 2:

Remove the cache from the browser and then run the sas app in the VM ware workstation.

Step 3:

Now open the address http://192.168.124.129 in the browser as mentioned in the VM Ware work station.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 4758 views
  • 0 likes
  • 4 in conversation