Cursor mouse error
Hello!
I have a problem with photoshop cs4 cursor mouse. When I click, the click isn't exactly where I had clicked. Is more down.
What can I do?
Tks!
Hi Pedro, this has been discussed before at this forum. A short summary: The problem occurs when you are in full screen mode and the rulers are visible. When you open a document or a Smart Object or create a new document the cursor is displaced by about 10 pixels. You get rid of the problem by hitting the f-key. This changes the screen mode and forces Photoshop to redraw the screen.
This seems to be independent from the graphic card you use, so I assume this is a bug and hope that Adobe will correct it soon.
Similar Messages
-
Mouse or cursor lib error....
Following on from my thread "newbie install report and questions", this is the mouse error I'm getting:
In KDE Control Center -> Peripherals -> Mouse:
There was an error loading the Module.
The diagnostics is:
/opt/kde/lib/kde3/kcm_input.so: undefined symbol: XcursorLibraryPath
Possible reasons:
An error occurred during your last KDE upgrade leaving an orphaned control module
You have old third party modules lying around.
Check these points carefully and try to remove the module mentioned in the error message. If this fails, consider contacting your distributor or packager.
This is a clean install so don't think there are any "old third party modules lying around"!
Any ideas?
Cheers, RennersI'm not using kde but looks like it's some kde bug since people from other distros also experience this (just did a quick search for error message with google).
But I found no solutions so far. Meanwhile you should be able to use xset to setup your mouse settings if you need it. -
Help!
I am using JRun3.1 and developing a web interface to a database. In this particular screen, I am using CachedRowSet (I downloaded this and added it to jrun classpath). I am getting "Invalid cursor position" error.
I feel there is a problem with the usebean tag.
This is my code:
what is wrong with this?
<%@ page language = "java" import="java.sql.*, java.util.*, javax.sql.*, sun.jdbc.rowset.*" %>
<%
String indSub = request.getParameter("indSub");
String areaname = request.getParameter("selarea");
%>
<jsp:useBean id="crs" class="CachedRowSet" scope="session" >
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
crs.setUrl("jdbc:odbc:asphData");
crs.setCommand("SELECT siccode, sicdesc from siccode where sictitle = '" + indSub + "'");
crs.execute();
%>
</jsp:useBean>
<%@ include file="header2.htm" %>
<link rel="stylesheet" href="http://localhost:8100/empData/almis.css" type="text/css">
<br>
<br>
<table align="center">
<tr><td class="moduleDesign" align="center">Employers Database</td></tr>
</table>
<br><br>
<font size="+2" face="verdana sans-serif">
<form action="employerDetail.jsp" method="post">
<p><center><font color="Blue">Employers in the �<%= indSub %>� Industry
<br>
SIC Code:�<%= crs.getString("siccode") %>
<br>State: Utah<br>
Region: �<%=areaname %><br>
</font></center></p>
<p>
<b>Description:</b>�<%= crs.getString("sicdesc") %>
</p>
</form>
<jsp:include page="footer2.htm" />
</body>
</html>
srajaman2Never mind!
I have to issue a next() command to get to the first line of the resultset!
srajaman2 -
Maximum open Cursors Excedded error - for every transaction
Hi All,
I am getting the maximum opn cursors exceeded error suddenly for every single db transaction i am trying to make in my application. this did not happen previously during my developemnt and testing phase.
I have a question here that i tried to google but failed to get satisfactory answer.:-
When we use a cursor in the stored procedure to fetch data, how to make oracle automatically close the cursors once the stored proc finishes executin. Or is there something i have to follow other with my current open cursors limit to ensure this problem does not happen?
Thanks,
ChaitanyaHi Justin,
My oracle stored procs are called by java framework. In each place i was closing the connection object but there were a few places where i was not closing the resultset object which directly pointed to my oracle cursor.
I have closed the objects in such places and tried again but still i am getting the same error. Mit it be an instance where the oracle db is not allowing me to connect to it at all. Something like restarting it would help? Restarting the server where the oracle software is hosted.
Please excuse my blatant ignorance in this issue.
Thanks,
Chaitanya -
Invalid Cursor Position Error on Windows XP using CachedRowSet
Hello, I don't know if this question lies here, but I thought it would be the well suited place so please pardon me if it isn't. I am trying to access multiple pages from my database on my XP machine but I am getting an "invalid cursor position" error when trying to access the next page. I don't know how this error is coming about because it works well on a Vista machine with no errors. I don't know if it is my drivers or something that brings about the problem. I am using mysql connecter 5.1.10, JRE 1.6.0_02 and windows XP SP2
Below is a simple code that brings the error.
package Admin; import javax.sql.rowset.CachedRowSet; import com.sun.rowset.CachedRowSetImpl; public class test { public void table() { try { CachedRowSet crs=new CachedRowSetImpl(); crs.setUrl("jdbc:mysql://host:3306/database"); crs.setUsername("User"); crs.setPassword("password"); crs.setCommand("select * from myTable"); int[] keys = {1}; crs.setKeyColumns(keys); crs.execute(); crs.last(); if(crs.getRow()>500){ //new overLimit(); } crs.setPageSize(3); crs.execute(); while (crs.next()) { System.out.print("page one----"); System.out.println(crs.getString(1)); } while(crs.nextPage()){ System.out.println("page two---"); while (crs.next()) { System.out.println("in page two"); System.out.println(crs.getString(1)); } } } catch (Exception e) { e.printStackTrace(); } } public static void main(String []args){ new test().table(); } }Yes I am running the same code on both machines. The output I get on the XP machine is shown below. I modified the code I posted earlier and replaced the "page two" text with "page (then page number)" and also omitted the "in page two" text for better readability---------PAGE 0---------
DB09140110
DU35463010
EX29201810
---------PAGE 1---------
EX38341510
EX40471810
KZ280299
----------PAGE 2---------
LA130299
LC130299
MC081009
----------PAGE 3---------
RZ300502
VA130299
VI020209
----------PAGE 4---------
YX101008
ZE220299
ZF231105and vista....
----------PAGE 0---------
EX38341510
EX40471810
KZ280299
----------PAGE 1---------
LA130299
LC130299
MC081009
----------PAGE 2---------
RZ300502
VA130299
VI020209
----------PAGE 3---------
YX101008
ZE220299
ZF231105 -
Invalid cursor state error while executing the prepared statement
hai friends,
following code showing the invalid cursor state error while executing the second prepared statement.
pls anyone help me
String query = "select * from order_particulars where order_no=" + orderno + " order by sno"; psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); rs1 = psmt1.executeQuery(); rs1.last(); intRowCount = rs1.getRow(); particularsdata = new Object[intRowCount][6]; rs1.beforeFirst(); if (intRowCount >= 1) { for (int i = 0; rs1.next(); i++) { particularsdata[0] = i + 1;
particularsdata[i][1] = rs1.getString(3);
particularsdata[i][2] = Double.parseDouble(rs1.getString(4));
rs1.close();
psmt1.close();
query = "SELECT sum(delqty) FROM billdetails,billparticulars WHERE order_no= " + orderno + " and " +
"billdetails.bill_no = billparticulars.bill_no GROUP BY particulars ORDER BY sno";
psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
rs1 = psmt1.executeQuery(); //error showing while executing this lineAlso .. Why using arrays instead of collections? Shifting the cursor all the way forth and back to get the count is fairly terrible.
With regard to the problem: either there's a nasty bug in the JDBC driver used, or you actually aren't running the compiled class version of the posted code. -
"Invalid Cursor Name" error at high volumes
I have a customer using the Microsoft ODBC driver to connect from NT to a remote HP-UX box running Oracle. At transaction volumes of thousands per hour, they are receiving "Invalid cursor name' errors from the ODBC cursor library approximately a dozen times per hour. The number of cursors available on Oracle is configured at 1,250. Any idea what might be causing this would be appreciated. Thanks.
Have you tried switching to the Oracle ODBC driver? It sounds like this may be a problem in the Microsoft driver. If that's the case, you'll probably want to bring the issue up with Microsoft.
Justin -
ORA-01000: maximum open cursors exceeded--Error
Hi
What is "ORA-01000: maximum open cursors exceeded" error,How to solve.
Thanks
MisebaHi
ORA-01000: maximum open cursors exceeded
Other terms
Oracle, open cursors, exchange infrastructure
Reason and Prerequisites
The parameter "open_cursors" is set too low. Long transactions, such as imports, may use up all available cursors and fail.
Solution :
THIS NOTE APPLIES TO XI 3.0 SP2 ONLY **
if you encounter an exception that reports "ORA-01000: maximum open cursors exceeded" please adjust the open_cursors parameter as follows:
If the BR*Tools exist on your system:
1] directory: /usr/sap/<SID>/SYS/exe/run
2] "brspace -c force -f dbparam -a change -p open_cursors -v 100000"
3] directory: $ORACLE_HOME/dbs (Unix) or %ORACLE_HOME%/database (Win)
4] change open_cursors parameter in init<SID>.ora to 100000
If the BR*Tools are not available (2] above - command not found)
1] change the open_cursors parameter as in 4] above
2] restart DB, for changes to take effect. _ NOTE: This problem has been fixed with XI 3.0 SP3 (see note 735078)
Plz asign points if helpfull.
Regards
Padmanabha -
Maximum Open cursor Exceeded error when deleting records from a table
I have a strange problem.
I have a table EMP_MASTER . Whenever I am trying to delete a record from this table, I am getting Maximum no. of open cursor exceeded error. But this error doesnot come when i delete from any other tables. And no. of open cursor is much lesser than OPEN_CURSOR parameter.
All other tables (around 700) has foreign key constraint to this EMP_MASTER table for created_user paramater.
Is it some thing like, when I am trying to delete a record from EMP_master, implicit cursor opens up and checks all referenced tables. and that limit gets exceeded ?
Please help.
Thanks,
RajRaji03 wrote:
There is no trigger defined for this table.
Is there a limit on which no.of references made to a column ? Because one column in this field, Emp no is being referenced in almost every other table. around 700 tables. Will it have any adverse effect ?That should have nothing to do with your problem directly. Again, those tables could have triggers defined on them and you are leaking cursors in one of those triggers (wild guess).
An example of a table with many many others foreign key'd to it.
create table parent_of_everything
column1 number primary key
insert into parent_of_everything select level from dual connect by level <= 1000;
commit;
--create 1000 tables all with foreign keys to the parent_of_everything
begin
for i in 1 .. 1000
loop
execute immediate 'create table child_' || i || ' (column1 number, column2 number, constraint child_' || i || '_fk foreign key (column1) references parent_of_everything (column1) on delete cascade)';
execute immediate 'insert into child_' || i || ' select level, mod(level, ' || i || ') from dual connect by level <= 1000';
commit;
end loop;
end;
TUBBY_TUBBZ?delete parent_of_everything;
1000 rows deleted.
Elapsed: 00:02:53.03No problems were had (none were expected).
Cleanup script.
--remove the 1000 child tables
begin
for i in 1 .. 1000
loop
begin
execute immediate 'drop table child_' || i || ' purge';
exception when others
then
null;
end;
end loop;
end;
/ -
What are the "Shared Cursor (KKS) errors" = ORA-44201 - 44300
Hi,
Does anybody know what are the "Shared Cursor (KKS) errors" supposed to raise Oracle errors ORA-44201 till 44300?
I am currently facing an 'ORA-44201: cursor needs to be reparsed' using Oracle DB EE 10.2.0.3!
The 11g documentation is mentioning: "Action: Investigate possible causes of resource contention."
Many Thanks in advance,
Sébastien
Brussels, BelgiumHi Rob,
For sure, the error message generated by our 10.2.0.3 db is ORA-44201: cursor needs to be reparsed.
I have posted a thread in Database - General:
The environment: OS: Solaris 10 / DB: 10.2.0.3 / OWB: 10.2.0.2 / Workflow: 2.6.4
I am facing this ORA-44201 when calling a function developed to create a materialized view on a prebuilt table:
FUNCTION mv_create (p_mv_name IN VARCHAR2)
RETURN NUMBER
IS
v_query VARCHAR2 (4000);
v_active NUMBER;
BEGIN
SELECT mv_query, mv_active
INTO v_query, v_active
FROM mtd_materialized_view
WHERE mv_name = p_mv_name;
IF (v_active = 1)
THEN
EXECUTE IMMEDIATE 'CREATE MATERIALIZED VIEW '
|| p_mv_name
|| ' '
|| 'ON PREBUILT TABLE '
|| 'WITH REDUCED PRECISION '
|| 'ENABLE QUERY REWRITE AS '
|| v_query;
END IF;
RETURN 1;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
raise_application_error (-20250,
'Create materialized view '
|| p_mv_name
|| ' failed: not found in metadata'
RETURN 3;
WHEN OTHERS
THEN
raise_application_error (-20251,
'Create materialized view '
|| p_mv_name
|| ' failed unexpectedly: '
|| SQLERRM
RETURN 3;
END mv_create;
-- End of mv_create function
The error message:
ORA-20251: Create materialized view MV_IA_COMN_MTLY failed unexpectedly:
ORA-44201: cursor needs to be reparsed
ORA-06512: at "CIS_DWH_FCT.CIS_L_FCT_XCH", line 507
ORA-06512: at line 1
I am totally blocked and need your help!!!
Many Thanks in advance,
Sébastien
Brussels, Belgium -
Cursor Invalidate error - ora-12842
Hi All,
A user is getting CURSOR INVALIDATE error on Select statement. Some times it works fine and some time it gives this error.
Can any one tell me is it some thing related to the database settings or the only reason is SQL coding. DB - 9.2.0.6
Thanks a lot..This error is caused by an event outside of the user's session, such as DDL against the object(s) they're querying or somebody flushing the db cache. Hence the irregular pattern of occurrences. Is there anything in the alert log or a trace file which might help you with your troubleshooting?
Cheers, APC
blog: http://radiofreetooting.blogspot.com -
I am working on a project in standard Labview 6.1 that receives images from a webcam. This image array will then be analyzed to determine the position of a black dot on a white background. This dot will then correspond to an (x,y) coordinate point. We will then feed these coordinates into a program that will set the cursor mouse position to this point. However, we are uncertain on how to interface Labview with the computer mouse controls and are in need of assistance.
If you are simply wanting to set the coordinates of an existing cursor on a LabVIEW graph, then you can do that using Property Nodes. I have attached an example of this which you could take a look at.
J.R. Allen
Attachments:
SetCursor.vi 32 KB -
Microsoft Cursor engine error 80004005 Data provider or other...
I'm using Oracle 9i and ASP. And it works fine except for a query that returns like more than 6000 records and I get this error:
Microsoft Cursor engine error 80004005
Data provider or other service returned an E_FAIL status
/Includes/ValidaUsr.asp, line 60
The thing is that on my development server it works just fine, and on the production server it cracks. In line 60 I'm trying to read a record, and when the query returns like 1000 records it works perfect.Well, you're in a somewhat bad spot. You should generally use server-side cursors and you're using client-side. Likewise, you're using Microsoft's OLE DB Driver for Oracle (known for issues) instead of Oracle's :(
For the Microsoft driver, the only thing I can think of is switching to server-side cursors. I know that's not much help, but I can't think of anything else that would cause that kind or odd error.
As I'm done with lunch now, I gotta get back to work. -
I have been getting this error in my Jdeveloper App.
ORA-01000 : maximum open cursors exceeded.
We have open cursors set at 220. I am using straight JDBC thin
to call the database (8.1.5) and have been closing ResultSets
the best I can. It happens after I use the app for a little bit.
Any suggestions on what is causing this.
PS
This is a test database and I am the only one on it.
Thanks
Greg
nullPreparedStatement ps = null;
RsultSet rs = null;
try {
// Do work here
} catch (Exception erx) {
// handle error
} finally {
try { rs.close(); } catch {}
try { ps.close(); } catch {}
In this way, you should never leave a cursor open.
null -
Maximum number of cursor exceeded error
Hi,
We are using OCI with C++ client/server application. I need to know is there any way to close the cursor explicitly which was created implicitly when a Oracle statment prepared and executed. I am not sure what was the reason the cursor opened implicitly was not closed and because of this at some point of time the application needs to be closed as we are getting Maximum open cursor error and not able to perform any DB operations using application.
Thanks in advance
Sureshbabuit's the time to consult ur DBA. i got the same problem( "Maximum open cursor error ") long back when i was updating more than thousands of rows from PL/SQL code.
There is a parameter to reset maximum no. of open cursors. i think this limit is per transaction/Time. Before u change that u should know the no. of updates u r performing.
then reset the parameter with the no. of updates u r performing.
for more info. search that error code in google.
Maybe you are looking for
-
URGENT: - REGARDING ALV REPORT
hi, i had made dis report in ALV and i want to display d heading format as follows:- NAME:- TEST PROGRAM date: - 21.05.2007 time:- 1:30:23 am moreover i want to see the print perview of it but it is giving runtime error. p
-
Apple Remotes no longer magnetic?
I was under the impression that the Apple Remote was magnetic so that it could be stored neatly on the side of your computer. However this is not the case with my newly purchased iMac and a friend down the road also has noted this. Are Apple Remotes
-
How do i use the apple tv remote app to navigate the apple tv?
Hi everyone, I've been given an apple tv remote from my step father. I couldn't honestly tell you which model I'm afraid. He's lost the remote. I've managed to get the apple tv turned on using a youtube that explaned how to set up with an ethernet ca
-
I have this report , where I have to bring the POS and forecast . I have a multi cube on POS and Forecast cube . Now I have to bring <b>52 weeks of POS Qty in the past</b> and <b>52 weeks Forecast Qty in the future</b> . My POS cube has 78 weeks data
-
I am new to Mac. Is there a built-in software to print DVD cover? I use Mediaface on the PC but don't know if MacOSX has pre-loaded software. Thanks