Learning SAS? Welcome to the exclusive online community for all SAS learners.

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

Reply
Occasional Learner
Posts: 1

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

After pressing the Start Studio in SAS University Edition. I have the following error with all kinds of browsers (Explore, Firefox and Chrome)

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

I can not access the SAS University Edition. You can find the pdf file of the error as attachment.

Ali

N/A
Posts: 1

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

I am having the same issue, so it doesn't seem to be unique to you.

Occasional Contributor
Posts: 5

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

HI i had the same please try virtual box it will work

New Contributor
Posts: 2

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

What does "try virtual box" mean.  I installed the virtual box today and got Studio to open one time. After turning computer off and trying to open Studio later, I got the error.  I uninstalled the VM box and reinstalled and I still having the same problem.  Anyone know how to fix?

New Contributor
Posts: 2

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

Uninstall and reinstall and it will work.

Occasional Contributor
Posts: 5

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

Hi Please extract the SAS university Package and then please create myfolders sub folder then try to open the package through the Vmware or Either Virtual Box.I hope this will help

New Contributor
Posts: 3

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

I'm having the same problem. Did anyone find a fix besides uninstalling and reinstalling since that hasn't made a difference for me?

Learner
Posts: 1

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

I'm hoping you solved this problem, but I just figured it out and thought I would post for future users.

 

1. Start the virturalbox (VB) installer, and select 'uninstall'. Follow the prompts. 

2. Do NOT reinstall. Instead restart your computer.

3. Reinstall VB. Import the SAS appliance, and reset your 'myfolder' directory

4. Run SAS-University-Edition in VB, follow browser instructions

5. Type some test code, and save it.

 

Now this is important.

 

6. Close the browser

7. Attempt to close the black screen 'SAS-University-Edition - Oracle VM VirturalBox'

8. Do NOT 'shut down' the application. Instead, 'Save the machine state'

9. All done. 

SAS Employee
Posts: 45

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

The suggestion @zdfhsdfgh provided will work, but you do not necessarily have to uninstall VirtualBox

 

If you simply delete the SAS-University-Edition instance inside of VirtualBox and re-import it, you will be able to run SAS-University Edition again. 

 

When using VirtualBox, I find that "sending the shutdown signal" or "ACPI shutdown" is much more graceful than simply powering off the machine. 

Occasional Learner
Posts: 1

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

I've struggled with this error msg too. I have tried all solutions people mentioned above but they didn't work for me. The step that finally solved this problem for me was to run VM Visual Box as Administrator..I'm on Windows 7 64bit. I feel this is becoming a random trial.. Hope this gives those who're still struggling some new clue..

 

Ask a Question
Discussion stats
  • 9 replies
  • 4364 views
  • 0 likes
  • 8 in conversation