Application error with ResultSet
Hi everyone,
I meet a big problem. My ResultSet just can get few data, under 20, otherwise, my program will get application error in the MFC application.
"The instruction at "0x77f53207" reference memory at "0x000000000". The memory could not be "written".
The code runs correctly and the error will not happed under DOS mode. However, when I move them to MFC application, the error happen.
Please give me a help
Thanks a lot!!!!
Hi Shanker
Currently, I am using MultiThreaded run-time library, and oraocci9.lib. If I use /MTd, I can not fetch out the data set. The problem is assertion failure. Expression : _CrtIsVaildHeapPointer.If I use /MT, the application error(memory error) will happen if I reuse the ResultSet later, but I can fetch out all data in the first time.
void DecryptForm::OnSelect()
string data;
CString dataStr;
CString currTableName;
CString query;
currTableName = getTableName();
query.Format("select column_name from user_tab_columns where table_name = '%s'", currTableName);
rs = myOracleInfo->search((LPCTSTR) query);
m_list_attr.ResetContent();
while(rs->next())
data = rs->getString(1);
dataStr = data.c_str();
m_list_attr.AddString(dataStr);
Could you give some suggestions?
Thanks
Maivis
Similar Messages
-
Firefox will not start, I've tried opening in safe mode, no joy. I get the firefox.exe application error 0x00000000
== This happened ==
Every time Firefox opened
== Possibly after a windows update ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; YPC 3.2.0; .NET CLR 1.1.4322; InfoPath.1)Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall -
6300 'Application error' with Sensor
i've had lots of fun using Sensor but all of a sudden to my horror Sensor stopped working, im getting an
'Application error' when i loads up and the
'Details' are
"com.nokia.mid.appl.sensor.S...(small text at top of screen)
Security
java/lang/SecurityException
Access denied"
i've tried reinstalling it with a backup from andy29b (thanks mate) but still the same error, i've tried restoring it with a backup of my phone + memory card using PC Suite but the backup log showed that it only restore the Sensor '.jad' file.
Please help
Thanksupdate:
i figured if i highlight Sensor press 'Options' go to
'Application access>Data access>Add and edit data' there is 4 option:
"Ask every time
Ask first time only (disabled-grey)
Always allowed (disabled-grey)
Not allowed (highlighted)"
when i change this option to 'Ask every time' Sensor doesn't give me the 'Application error' any more but its not usable because it continuously asks to 'Allow application to edit and add new data in: Gallery' less then every second, i need to set this to 'Ask first time only' or 'Always allowed' but it wont let me
does anyone have a solution
and just incase my Sensor>Options>Details is:
Name: Sensor
Size: 320 kB
Created: 11-10-2007 07:37
Version: 1.23
Vendor: Nokia
Certificate: No -
Internal Application Error With Panic Transmit
I have been using Panic Transmit for years with Tiger, and Snow Leopard without any problems to upload to a server that handles my web site. I now have Lion and every time I try to upload a corrected page for my web site I get the following error message.
I am not sure if it has to do with any Apple functions or the remote server that I am using, I am not very familiar with this.
Below is the error message I get every time I open up Transmit to upload a page, can someone tell me if it has to do with some thing in my OS Lion or ? The message below is what I get.
An internal application error has occurred. This error will cause instability, and it is recommended you quit and relaunch Transmit. I am not including the stack frame backtrace since it is very long. In the Console log, I have the message after the Problem Details.
Problem Details:
Application: Transmit [4095]
Version: 4.1.7
Identifier: com.panic.Transmit
Exception: NSRangeException
Reason: [NOTE: this exception originated in the server.]
*** -[__NSArrayM objectAtIndex:]: index 10 beyond bounds [0 .. 9]
Date/Time: 2011-12-31 21:06:21 +0000
OS Version: Version 10.7.2 (Build 11C74)
Architecture: Intel
Report Version: 6
Anonymous UUID: E66005C9-FE03-454A-92DD-0580E743FEB0
Console Log:
2011-12-31 13:51:52.000 Transmit[4095] CFURLCreateWithString was passed this invalid URL string: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
Please help, this is all confusing to me.
DaisymayHi jakesan,
At the time I was using Transmit last year to FTP to a server that was handling my website, I did not have any problems using Snow Leopard, it was when I installed Lion that I had a problem. I just looked at all of my old emails when I was sending back and forth information like plist etc., to Les a Panic tech. I spent about three weeks sending information to him, and he could not find out what the problem was, so I just stopped using Transmit.
I just clicked on Transmit to open up the application, and I still get the window with the error saying that
"An internal application error has occurred." I installed the new update to version 4.2 and got the same message.
Last year the company that I was using to host my website went out of business, and so I went with
Go Daddy, and I have been using their FTP program to make changes to my website as needed and I don't have any problems.
Some day I still may try to find out what is going on but when I mentioned this to Go Daddy in January, 2012 the tech's said that there have been many complaints on the web about this problem.
I don't know if anyone is having this problem with Mountain Lion, I have not downloaded the new operating system yet, maybe someone can let us know if they still have a problem with Transmit 4.2 and Mountain Lion.
Hope this helps you, but for now I would look at another FTP program to use, and maybe "Google" what would work with Lion or Mountain Lion.
Have a good Holiday Season,
Daisymay -
I am getting application error 0x7745a389 upon start up. My only option is to click on close this application box. any idea of how to fix this? Windows 7 home edition and Firefox
Thanks,
MitchStartup of Windows or your browser?
Does the message indicate what module produces this error? -
Application error with blackberry 8520 curve
hello,
i own a blackberry 8520 curve and i keep having the same problem with logging in into yahoo messenger.
while i can log in from a PC or another phone, logging in from this phone seems impossible, regardless the account i try logging in with. after it displays the ''connecting to" message it pops this: "'internal error. please try again''.
i tried reintroducing the internet connection settings; i reinstalled the application, i've put another SIM card into this phone and i've removed all the entries from my yahoo account's apps and website connections list - and it keeps popping the error message
i hope receiving an answer, 'cause it's been 4 days without getting to use the app.
Madalina NegrescuHello mady_rx8
Welcome to the Community
You may try this and hope it resolves the issue.
Login to Yahoo! mail via a computer browser.
Navigate to Account Information.
Select the Manage Apps and Website Connections.
Remove any access for BlackBerry® or RIM® related connections.
Launch Yahoo! Messenger for BlackBerry smartphones.
Sign in with valid Yahoo! credentials.
Goodluck
Ron
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter -
Webdynpro application errors with SLD,J2EE Engine - JCOs probelem
Hi,
I have developed a small webdynpro application
1. Passing 2 values to RFC
2. Getting result contents from RFC and displayed in a table.
I am getting following errors:
u2022 SLD is not accessible. Check SLD Data Supplier service settings.
u2022 Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.
u2022 ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
u2022 application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
Exception id: [0002559A6FCB0077000000A0000CF0E8000460EC9406F721]
u2022 application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
at
Please suggest me.Hi Kiran,
You need configure SLD and JCo destinations in your j2ee engine..
Check this [article |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5] to create the SLD and JCo destinations.
regards,
Siva -
Newport PCS application errors with
We have a Newport Laser Weld station running Newport PCS software (GUI and programming interface). It has a "Vision" option that apparently stopped working when the client loaded a Beta version of Newport's latest software, Integra. Both support code segments in VB.
When I tried to enable the Vision option, I got an error from their engine LWEngine "Cannot load Nidaq32.dll"
When I found and regsrv32 nidaq32 from c:\winnt\system32, I got the following regsvr32 error:
"c:\winnt\system32.dll was loaded, but the DLLRegisterServer entry point was not found. DLLRegisterServer may not be exported, or a corrupt version of c:\winnt\
system32.dll may be in memory. Consider using Pview to detect and remove it."
Rebooting did not clear this, and I'm a bit leary of using PView after reading Microsoft's description, plus if it were an orphaned process, a hard reboot would still kill it. By now I think I should NOT have regsvr32 the file, but I get the same type of error trying to Unregister it (/u).
I tried:
1. removing NIDAQ with add/remove programs
2. reloading NI-488.2 and reconfiguring GPIB
3. Installing what I believe to be the correct (earlier) version of NIDAQ (v 5.1 downloaded from natinst).
I think that when the client loaded the "latest and greatest" beta software, they ended up with a version mismatch on one or more files. I just don't know how to correct it (I do not have access to their code).
FYI: I am now getting a Service Control Manager error on reboots: "At leaset on service or driver failed during system startup. Use Event logger to examine the event log for details."
Any advice o
r pointers would be most appreciated!
Thanks in advance.
Beth
>Hello Beth,
Thank you for contacting National Instruments.
What programming language are you using? Are you using any NI DAQ cards?
The attached utility, MSIBlast, should remove all National Instruments related software from your computer, including nidaq32.dll. Once you have done this, you can reinstall whatever NI Software you need. If this does not work, please post the steps you took to generate the error.
I hope this helps,
Sean C.
Applications Engineer
National Instruments
Attachments:
msiBlast.exe 232 KB -
Lightroom open application error with cache
I purchased Lightroom and recently updated to 5.6 64 bit and when I attempt to open the application I get an error screen that says "Lightroom encountered an error when reading from its preview cache and needs to quit. Lightroom will attempt to fix this problem the next time it launches." And nothing fixes itself when I try to open it again. I have updated it to the newest version thinking that may help and so far nothing is helping. Suggestions?
IIf you look in the folder where your catalog is located, next to the .lrcat file, you'll find a folder with the same name ending in .lrdata.
Delete the folder, and LR will rebuild it when you restart it.
THe .lrdata folder contains the preview cache, and it can be rebuilt any time. Note that on a Mac this looks like a special file, but the process is the same. Trash it and let LR rebuild the previews.
mh++ -
Application error with btvstack.exe
I installed the Win 8.x drivers for Kworld's USB ATSC hybrid TV stick (UB445-U2) and they caused errors in btvstack.exe and bitcasa.exe. I contacted Bitcasa and they were able to help me resolve the bitcasa.exe error. I contacted Kworld about the btvstack.exe error and they recommended contacting Lenovo about this error because it is an application that is part of Qualcomm Atheros Bluetooth suite.
Please let me know if you know how to resolve the apparent driver conflict with btvstack.exe.
I have the following installed:
Windows 8.1 64 bit with current updates
Qualcomm Atheros AR3012 Bluetooth 4.0 + HS driver 8.0.1.305
Kworld UB445-U driver from Conexant 6.214.423.423t,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Planning - Sample application error with Classic Application Administration
Hi,
Planning is deployed with Tomcat and I get an error when I want to create an application with Classic Application Administration.
If I use EPM architect, it's OK.
Thanks if you have any idea.Hi,
Process failed to create an application.
In HyS9Planning-sysout.log:
Unable to find JDBC_CATALOG key for application: test
Connection to the datasource created successfully.
Setting HBR Mode to: 2
=2009-05-07 13:56:00,359 WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
d{ISO8601} WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
Embedded HBR initialized.
Reaquired task list lease: Thu May 07 13:56:00 CEST 2009: 1241697360531
Entering RegisterHelper.register method
registering Product: HP test http://hfm11:28080/interop
Entering RegisterHelper.register method
Error Code: -1
com.hyperion.css.CSSException: 30:1101:JNDI error. Error Code: -1
NestedException:
javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at HspValidationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
- Nested Exception:
javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
at com.hyperion.css.spi.util.jndi.CSSDirContext.createSubcontext(Unknown Source)
at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at HspValidationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
UnRegistering Application in HUB: test
trying to get corresponding project...
existing schema deleted
deleted app in essbasetrue
Error terminating Essbase connection: java.lang.NullPointerException
Thanks -
"Camera is in use by another application" error with built-in iSight
This message pops up if I try to do video preview in iChat or try to open Photo Booth. There are no other applications running that I can tell and I have unplugged all USB and firewire cables. Also performed a reinstall of bundled software from the Tiger DVD to no avail. (OS X 10.4.9, iChat AV 3.1.8 (v445) )
I am trying to set up iChat video for the 1st time with another .mac user -- we have been able to IM and audio chat, and the video preview works on their end. Help! Thanks, Derek.<<br>
PowerPC G4 Mac OS X (10.4.9) iChat AV 3.1.8 (v445)Thanks for the link Tony, but unfortunately still no luck in getting it to work. So far I have tried several things: 1) disconnecting all connections; 2) reinstalling Tiger bundled software apps; 3) creating a new login account; 3) "Repair Disk Permissions" from Util>Disk Util>First Aid; 4) SMC reset.
Something I've observed is that on a powerup restart, Image Capture will automatically launch and a "No image capture device connected" window will pop up. (This is because I set the Image Capture preferences to launch when a camera device is connected; it will launch iPhoto if preference setting is "iPhoto", or nothing if set to "none") Obviously my iMac seems to think a device is connected. However nothing unusual shows up in the System Profiler contents.
Is there another diagnostics tool to investigate or any other suggestions?
Thanks, Derek. -
Compile Error with ResultSet.CONCUR_UPDATEABLE
Hi All,
I get the following compile error
"CopyTable.java [49:1] cannot resolve symbol
symbol : variable CONCUR_UPDATEABLE
location: interface java.sql.ResultSet
Statement DestStmt = DestDB.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATEABLE);
^
1 error"
Is there a simple answer to this?
RGDS
RichardYou must type : CONCUR_UPDATABLE not CONCUR_UPDATEABLE
-
Serializable Error With ResultSet!!
Any help???? Pls.
Here is the error!!
RemoteException
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableE
xception: com.microsoft.jdbc.base.BaseResultSet
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableE
xception: com.microsoft.jdbc.base.BaseResultSet
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at DBAdmin_Stub.getTimetable(Unknown Source)
at DBClient.getTimetable(DBClient.java:18)
at ClientDatabase.actionPerformed(ClientDatabase.java:331)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializab
leException: com.microsoft.jdbc.base.BaseResultSet
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
... 27 more
Caused by: java.io.NotSerializableException: com.microsoft.jdbc.base.BaseResultS
et
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
ce)
at java.lang.Thread.run(Unknown Source)
Error: java.lang.NullPointerExceptionhere is the code.
import java.rmi.*;
import java.rmi.server.*;
import java.io.*;
import Database.*;
import java.sql.ResultSet;
public class DBAdmin extends UnicastRemoteObject implements DBAdminInterface, Serializable{
private String result;
private ResultSet tt;
public DBAdmin() throws RemoteException {
super();
public String updateTimetable(int id, String year, String group, String day, String time, String room, String lecturer, String subject)throws RemoteException {
DBUpdate update = new DBUpdate();
result = (String) update.updateTimetable(id, year, group, day, time, room, lecturer, subject);
return result;
public ResultSet getTimetable(String year, String group, String day) throws RemoteException{
DBUpdate update = new DBUpdate();
try{
tt = (ResultSet) update.getTimetable( year, group, day);
if(tt == null){
System.out.println("Null 1");
catch(Exception e){
e.printStackTrace();
return tt;
import java.rmi.*;
import java.io.*;
import java.sql.ResultSet;
public interface DBAdminInterface extends Remote, Serializable {
public String updateTimetable(int id, String year, String group, String day, String time, String room, String lecturer, String subject) throws RemoteException;
public ResultSet getTimetable(String year, String group, String day) throws RemoteException;
import java.net.MalformedURLException;
import java.rmi.*;
import java.sql.ResultSet;
import java.io.*;
public class DBClient implements Serializable{
private String result;
private ResultSet tt;
public ResultSet getTimetable(String year, String group, String day){
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try {
DBAdminInterface db = (DBAdminInterface) Naming.lookup ("rmi://localhost/DBAdmin");
tt = (ResultSet) db.getTimetable(year, group, day);
if(tt == null){
System.out.println("Null 1");
catch (MalformedURLException murle) {
System.out.println();
System.out.println("MalformedURLException");
System.out.println(murle);
murle.printStackTrace();
catch (RemoteException re) {
System.out.println();
System.out.println("RemoteException");
System.out.println(re);
re.printStackTrace();
catch (NotBoundException nbe) {
System.out.println();
System.out.println("NotBoundException");
System.out.println(nbe);
return tt;
public String updateTimetable(int id, String year, String group, String day, String time, String room, String lecturer, String subject){
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try {
DBAdminInterface db = (DBAdminInterface) Naming.lookup ("rmi://Niall/DBAdmin");
result = db.updateTimetable(id, year, group, day, time, room, lecturer, subject);
catch (MalformedURLException murle) {
System.out.println();
System.out.println(
"MalformedURLException");
System.out.println(murle);
catch (RemoteException re) {
System.out.println();
System.out.println(
"RemoteException");
System.out.println(re);
catch (NotBoundException nbe) {
System.out.println();
System.out.println(
"NotBoundException");
System.out.println(nbe);
return result;
}Im at a lose to what the problem is.
Cheers for any help.
N.Ok i have used a LinkedList instead and created a class called Timetable myself to store the object info. Im now getting a serialverionnumber exception. I have implemented the same class in the client and server. What could be the problem?
-
Cross Post:: Disk Utility Application - Errors with USB Drive
I have a 4200 2.5" 100GB Hard Drive in a "portable" configuration that I've used for some time. I had not plugged it into my MBP until today and it seemed to read the drive, but that's about it. I went to Disk Utility to do what I used to call in the PC world a "format" or "fdisk" to get all the stuff off of it and get it setup as a Backup drive for my MBP. Essentially, the drive is now kaput! Actually, what happens is, when I attempt any task in the Disk Utility app, it simply freezes up and no matter how long I wait (I've waited thirty minutes) nothing happens and I'm forced to "force end" to the app. Any ideas on this?
I am able to take the drive to my XP machine and reformat / repartion the drive, but it will not allow files to be copied over to it in the mac using the NTFS. This also seems odd to me. Any ideas on this one?
Thanks,
BobI posted a reply to that.
Explanation:
I posted originally in the other forum because it is a USB drive issue. I cross posted because it is an Application issue. I probably should have just posted in one or the other!
Thanks Jim,
Bob
Maybe you are looking for
-
Report problem of purchase that not make from me
Report problem of purchase that not make by me
-
How do I pull up a wifi signin page on my ellipsis 7
When I connect to a wifi network that requires a signin page, the page will not pull up in google browser. I had a kindle and it would automatically popup so I could sign in. the Ellipsis 7 shows that it is connected, but across top it shows a ? mar
-
Is there way to change the report background based on a condition via function when the report is opened? example pseudo code: If (a = "1") then Report.background = image1 else Report.background = image2 where the images would have to be saved on the
-
Valuated stock in 0IC_C03
Hi, i am using standard cube 0IC_C3 to get quantity( and value (0VALSTCKVAL) of materials/plant, the quantity is correct but the value is not. i am using MB5B in R/3 side to compare. can you help, Thanks
-
Too many addresses - unable to scroll down in error message
I composed a message with a couple of hundred addresses to send on gmail. The message bounced back with an error message saying that the email could not be sent with the server. The list of addresses that could not be sent start about 1/4 of the way