RMI UnmarshalException Occurs after some time
Hi,
I have a client server application that talks via rmi. My client saves data to a server or gets data by passing in parameters that include string, boolean and a Hashtable. The data is saved and retrieved many times. However, after some time, the RMI can't even find the method. That is, the client calls a method and I get a unmarshalling exception from the client, basically stating that it can't find the method.
Here is the method in my interface, the method in question is the override method, the getLast works fine all the time:
public interface Admin extends Remote
Hashtable getLast(Hashtable setLashtHash) throws RemoteException;
//override method can query or set a new data in the form of a hashtable. It return a Hashtable or null
Object override(boolean setNew, String ticker, boolean getOverrideHash,boolean getLast, boolean getPrevious,Hashtable newOverride) throws RemoteException;
Here's the implementation of override:
synchronized public Object override(boolean setNew, String ticker, boolean getOverrideHash,boolean getLast, boolean getPrevious,Hashtable newOverride) throws RemoteException
try{
if(setNew)
if(newOverride!=null)
System.out.println("Saving override hash, entries=" + newOverride.size());
overrideHash=newOverride;
else if(getOverrideHash)
if(overrideHash!=null)
System.out.println("Getting override hash entries=" + overrideHash.size());
return overrideHash;
else
if(getLast)
if(overrideHash==null)
System.out.println("override hash is null");
return null;
OverrideStruct os=(OverrideStruct)overrideHash.get(ticker);
if(os.last!=null)
System.out.println("Last price for ticker " + ticker + " is=" +os.last);
Float last=os.last;
return last;
return null;
else if(getPrevious)
if(overrideHash==null)
return null;
OverrideStruct os=(OverrideStruct)overrideHash.get(ticker);
if(os.previous!=null)
Float previous=os.previous;
return previous;
return null;
}catch(Exception e)
System.out.println("Unknown Exception caught in override function");
e.printStackTrace();
return null;
Here is the exception, please help.
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.UnmarshalException: invalid method hash
java.rmi.UnmarshalException: invalid method hash
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at AdminImpl_Stub.override(Unknown Source)
at StocksTable$12.run(stockstable.java:481)
Please help,
Thanks Steve
By the way, this is how my server calls the client:
Hashtable otable=(Hashtable)a1.override(false,new String(""),true,false,false,new Hashtable());
Similar Messages
-
TPM Error ID 13 and 516 occuring after some time
Hi all,
on my TP X301 a TPM error occurs always after some up-time. I get error IDs 13 and 516 in the Windows Error Protokolls. This is leading to an unusuable Client Security Password Manager. Client Security then tells me that the communication with the TPM-chip is blocked...
The Windows online Help for these IDs suggest me to replace the TPM hardware. I do not believe it is a hardware problem since fingerprint reader is working fine....?
Anybody got a suggestion on this?
I got vista x64 running.
The error information in German is:
TPM Error ID 13: "Beim Gerätetreiber für das Trusted Platform Module (TPM) ist ein nicht behebbarer Fehler in der TPM-Hardware aufgetreten, der die Verwendung der TPM-Dienste (z. B. Datenverschlüsselung) verhindert. Wenden Sie sich an den Computerhersteller, um weitere Hilfe zu erhalten."
TBS Error ID 516: "Fehler bei der Kommunikation mit dem TPM. Vom Treiber wurde 0x8007045d zurückgegeben."
ThanX a lot in advance.
St.Here is an explanation of the failure:
1. Prioritized replication was introduced with DS6.0;
2. When a suffix at a DS6 instance is initialized from a DS5 instance, and then an operation is performed at the DS6 instance that uses prioritized replication, replication fails;
3. By default, password policy uses prioritized replication to propagate auth-failure-lockout state updates (e.g., adding a pwdFailureTime attribute value on a failed bind attempt);
A work-around:
Disable DS6 supplying auth-failure lockout state using prioritized replication. In any password policy having auth-failure-lockout enabled, set
pwdIsLockoutPrioritized:FALSE
Note that DS6 enables prioritized lockout by default, in particular, it enables this feature when migrating a password policy received from a DS5 instance. Hence, for this workaround to be effective, the prioritized lockout feature must be disabled in any DS6 password policy that has auth-failure lockout enabled, which could include:
1. The default password policy at any DS6 instance (cn=password policy,cn=config);
2. Any password policy originating at a DS5 instance, including those in data imported into a DS6 instance, received via replication total update initialization, or added at the DS5 instance subsequent to the DS6 instance initialization;
3. Any password policy added to a DS6 instance.
Additionally, do not set any prioritized replication rules for other attributes.
It is possible the bug can still be triggered in the case of a DS6-only topology that was initialized from DS5 data.
Contact Sun support for the status of a fix for the bug. The CR is 6645742. -
How to handle TDMS -2519 error that appears after some time?
Dear all,
I am having two compactRio devices (cRIO-9074) that are applied for data logging and control. As is convenient, one deterministic loop handles the data acquisition, while another loop handles the data storage.
The data storage loop basically creates a new TDMS file per data set that is subsequently stored to the disk.
The whole software operates as expected for some time (at least one day without any issues), but then I get a File I/O error -2519 that is thrown by TDMS open. This error occurs after some time on both compactRio systems. How should I handle this error properly and what may be the probable cause?
Upon system restart the error disappears and the system continues logging. Therefore, when having this error, I restart the system automatically, but this is to my opinion no proper solution. The fact that the error is cleared upon system restart, seems like it is a resource problem as outlined in: http://forums.ni.com/t5/Real-Time-Measurement-and/2519-error-trying-to-create-a-TDMS-file/td-p/26546... There they recommend using the FPGA programming mode to save on resources. However, I would like to continue using the Scanning Mode Interface instead. To better dedicate the processor resources, I changed the execution options of the different loops and gave Priority to the data acquisition and data storage loop. I also distributed the processes in different Execution Systems, to optimally divide tasks within the real-time processor.
When I manually neglect the error (just clear the error in the data storage loop), the issue remains for the following data sets that need to be processed. So once the error is thrown, it reoccurs upon trying to store each subsequent data set.
I also consulted http://forums.ni.com/t5/Real-Time-Measurement-and/tdms-2519-error/m-p/2569381/highlight/true#M13920 where the same error is reported and the solution is to update a .dll file in the installation. However, the installed software in my case appears to be okay. Also in that case, the problem occurred immediately, while in my case the problem arises after some time. Again this indicates towards a resource issue.
Can you please provide me with some possible solution to overcome this problem? I am looking forward to your opinions. Contact me if anything is unclear within my explanation, or you need additional information.Hi gielvdbroeck,
Good job for the perfect description and for the well researched topic!
The first thing that comes to my mind is to Format and reinstall the software on the cRIO. This will make sure that you have a clean installation and there is no corruption in the OS.
One more thing to get into account is the memory. If you do not have enough memory where to store the file it's possible to throw this error.
Best,
Bozhidar -
RMI: UnmarshalException, can't find method after some time.
Hi,
I have a client server application that talks via rmi. My client saves data to a server or gets data by passing in parameters that include string, boolean and a Hashtable. The data is saved and retrieved many times. However, after some time, the RMI can't even find the method. That is, the client calls a method and I get a unmarshalling exception from the client, basically stating that it can't find the method.
Here is the method in my interface, the method in question is the override method, the getLast works fine all the time:
public interface Admin extends Remote
Hashtable getLast(Hashtable setLashtHash) throws RemoteException;
//override method can query or set a new data in the form of a hashtable. It return a Hashtable or null
Object override(boolean setNew, String ticker, boolean getOverrideHash,boolean getLast, boolean getPrevious,Hashtable newOverride) throws RemoteException;
Here's the implementation of override:
synchronized public Object override(boolean setNew, String ticker, boolean getOverrideHash,boolean getLast, boolean getPrevious,Hashtable newOverride) throws RemoteException
try{
if(setNew)
if(newOverride!=null)
System.out.println("Saving override hash, entries=" + newOverride.size());
overrideHash=newOverride;
else if(getOverrideHash)
if(overrideHash!=null)
System.out.println("Getting override hash entries=" + overrideHash.size());
return overrideHash;
else
if(getLast)
if(overrideHash==null)
System.out.println("override hash is null");
return null;
OverrideStruct os=(OverrideStruct)overrideHash.get(ticker);
if(os.last!=null)
System.out.println("Last price for ticker " + ticker + " is=" +os.last);
Float last=os.last;
return last;
return null;
else if(getPrevious)
if(overrideHash==null)
return null;
OverrideStruct os=(OverrideStruct)overrideHash.get(ticker);
if(os.previous!=null)
Float previous=os.previous;
return previous;
return null;
}catch(Exception e)
System.out.println("Unknown Exception caught in override function");
e.printStackTrace();
return null;
Here is the exception, please help. Does anyone know why the exception is "invalid method hash"? I don't understand why it's saying that, I am calling method override(....).
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.UnmarshalException: invalid method hash
java.rmi.UnmarshalException: invalid method hash
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at AdminImpl_Stub.override(Unknown Source)
at StocksTable$12.run(stockstable.java:481)
Please help,
Thanks SteveBy the way, this is how my server calls the client:
Hashtable otable=(Hashtable)a1.override(false,new String(""),true,false,false,new Hashtable()); -
Java.rmi.UnmarshalException after some time without a process restart.
Hello,
I am having a problem when I use RMI connection. I run a process which creates its own RMI registry and binds to it in the following way:
private void registerRmi() throws Exception {
// Register an instance of RunServices with the
// RMI Naming service
// Install a security manager that can handle remote stubs
System.setSecurityManager(new RMISecurityManager());
String serviceName = IScannerRmiCommands.RMI_NAME;
log.infoF("General.Info.RegisteringRMIService", serviceName);
try {
if (s_registry == null) {
s_registry = LocateRegistry.createRegistry(IScannerRmiCommands.RMI_PORT);
s_registry.rebind(serviceName, this);
s_registredRmi = true;
log.infoF("General.Info.RMIServiceRegistered");
} catch (RemoteException e) {
log.fatalF(e, "General.Fatal.RMIServiceRegistrationFailed");
}The client applications are able to connect to this process, but after some time clients start to receive the following exceptions:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at com.x1.util.RMIHelper.doLookup(RMIHelper.java:23)
at com.x1.util.RMIHelper.lookup(RMIHelper.java:83)
at com.x1.setup.admin.Administration.lookupRemoteScanner(Administration.java:123)
at com.x1.infrastructure.statistics.StatisticResponseHandler.createMPResponse(StatisticsProvider.java:1337)
at com.x1.infrastructure.statistics.StatisticResponseHandler.run(StatisticsProvider.java:157)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 8 moreI can't reproduce this on my dev environment but a customer experiences this quite often. They don't have any firewall running or antivirus software on these machines.
Any help will be highly appreciated.
Thanks in advance.
Edited by: rossenv on Oct 2, 2009 2:18 PMNo, I don't see any errors at server's site and this is the most strange thing. It seems that server operates normally except it stopped execute RMI commands until it is restarted. After that it responds properly and after some time stops again with the same client exception.
-
i was downloading and restoring uodates but after some time showed a txt an error occured. now i m unable to open my mobile jst showing apple sign on display
Hi shameemiubat,
Thanks for visiting Apple Support Communities.
You can use the steps in this article to restore your iPhone to working order:
iOS: Unable to update or restore
http://support.apple.com/kb/ht1808
Best,
Jeremy -
Urgent : MDB stops listening to the queues after some time !!!
Hi,
I am using OJMS with OC4J 10.1.2 and db 9.2.0.5. I have a web application which send messages into the queue very frequently.
But the problem is the MDBs stop listening to the queues after some time (1-2 days) and no more messages will be dequeued from that point.
All these messages will move to the exception queue after their expiry.
But the dequeing agains resumes after restarting the OC4J !.
I guess, at some point mdbs are either becoming busy (locked ) or some exception occured while dequeing, hence they stop listening to the queues.
Please throw some light on this issue as it is very crucial in my project.
Regards
PrashanthI've noticed this lately as well, with my iPhone 4. I couldn't confidently pin it directly on any particular iOS update, but my iPhone used to automatically connect up via Bluetooth with my Prius's handsfree feature, and now it doesn't. I work with a CE-based device at my job, with Bluetooth capability, and I used to test out that feature by having it discover my iPhone. This no longer works either.
What I have found (not really a solution, but it does work and may be a clue for Apple) is that if I simply go to the Settings app then the General -> Bluetooth screen and let it sit there, it will pair right up with my car within a few seconds. Bluetooth is always on, and always says "Now Discoverable" at the bottom of the settings screen. -
IE prompts credentials after some time and we get error rsHttpRuntimeClientDisconnectionError
Hi all,
Windows Server 2012
Reporting Services 2012 SP2
Internet Explorer 8
After some time running a report the end user is asked for his credentials again with the authentication prompt.
In the ExecutionLog we see the Client (IE) has its connection disconnected =
rsHttpRuntimeClientDisconnectionError
The server parameter are attached:
We appreciate any clue.
Thanks,
Alex Berenguer
Alex BerenguerHi Alex,
Per my understanding that you are running the report for sometime an then IE prompt for credential and you to this kind of error, right?
Based on my research, the "rsHttpRuntimeClientDisconnectionError" error may occur if:
Reporting Services creates the report and then goes to send it back to the client
Reporting Services finds out that the connection has been closed and responds with the disconnection error.
To resolve the issue, we can try to modify the TCP profile applied to the VIP.
Additionally, the issue may also occur due to a RESET coming from something between Report Server and the custom application. For example, an F5 NLB times these connections out on the either an HTTP or TCP level.
If your problem still exists, please also check if you will got the same problem on the other browser(firefox),you can also provide us more details information about the
TimeDataRetrieval,TimeProcessing,TimeRendering in the ExecutionLog table.
Similar thread for your reference:
ssrs Report taking to much time to load
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Able to ssh the firewall from remote location but after some time when command is excuted.the firewall hangs.
Below is the version details
Cisco Adaptive Security Appliance Software Version 8.2(5)
Device Manager Version 7.1(1)52
Compiled on Fri 20-May-11 16:00 by builders
System image file is "disk0:/asa825-k8.bin"
Config file at boot was "startup-config"
Hardware: ASA5520, 2048 MB RAM, CPU Pentium 4 Celeron 2000 MHz
Internal ATA Compact Flash, 256MB
BIOS Flash Firmware Hub @ 0xffe00000, 1024KBHi Jesu,
Thanks for reply
i can not confiure and test telnet as i manage this firewall remotely(over internet by ssh).To do that i have to create Ipsec VPN.
One more this when this event occur i can not even ping my firewall.(request time out )
i have send the show tech output to your mail id
output of other command
show resource usage
Resource Current Peak Limit Denied Context
SSH 2 2 5 0 System
Conns 2 73 280000 0 System
Hosts 2 22 N/A 0 System
show ssh sessions
SID Client IP Version Mode Encryption Hmac State Username
0 202.x.202.x 2.0 IN aes256-cbc sha1 SessionStarted xxxx
OUT aes256-cbc sha1 SessionStarted xxxx
1 202.x.202.x 2.0 IN aes256-cbc sha1 SessionStarted xxxx
OUT aes256-cbc sha1 SessionStarted xxxx
show asp table socket
Protocol Socket Local Address Foreign Address State
SSL 0000251f 192.168.1.1:443 0.0.0.0:* LISTEN
SSL 00005d0f 14.x.90.x:443 0.0.0.0:* LISTEN
TCP 0000ce6f 14.x.90.x:22 0.0.0.0:* LISTEN
TCP 001aee28 14.x.90.x:22 202.x.202.x:50318 ESTAB
TCP 001b6a08 14.x.90x:.22 202.x.202.x:50512 ESTAB
sh memory
Free memory: 1882253576 bytes (88%)
Used memory: 265230072 bytes (12%)
Total memory: 2147483648 bytes (100%)
Regards,
Prashant -
BFF62048 Error after some time
Hello everyone,
I need CAN to communicate between a converter and our test cell. I use an NI PCMCIA-CAN/2 Card and LabVIEW 2012 SP 1. My program works fine but after some time I get an the error BFF62048. I know what it means but I don't know where the problem is nor how to solve it.
I use the Channel API for programming the CAN-communication.
The problem is I need to write at different timings on the can. Some messages need to be sent at 12ms others at 100ms. Therefore I initialized the messages in different tasks.
For CAN 1 have 1 readtask and 4 writetasks. For CAN 2 I have 1 readtask and 2 writetasks. I hope it is not too much for this little card.
The readtasks were both executed at 10ms after each other. The writetasks are executed in several parallel loops, except for one writetask. I need to send back an "alive value" immediately, so I read a value from my CAN-read-array and put it back on the CAN with a writetask. Which means I have to access the card 3 times in one loop.
I reduced the execution of my CAN-read-loop from 10ms to 20ms and the program runs much longer. (from ~30 min to 4 hours)
In my opinion the problem should occur immediately after I started my program not after some hours.
If someone have some advices for me, that would be great.
Thanks,
RinoI use Labview 2012 (fully updated). Driver Version is 2.7.4
I don't think there is a problem with the bus load. Only 50 % of the capacity is used.
Unfortunately we are in lack of hardware, but I'm sure my code will work on a "real" PCI-CAN card. Is it possible, that the PCMCIA-card maybe has a problem with too many tasks? I couldn't find any information regarding the task limit in the hardware specification or I'm blind
I attached the project as *.zip file. I had to remove the can database files (*.dbc) because they are confidential.
Attachments:
Abnahme_629.zip 1058 KB -
My manager is having a problem. "randomly" reoccurring meetings in outlook will after some time start showing as this:
"Exchange 2013 re-created a meeting that was missing from your calendar"
With all the "meat" of the body is missing.
We are running Exchange 2013 SP1 and Outlook 2013. They look the same in OWA. Meetings can be from different senders, different times etc.
Any thoughts?Microsoft have confirmed this is an issue with Exchange Online via the O365 Dashboard:
Current Status: Engineers have developed a fix and are currently testing to ensure successful remediation.
Customer Impact: Affected customers are experiencing issues with incomplete meeting information for a limited number of invites set to occur between the dates of August 7th, 2014 and September 12th, 2014. For the affected calendar invites, customers may see
meeting content replaced with a canned message stating, “Exchange 2013 has re-created a meeting that was missing on your calendar.” This issue is only affecting the body of the calendar invite for attendees, and not the meeting organizer.
Also, this does not affect the title, location, date and time, or the attendee list.
Workaround: As a workaround, customers can re-send affected calendar invites. Additionally, if the calendar invite contains Lync meeting information and the information does not appear in the message body, attendees may be able to use the ‘Join Lync Meeting’
button that appears in Outlook, Outlook Web App (OWA), and the mobile client to join the scheduled meeting.
Incident Start Time: Thursday, August 7, 2014, at 12:00 AM UTC
Preliminary Root Cause: A recent update to the service caused the Calendar Repair Assistant feature to misidentify some meetings on the attendee’s calendar as missing. By design, the feature recreated the meeting invite, including the title, location,
date and time, but replaced the body of the calendar invite with the canned message.
Next Update: Monday, August 18, 2014, at 4:00 PM UTC -
i wana restore my iphone 3g but when i restore it with itunes after some time is say '' iphone could not restored unknow error 1015 '' help me please
99% because your iPhone was hacked/jailbroken. We cannot help you, see terms of use.
Error 1015: This error is typically caused by attempts to downgrade the software for an iPhone, iPad, or iPod touch. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version isn't supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you're now trying to restore to an authorized, default state. -
HI
I created a web application and configured rbs storage ,
I uploaded documents (for ex: 18 number)
after uploaded documents , and observed the RBS storage folder, number of files are increasing (39 number) , its working fine
and also I run the querys to check the rows increasing or not , (when I upload new doc rows are increased its fine also)
select count(*) from alldocs
Select count(*) from AllDocstreams
but when I delete some docs from document library ,
1)the doc itself deleted from document library
2)when I check the rbs storage there is no number of files are decreased(its still 39 files ), its same as before doc deleted from doc library
after some time I found the number of files are decreasing from RBS storage folder in sql server,
here I want to know the how the files are decreasing from RBS storage after some time, where shld I check the settings for this? and how I control on it
here how I know the settings for cleaning up orphan BLBOS how these deleted BLOB
adil1. WHen you delete the file from Sharepoint, it is still present in Recycle bin. This is a default setting in sharepoint for 30 days. Once files are deleted fro Recycle bin, it can also be delete from RBS
2. There is a RBS cleanup job which deletes files from RBS. for more info check
http://mehuljamod.blogspot.in/2012/09/remote-blob-storage-maintainer-rbs.html -
How can i Delete all foto from my iphone and after some time get them one more time on it but not as a new album, i want them in the camera roll ?
How can I delete EVERY THING off my Mac and have it like new?
Boot from the software install DVD and do an "erase and install" when prompted. -
Hi,
I have an Iphone 3G.
Its 9 months old mobile and it has OS 4.2 in it.
When I am accessing wi-fi, suddenly the display went-off and then I was not able to start my phone again.
Later I tried to restore and update the Iphone using Itunes.
I have updated the Itunes.
Using hard-reset, I tried to restore the OS and did the same successfully.
After installing the same over my Iphone 3G, I didnt recieved any intimation for completion of the process, besides, I was not able to start the mobile even I have reset the OS.
when I push the wake-up button, I am able to see the Apple Logo and after some time, it goes off and remains idle with no more display.
I tried to reset OS twice, it remained the same.
Can any one help me here with this issue.
I am not even able to figure-out the cause of the problem.
Thanks in advance.
Bharath.Hi,
I have an Iphone 3G.
Its 9 months old mobile and it has OS 4.2 in it.
When I am accessing wi-fi, suddenly the display went-off and then I was not able to start my phone again.
Later I tried to restore and update the Iphone using Itunes.
I have updated the Itunes.
Using hard-reset, I tried to restore the OS and did the same successfully.
After installing the same over my Iphone 3G, I didnt recieved any intimation for completion of the process, besides, I was not able to start the mobile even I have reset the OS.
when I push the wake-up button, I am able to see the Apple Logo and after some time, it goes off and remains idle with no more display.
I tried to reset OS twice, it remained the same.
Can any one help me here with this issue.
I am not even able to figure-out the cause of the problem.
Thanks in advance.
Bharath.
Maybe you are looking for
-
Errors found while migrating commands using OATM
hi, Found errors after migration using OATM in error report log,Please find the below snapshot. We are having 11i(11.5.10.2) Applications on 11gr2 (11.2.0.2) database. Object Object SubObject Schema name type type Migration Error ALR ALR_VALID_RESPON
-
Iphone in recovery mode, how can i make assure that my data will not erase
firstly thanks for quick reply. sorry sir, i am confused in last line you wrote, " This will erase the phone but you will be given an option at the end to restore to an existing backup, if you have one." i did not understand last sentence - if i have
-
Concatenating multiple rows from asingle column
hi, Could anyone help me in writing a query for following I have columns A B 1 a 1 b 1 c 2 d 2 e 3 f 3 g O/p C 1 abc, 2 de, 3 fg can anyone help me out in writing this ...I appriciate it. Thanks,
-
How to generate jar file?
Dear All I developed a java mobile application and it contains an xml file and it works fine on mobile. But when I open it with WinRar and change some data in the xml file and then save it, it doesn�t work on the mobile. So, is there any windows appl
-
Disabling navigation when on a particular form
Hi, Is it possible to disable navigation (moving from one record to another) when on a particular form? Some sample codes will be great. Thanks.