Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3223202
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:04:47+00:00 2026-05-17T16:04:47+00:00

The server starts fine, but the error occurs when I try to add any

  • 0

The server starts fine, but the error occurs
when I try to add any job from the Client. I get the
following error

java.rmi.MarshalException: error marshalling arguments; nested exception
is: 

    java.io.NotSerializableException: snaq.db.CacheConnection
    at Production_Stub.addGRN(Production_Stub.java:1515)
    at ProductionServices.addGRN(ProductionServices.java:21)
    at PlanningServices.addGRN(PlanningServices.java:22)
    at Planning.addtoGrn(Planning.java:9949)
    at Planning.saveAllBundleRelatedTables(Planning.java:9582)
    at Planning.savebundlesheet(Planning.java:9251)
    at Planning_Skel.dispatch(Planning_Skel.java:6555)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.NotSerializableException: snaq.db.CacheConnection
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1059)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at Production_Stub.addGRN(Production_Stub.java:1513)
    ... 14 more

What is the solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:04:48+00:00Added an answer on May 17, 2026 at 4:04 pm

    What is going on here is that one of the object that you are trying to send over RMI is an instance of the class snaq.db.CacheConnection, or (more likely) contains a reference to one somewhere.

    This ain’t going to work. The CacheConnection class is not serializable, and there’s a good chance that cannot be made serializable.

    A possible cure for this is to mark the field (or fields) of type CacheConnection in the classes you are trying to send as transient.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a fictitious web application ... The user clicks a link The server starts
If our server (running on a device) starts before a DHCP lease had been
My ASP.NET always starts like this with the internal server: http://localhost:50793/Website/ I use FckEditor
I start a .Net server side program on my local workstation, but soon it
I start to write a client - server application using .net (C#) for both
I need to start and stop SQL Server from the command line. I am
I am starting a new client/server project at work and I want to start
I have a job on SQL Server 2005 running a ssis package. The package
My os: windows xp, ruby: 1.8.7, rails: 2.3.5 Everything was fine, but I just
i am using Solaris 10 OS(x86). i installed beanstalkd and it starts fine by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.