Problem viewing cursor value in debug mode
Hi eveybody!
I'm French and new here.
I know some topics deal with my subject but I don't really understand.
Here's my environnement :
Win2000 / ORA 9iR2 / SQL DEVELOPPER 1.0.0.15.57
As some people say when i'm in debug mode (after compiling my procedure PL/SQL for debug) I can't see any value of my cursors !
Ex :
CURSOR cur IS
SELECT COL1, COL2
FROM TABLE1;
v_cur cur%ROWTYPE;
For v_cur in cur
Loop
If v_cur.COL1 = 'toto' then
'do something' ;
End if;
End Loop;
When I run this step by step in debug mode I can't see the data of my cursor in the data or smartdata pane.
The values of my cursor is allways null !
I guess I'm not the only one to see that bug.
My question is should I wait a new release of sql developer or is there any solution for this problem?
Anyway I want to congratulate the developers team who create this tool which is fabulous! It makes me forget TOAD and it's totally free.
Thanks a lot for this job.
Greg
Here is a piece of code I use:
CREATE OR REPLACE PROCEDURE sm_list AS CURSOR emp_cursor IS
SELECT d.department_name,
e.last_name
FROM departments d,
employees e
WHERE d.department_id = e.department_id;
emp_record emp_cursor % rowtype;
BEGIN
FOR emp_record IN emp_cursor
LOOP
DBMS_OUTPUT.PUT_LINE(emp_record.last_name);
END LOOP;
END;
With this example, I agree, the smart data is null. Logged a bug. However, note that I do see values in the data tab and can modify and watch these values.
When using cursors I've been looping and then fetching into cursor records, i.e.:
FETCH emp_cursor
INTO emp_record;
emp_tab(i) := emp_record;
and then the values display in the Smart data and data tabs.
Sue
Similar Messages
-
How to view cursor values while in DEBUG mode
I am using SQL developer 1.5.1 and I am debugging my Stored Procedure.
I cannot find how to view the contents of variables as I step through the code.
For example, I have the following IF:
IF NVL(rat_rec.rat_css_agency_cd, -1) != NVL(lclcssagencycd, -1) THEN
lclupdate := TRUE;
END IF;
I want to be able to see what is the value of rat_rec.rat_css_agency_cd and also lclcssagencycd, to see why it is evaluating this IF statement to be true.
In other words it is saying rat_rec.rat_css_agency_cd is NOT the same as lclcssagencycd, but I want to see what the differences are and need to be able to 'look' at the value of each variable.
It is NOT showing on SMART DATA or DATA.
I have not used SQL Developer much before, so must be missing something.
(In VB, I can debug a routine and then stop on a variable and press SHIFT+F9 to see the contents of the fields. I want to do the same thing in SQL DEVELOPER).Yes, I do.
I am able to step through the code and if I stop on a particular line of code, I want to be able to evaluate the variables or cursor fields that I am on to see what their contents are.
Sean -
Viewing pixel values in survey mode.
Hi,
In the Develop module, the histogram displays pixel values, updating dynamically as you mouse around over the an image in the preview area. Is there a way to enable this behavior in the Library module? Specifically, I'd like to be able to compare the pixel values of two or more images displayed in survey mode. Thanks,
kobiHere is a piece of code I use:
CREATE OR REPLACE PROCEDURE sm_list AS CURSOR emp_cursor IS
SELECT d.department_name,
e.last_name
FROM departments d,
employees e
WHERE d.department_id = e.department_id;
emp_record emp_cursor % rowtype;
BEGIN
FOR emp_record IN emp_cursor
LOOP
DBMS_OUTPUT.PUT_LINE(emp_record.last_name);
END LOOP;
END;
With this example, I agree, the smart data is null. Logged a bug. However, note that I do see values in the data tab and can modify and watch these values.
When using cursors I've been looping and then fetching into cursor records, i.e.:
FETCH emp_cursor
INTO emp_record;
emp_tab(i) := emp_record;
and then the values display in the Smart data and data tabs.
Sue -
Viewing complete value while debugging
Hallo Forum,
I hope that I don't post a FAQ but I did not find this one doing some searching.
Okay, here is my problem:
When debugging a stored procedure, I try to get the complete value of a varchar2(4000) variable but I'm seeing just the first 100 characters.
Since I'm building up a SQL for execute immediate, I have to see the complete value in order to get an explain plan.
Do I just miss some configuration option or is that gerarally not possible?
My configuration is SQLDeveloper 1.0.0.14.67 with newest updates installed (these do not change the version number by the way).
I'm running on WinXP SP2 against an Oracle 9.2.0.7.0 running on W2kSP6.
Many thanks in advance,
LotharI set a breakpoint and try to inspect the local variables of the procedure.
When I doubleclick on the variable and enlarge the column that shows the value, it is truncated after 100 characters.
I don't know if it's a debugger issue or if the problem origins in SQL Developer because I'm not using dbms_debug outside SQL Developer.
You can hopefully reproduce this by using a test procedure like this:
CREATE OR REPLACE PROCEDURE TEST AS
s varchar2(4000);
BEGIN
for i in 1..10 loop
for j in 1..10 loop
s := s||'('||to_char(i)||','||to_char(j)||') **********';
end loop;
end loop;
END;
When you set a break point at the line where s is appended, Smart Data, Data and Watches show s just truncated to 100 chars.
Regards,
Lothar -
Problem with starting Tomcat in debug Mode, Win XP
Hi,
if i go to cmd and C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
and write: catalina jpda start, it says
C:\Documents and Settings\bartek>cd C:\Program Files\Apache Software Founda
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina jpda start
Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5
Using JAVA_HOME: C:\j2sdk1.4.2_09
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>
And it finishes.... Server is off
If i write: catalina start , new Tomcat window opens and the server starts
This is my catalina.bat
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the CATALINA Server
rem
rem Environment Variable Prequisites
rem
rem CATALINA_HOME May point at your Catalina "build" directory.
rem
rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions
rem of a Catalina installation. If not present, resolves to
rem the same directory that CATALINA_HOME points to.
rem
rem CATALINA_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem
rem CATALINA_TMPDIR (Optional) Directory path location of temporary directory
rem the JVM should use (java.io.tmpdir). Defaults to
rem %CATALINA_BASE%\temp.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem
rem JSSE_HOME (Optional) May point at your Java Secure Sockets Extension
rem (JSSE) installation, whose JAR files will be added to the
rem system class path used to start Tomcat.
rem
rem JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
rem command is executed. The default is "dt_shmem".
rem
rem JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
rem command is executed. The default is "jdbconn".
rem
rem $Id: catalina.bat,v 1.9.2.1 2004/08/21 15:49:47 yoavs Exp $
rem ---------------------------------------------------------------------------
rem Guess CATALINA_HOME if not defined
set CURRENT_DIR=%cd%
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=%CURRENT_DIR%
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
cd ..
set CATALINA_HOME=%cd%
cd %CURRENT_DIR%
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
rem Get standard environment variables
if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
rem Get standard Java environment variables
if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
echo Cannot find %CATALINA_HOME%\bin\setclasspath.bat
echo This file is needed to run this program
goto end
:okSetclasspath
set BASEDIR=%CATALINA_HOME%
call "%CATALINA_HOME%\bin\setclasspath.bat"
rem Add on extra jar files to CLASSPATH
if "%JSSE_HOME%" == "" goto noJsse
set CLASSPATH=%CLASSPATH%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
:noJsse
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
if not "%CATALINA_BASE%" == "" goto gotBase
set CATALINA_BASE=%CATALINA_HOME%
:gotBase
if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir
set CATALINA_TMPDIR=%CATALINA_BASE%\temp
:gotTmpdir
rem ----- Execute The Requested Command ---------------------------------------
echo Using CATALINA_BASE: %CATALINA_BASE%
echo Using CATALINA_HOME: %CATALINA_HOME%
echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
echo Using JAVA_HOME: %JAVA_HOME%
set _EXECJAVA=%_RUNJAVA%
set MAINCLASS=org.apache.catalina.startup.Bootstrap
set ACTION=start
set SECURITY_POLICY_FILE=
set DEBUG_OPTS=
set JPDA=
if not ""%1"" == ""jpda"" goto noJpda
set JPDA=jpda
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
set JPDA_TRANSPORT=dt_socked
:gotJpdaTransport
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
set JPDA_ADDRESS=8000
:gotJpdaAddress
shift
:noJpda
if ""%1"" == ""debug"" goto doDebug
if ""%1"" == ""run"" goto doRun
if ""%1"" == ""start"" goto doStart
if ""%1"" == ""stop"" goto doStop
if ""%1"" == ""version"" goto doVersion
echo Usage: catalina ( commands ... )
echo commands:
echo debug Start Catalina in a debugger
echo debug -security Debug Catalina with a security manager
echo jpda start Start Catalina under JPDA debugger
echo run Start Catalina in the current window
echo run -security Start in the current window with security manager
echo start Start Catalina in a separate window
echo start -security Start in a separate window with security manager
echo stop Stop Catalina
echo version What version of tomcat are you running?
goto end
:doDebug
shift
set _EXECJAVA=%_RUNJDB%
set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\jakarta-tomcat-catalina\catalina\src\share"
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doRun
shift
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStart
shift
if not "%OS%" == "Windows_NT" goto noTitle
set _EXECJAVA=start "Tomcat" %_RUNJAVA%
goto gotTitle
:noTitle
set _EXECJAVA=start %_RUNJAVA%
:gotTitle
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStop
shift
set ACTION=stop
goto execCmd
:doVersion
%_EXECJAVA% -classpath "%CATALINA_HOME%\server\lib\catalina.jar" org.apache.catalina.util.ServerInfo
goto end
:execCmd
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
rem Execute Java with the applicable properties
if not "%JPDA%" == "" goto doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:endpaths with spaces in them are a problem. surround them with quotes and see if that helps.
why does the Java /bin appear twice?
why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
% -
Debug mode for WD app in CE 7.1 EHP1
Hi experts,
I need to debug a WebDynpro application that I have created in my CE7.1 EHP1 environment.
In the config tool for the Java instance, I have set "Debug Mode" to true and checked the "Enable Debug node" checkbox.
I restarted the server after this and in SAP MMC Snap In, found that the server0 is running and the Debug column also shows a stauts of Switched on(<<port number>>)
When I try to create a new Debug Configuration using the Debug Dialog in NWDS, I select SAP Application and attach the appropriate WD app to the configuration.
At this point, the server instance is automatically selected, but I get the following error message:
Runtime: No debuggable node available. Open a debug session in SAP Management Console first
What might I be missing?
Regards,
PujaHi guys,
about one year later I had the same problem as Puja Malhotra.
Gopala Krishna gave the correct answer but unfortunately he missed to offer the suitable help. So I will catch up
You have to set the values "debuggable", "debug mode" and "debug port" with the Config Tool to edit the JVM Settings for a Specific Instance.
Have a look at:
[http://help.sap.com/saphelp_nwce71/helpdata/en/39/7796e0a7be604ab63c2924045710a8/content.htm]
After restart it should work!
Best regards -
Hi
I am running on WebLogic 11R1 and using OEPE 1.1.1.5.0.
When Fast swap is enabled and I run WebLogic in debug mode using OEPE I can not view the contents of variables with the Eclipse debugger. I get the message "Expressions must contain either an expression or a block containing a well formed statement"
However, if I disable Fast swap, i can view the variable within the Eclipse debugger
Has anyone else had this problem?
Regards
Steve HSmall correction... the soon-to-be-released version of WebLogic Server that Danny was referring to is 11gR1 PatchSet 2 or 10.3.3.
-
Problem while trying to load or access OracleTypes.CURSOR value
Hi all,
I configured my datasource as follow
URL: jdbc:oracle:thin:@192.10.1.230:1521:interp
Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
an my namedquery is
+@NamedNativeQuery(name = "generaFoliosRenCot",+
*+ query = "{ ? = call pkg_renovaciones.fn_rencot_auto(:ageid) }",+*
*+ resultClass = FoliosGenerados.class,+*
*+ hints = { @javax.persistence.QueryHint(name = "org.hibernate.callable", value = "true") })+*
I'm using
<org.springframework.version>3.0.5.RELEASE</org.springframework.version>
<org.hibernate.version>3.5.4-Final</org.hibernate.version>
<com.oracle.jdbc.version>10.2.0.4.0</com.oracle.jdbc.version>
Weblogic 10.3.4
when i run my app on junit its run fine
but when i run my app on weblogic server the problem is when i call a function on oracle 9i the error is:
+*[02/08/2011 10:00:00 ERROR ServiceThrowsAdvice:doRecoveryActionDataAccess:26] - :::: ** ::::Problem while trying to load or access OracleTypes.CURSOR value; nested exception is org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value*+
+*org.springframework.orm.hibernate3.HibernateSystemException: Problem while trying to load or access OracleTypes.CURSOR value; nested exception is org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value*+
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl.generaFoliosRenCot(FoliosGeneradosDaoImpl.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy206.generaFoliosRenCot(Unknown Source)
at mx.grupocp.inter.controller.scheduler.jobs.impl.ExecuteShellsImpl.generaFoliosRenovCot(ExecuteShellsImpl.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:80)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.lang.Thread.run(Thread.java:619)
*+Caused by: org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value+*
at org.hibernate.dialect.Oracle9Dialect.registerResultSetOutParameter(Oracle9Dialect.java:308)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1609)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
at org.hibernate.loader.Loader.doList(Loader.java:2294)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
at org.hibernate.loader.Loader.list(Loader.java:2167)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1832)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:179)
at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl$1.doInHibernate(FoliosGeneradosDaoImpl.java:34)
at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl$1.doInHibernate(FoliosGeneradosDaoImpl.java:29)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
... 37 more
+*Caused by: java.lang.IllegalAccessException: Class org.hibernate.dialect.Oracle9Dialect can not access a member of class oracle.jdbc.driver.OracleTypes with modifiers ""*+
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
at java.lang.Class.newInstance0(Class.java:349)
at java.lang.Class.newInstance(Class.java:308)
at org.hibernate.dialect.Oracle9Dialect.registerResultSetOutParameter(Oracle9Dialect.java:306)
... 50 more
please help meHi,
Have a look at this tread:
Re: Problems of hibernate calling oracle stored procedure
Regards peter -
Problem get the parameter ID using debug mode
Hi Expert,
I got problem for tracking the problem which is using GET PARAMETER ID under debug mode. the scenario is like that, I go and run the BDC transaction and want to use GET PARAMETER ID 'KUN' to populate data customer code to some variable. but when I using the debug mode sometimes my variable is came from GET PARAMETER ID was missing. but if running not using the debug mode all is populated perfectly. is there any SAP notes or code I can use to continue my debuging instead using GET PARAMETER ID ? Thank you
Regards,
Koho kohoHi BreakPoint,
Thanks for the replay, I really don't know and how to configure again. this morning I am running upload program using the BDC using the get paramater ID from posting FB03. I loading 10 documents upload. and 2 is failed to take the "get parameter id 'BLN' field var1" and var1 is blank, the other 8 document posted I can get the paramter id as well. any solution for this case. Thanks
Regards,
Koho koho -
Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here? I never
Marisa, you stand a better chance of getting an answer concerning iPhoto by posting this question in the iPhoto forum
https://discussions.apple.com/community/ilife/iphoto -
Can we trace the values in a cursor if we debug the package?
Can we trace the values in a cursor if we debug the package having a cursor?
Does it shows cursor attributes like %rowcount,%notfound,%found etc?
Because i am debugging a pachage , and I am getting the exception.
And its after the fetching of a cursor I am hitting on the exception.
If I click the profilier after I debug, its showing the error ora 1775::looping chain of synonyms.
The scenario is after the fetching of cursor, i am hitting the exception and after debug If i see the profilier I am getting the error 1775::looping chain of synonyms.Firslty, thanks for your time.
I am using the PLSQL developer.
The select command in the cursor picks tha value but when it fetches, it is showing the error.
Any idea what could be the reason.?
FETCH get_notices ----would show ( rowcount =0,%open,first iteration), does that mean cursor is not picking any value?
Because i have checked the select statement and it picks the value. -
Deployment problem in debug mode
Hi,
I developed a project in XP and moved to a laptop with vista. I am able to run (except *.exe) all files but I am not able run debug mode. I get the error:
Deploying application in domain failed; could not rename C:\program files\sun\creator2_1\sunappserver8\domains\creator\generated\xml\j2ee-modules\PAIRS5_
Log Level: SEVERE
Logger: javax.enterprise.system.tools.deployment
Name-Value Pairs: _ThreadID=13;
Record Number: 2093
Message ID: Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
Complete Message
Could not rename C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator\generated\jsp\j2ee-modules\PAIRS5 to C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator\generated\jsp\j2ee-modules\PAIRS5_old
at com.sun.enterprise.deployment.backend.ModuleDeployer.setOldDirs(ModuleDeployer.java:764)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.preRedeploy(WebModuleDeployer.java:241)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:158)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:139)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
Is there any error I can fix??? Please help...
dr.am.mohan raoWere you able to fix this? I am having the same issue.
-
Problem connecting to Realtime system to download or run in debug mode
I have updated my LabWindows\CVI to 2013. I have a PXI system with a PXIe-8101 controller. The PXIe-controller has a real-time OS installed. I have been programming this system for a while now so I am not exactly a novice anymore. The first time I tried to install the program to my real-time target I got a message which said "LabWindows/CVI cannot connect to the real-time target." It also said " .... The version of the LabWindows/CVI Run-Time Engine for RT must be compatible with the version of the LabWindows/CVI development environment."
So I figured that was the problem. My next step was to go into MAX and sure enough was getting all sorts of flags and errors when I used the real-time software Wizard in MAX by right clicking on the Remote software and clicking on Add/Remove Software. And like I suspected there were several flags indicating a software differences. My next step was to update the software in my real-time target to resolve the problem. After I did that I compiled the code and installed it on my remote system. Everything seemed OK.
The following Monday I restarted LabWindows/CVI and made a couple of changes and tried to build and install to my real-time target. I get that same message as in the first paragraph. So I thought I might not have real-time system booted up correctly or something like that so I checked all of that and it looked OK. Next I opened up MAX and it could see my real-time target just fine.
When I had my LabWindows/CVI 2012 I did not have this problem. I think maybe there is some incompatibliity issues with my LabWindows 2013; has anyone had a similar problem? I am able to get around the problem by building the release version and copying it to the PXI with CuteFTP V9.0 but I cannot do run my program in debug mode with my LabWindows/CVI and if you may have noticed I have other problems which is in another post I put in next week. I am hoping the problems are connected and I can kill two birds with one stone LOL.
I appreciate any suggestions.
Thanks,
Don PearceHello,
I want to make sure I'm understanding what you are doing in the LabVIEW project. According to the Getting Started with the LabWindows /CVI Real-Time Module manual, these are the steps to install software on the RT target:
1. Launch MAX.
2. Find and expand your RT target under the Remote Systems item in the MAX configuration tree, right-click Software, and select Add/Remove Software. When you select Add/Remove Software, MAX launches the LabVIEW Real-Time Software Wizard. This displays all the National Instruments software and drivers installed on the host computer that you can install on a selected RT target.
3. Select the software you want to install on the RT target, click the icon next to the software, and select Install the feature.
You need to install LabWindows/CVI Run-Time Engine for RT to add support for LabWindows/CVI RT applications on the RT target. This component is required for all LabWindows/CVI RT applications.
The forum post here solved this same issue by installing missing drivers based on this KnowledgeBase article.
Also, LabWindows/CVI 2013 SP1 has been released. Service Pack 1 (SP1) has many useful bug fixes (listed here), so I recommend upgrading to LabWindows/CVI 2013 SP1 if possible.
Taylor B.
National Instruments -
i m using Form9i suite , oracle 9i running under VMware machine where i installed windows XP service pack 3 with internet explorer version 8 IE8.
i have a problem when i run my Fmb form in debug mode it is not loaded, even though if i run it normally my fmb form loaded well .
any suggestion
thank you
Edited by: user12923153 on Nov 11, 2012 6:37 AMHi
But the program to print the advice is set in the payment?
What can you see in Print Out/Data Medium section?
You need to considere F110 runs the print program in backgroud mode, that means a job is scheduled, so try to checl the job too
Max -
Problem when trying to run in "Debug Mode" in JDeveloper9i
Hello All ,
i have a problem to debug my application using
JDeveloper9i .
i get an error: "fdebug.exe could not be read "
and Application error box appears .
i did the following steps in the instalation:
1) i installed the JDK 1.3
2) installed the Jdev9i from base installation zip
3) In <jdeveloper_root>\jdev\bin\ i executed the command
InstallOJVM.bat c:\jdk1.3
and get message:
"InstallOJVM successfully"
4) i wrote simple program and put a breakpoint ,
when i'm trying to run the program in "Debug mode" i get an error box message
"fdebug.exe Application Error"
The memory instruction could not be read
please help ,me to fix the problem i need the debuger option .
thanks in advance.Do you have the file c:\jdk1.3\jre\bin\fdebug.exe, if you don't, you
need it. Look for the file in the base install directory, it should be
there and then copy it to the location above.
Michel
Maybe you are looking for
-
Xref:populateXRefRow xpath function.
Hi All, I am facing an issue with xref:populateXRefRow xpath function. Requirement: To populate the value obtained from Siebel & an autogenerated common value into cross reference table. Steps Performed: 1.Cross reference table (addressed_sbl_ucm) cr
-
Documents in business blueprint do not open
Hi, I have uploaded some documents in the "Project Documentation" tab in SOLAR01. However, after generating the blueprint, when I click on the link (document name), the document does not open at all. There is no error. I have installed SAP GUI 7.20 T
-
865pe neo3-p ethernet problem please help
my system is p4 2.4 samsung sata hdd and anvidia g force 5500 in windov my ethener device is not found help me pls in bios on board lan is enabled what is wrong please help
-
My apologies if this is the wrong section. I am working on creating my own website http://www.outlookcounseling.com and was wondering if there are any good examples of standard JS drop-downs. I attempted using a script I found online; however, the me
-
How to do you change a movie into a bundle after its been ordered?
How to do you change a single movie into a bundle after its been ordered?