EM Empty in webbrowser
Hello, i'm new in the oracle world. So maybe i have strange question. When i install the latest version of oracle (10g) all seems to work fine. Then i go to browser and try to login with sys or other login name. All seems to go well. But as i understand i must get a screen where i can do some works like adding users. But the screen remain empty i see nothing only the login screen remain. I try names like sysman, sys system etc.
I thougt i must get screen where i can add users to database. I hope that someone can help me out here.. thanks.
After initial install, log in as the sysman user using the password you provided during the EM install. If it returns you to the log on screen there should be a message indicating logon failure.
When successfully logged in you will see something that looks quite similiar to the metalink.oracle.com page, with tabs, etc.
Similar Messages
-
[BUG?] af:table table empty after descending sort and remove
Hi,
I think i found a bug.
I have an af:table binded to an arraylist in a backingbean. This List consist of an object that represents two strings (value 1 and 2).
Now when the table is loaded and I sort descending on one of the columns. After sorting i'll try to remove a row. The correct row is published to the bean with an af:setPropertyListener and removed from the arraylist. But when the table is rendered again there are no values in the table. But the arraylist still has all remaining values which will be shown after a sort again.
Fun fact: it only happens when sorting descending.
Anyone got an idea?
The code:
jspx:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:panelStretchLayout topHeight="50px" id="psl1">
<f:facet name="top">
<af:panelHeader text="Table with Data Values" id="ph1">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar"/>
<f:facet name="legend"/>
<f:facet name="info"/>
</af:panelHeader>
</f:facet>
<f:facet name="center">
<af:panelCollection id="pc1">
<f:facet name="menus"/>
<f:facet name="toolbar"/>
<f:facet name="statusbar"/>
<af:table value="#{dataHandler.dataList}" var="row"
binding="#{dataHandler.rt}"
rowBandingInterval="0" id="t1">
<af:column sortable="true" headerText="Value1" align="start"
id="c1" sortProperty="value1">
<af:inputText value="#{row.value1}" id="it1"/>
</af:column>
<af:column sortable="true" headerText="Value2" align="start"
id="c2" sortProperty="value2">
<af:inputText value="#{row.value2}" id="it2"/>
</af:column>
<af:column sortable="false" headerText="Actions"
id="c3" >
<af:commandLink id="verwijderRij" text="Verwijder" >
<af:setPropertyListener from="#{row}" to="#{dataHandler.verwijderRij}" type="action"/>
</af:commandLink>
</af:column>
</af:table>
</af:panelCollection>
<!-- id="af_one_column_header_stretched" -->
</f:facet>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
</jsp:root>the backing beans:
package nl.ibr.view;
public class MyDataObject {
private String value1;
private String value2;
public MyDataObject(String value1, String value2) {
super();
this.value1 = value1;
this.value2 = value2;
public void setValue1(String value1) {
this.value1 = value1;
public String getValue1() {
return value1;
public void setValue2(String value2) {
this.value2 = value2;
public String getValue2() {
return value2;
package nl.ibr.view;
import java.util.ArrayList;
import java.util.List;
import oracle.adf.view.rich.component.rich.data.RichTable;
public class DataHandler {
private List<MyDataObject> dataList = new ArrayList<MyDataObject>();
private RichTable rt;
public DataHandler() {
dataList.add(new MyDataObject("1","2"));
dataList.add(new MyDataObject("3","7"));
dataList.add(new MyDataObject("4","8"));
dataList.add(new MyDataObject("5","9"));
public void setDataList(List<MyDataObject> dataList) {
this.dataList = dataList;
public List<MyDataObject> getDataList() {
return dataList;
public void setVerwijderRij(Object row) {
System.out.println("Listsize before delete: " + dataList.size());
System.out.println("Delete row" + row);
dataList.remove(row);
System.out.println("Listsize after delete: " + dataList.size());
rt.setValue(dataList);
System.out.println("Done delete method");
public void setRt(RichTable rt) {
this.rt = rt;
public RichTable getRt() {
return rt;
}Jdev version information:
About
Oracle JDeveloper 11g Release 1 11.1.1.4.0
Studio Edition Version 11.1.1.4.0
Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
Copyright © 1997, 2011 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.4.37.59.23
Product ID: oracle.jdeveloper
Product Version: 11.1.1.4.37.59.23
Version
Component Version
========= =======
ADF Business Components 11.1.1.59.23
Java(TM) Platform 1.6.0_21
Oracle IDE 11.1.1.4.37.59.23
SOA Composite Editor 11.1.1.4.0.56.82
Versioning Support 11.1.1.4.37.59.23
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
ceditor.java.parse.large 1500
ceditor.java.parse.small 300
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
compiler.vmargs -Xmx512m
EDITOR_J2SE_VERSION 1.5
feedbackmanager.disable false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_21; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
http.nonProxyHosts 62.58.52.167|*.local|10.100.6.*|*.randstadrmdnext.nl|*.randstadrentreenext.nl|*.rsg|localhost|localhost.localdomain|127.0.0.1|::1|dp-60520.noa.nl.rsg|dp-60520
http.proxyHost proxy.noa.nl.rsg
http.proxyPort 8080
https.nonProxyHosts 62.58.52.167|*.local|10.100.6.*|*.randstadrmdnext.nl|*.randstadrentreenext.nl|*.rsg|localhost|localhost.localdomain|127.0.0.1|::1|dp-60520.noa.nl.rsg|dp-60520
https.proxyHost proxy.noa.nl.rsg
https.proxyPort 8080
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.bootstrap.start 2915472833421
ide.build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
ide.conf D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\jdev\bin\jdev.conf
ide.config_pathname D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\jdev\bin\jdev.conf
ide.debugbuild false
ide.devbuild false
ide.editions oracle.studio, oracle.j2ee, oracle.jdeveloper
ide.extension.role.search.path jdev/roles
ide.extension.search.path jdev/extensions:sqldeveloper/extensions
ide.feedbackmanager.customer false
ide.firstrun false
ide.java.maxversion 1.7
ide.java.minversion 1.6.0_04
ide.launcherProcessId 1596
ide.main.class oracle.ide.boot.IdeLauncher
ide.max.jar.handles 500
ide.old.user.country NL
ide.old.user.language nl
ide.patches.dir jdev/lib/patches
ide.pref.dir C:\Documents and Settings\ho01023\Application Data\JDeveloper
ide.pref.dir.base C:\Documents and Settings\ho01023\Application Data
ide.product oracle.jdeveloper
ide.shell.enableFileTypeAssociation D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\jdeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\jdeveloper.exe
ide.startingcwd D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper
ide.throttleLocale true
ide.user.dir C:\Documents and Settings\ho01023\Application Data\JDeveloper
ide.user.dir.var JDEV_USER_HOME,JDEV_USER_DIR
ide.work.dir \\\JDeveloper
ide.work.dir.base \\CP-1000VS03\HOME104\HO01023
ilog.propagatesPropertyEditors false
inJUIDesigntime true
insight.suppresshidden true
INSIGHT_OMIT_HIDDEN true
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\endorsed
java.ext.dirs D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre
java.io.tmpdir C:\DOCUME~1\ho01023\LOCALS~1\Temp\
java.library.path D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Apps\Oracle\Middleware_11_1_1_1_0\jdk160_11\bin;D:\Apps\apache-maven-2.0.9\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\Program Files\jZip;D:\Apps\TortoiseSVN\bin;D:\Apps\SlikSvn\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Tealeaf;
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.naming.factory.url.pkgs weblogic.jndi.factories:weblogic.corba.j2ee.naming.url
java.protocol.handler.pkgs oracle.fabric.common.uddiurl.handler|oracle.jdevimpl.handler|weblogic.net
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_21-b51
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_21
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 17.0-b17
javax.rmi.CORBA.PortableRemoteObjectClass weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass weblogic.iiop.UtilDelegateImpl
javax.xml.parsers.DocumentBuilderFactory oracle.xml.jaxp.JXDocumentBuilderFactory
jbo.debugoutput silent
jbo.showdebugwarningbanner false
jps.authz NULL
line.separator \r\n
oracle.adfm.usemds false
oracle.home D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\
oracle.j2ee.extension.status enabled
oracle.jbo.usemds false
oracle.jdbc.Trace true
oracle.jdeveloper.webservice.hidePropertyOverride false
oracle.jdeveloper.webservice.showAllOwsmPolicyTypes false
oracle.mds.internal.config.override.emptystore true
oracle.security.jps.config /C:/Documents and Settings/ho01023/Application Data/JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/config/fmwconfig/jps-config-jse.xml
oracle.soap.transport.noHTTPClient true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
org.omg.CORBA.ORBClass weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass weblogic.corba.orb.ORB
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.awt.disablegrab true
sun.awt.keepWorkingSetOnMinimize true
sun.boot.class.path ../lib/lwawt.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\resources.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\rt.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\sunrsasign.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\jsse.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\jce.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\lib\charsets.jar;D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\classes
sun.boot.library.path D:\Apps\Oracle\Middleware_11_1_1_4_0\jdk160_21\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.noddraw true
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
svnkit.sax.useDefault true
user.country US
user.dir D:\Apps\Oracle\Middleware_11_1_1_4_0\jdeveloper\jdev\bin
user.home C:\Documents and Settings\ho01023
user.language en
user.name ho01023
user.timezone Europe/Berlin
user.variant
wasp.location ../../uddi
weblogic.home D:\Apps\Oracle\Middleware_11_1_1_4_0\wlserver_10.3\server
weblogic.security.SSL.ignoreHostnameVerification true
weblogic.security.TrustKeyStore DemoTrust
windows.shell.font.languages en
Extensions
Name Identifier Version Status
==== ========== ======= ======
ADF Business Components oracle.BC4J 11.1.1.4.37.59.23 Loaded
ADF Business Components Dependency oracle.bc4j.dependency 11.1.1.4.37.59.23 Loaded
ADF Business Components Deployment oracle.bc4jdt.deploy 11.1.1.4.37.59.23 Loaded
ADF Business Components Modeler oracle.adfbcdt.modeler 11.1.1.4.37.59.23 Loaded
ADF Business Components Syscat oracle.bc4j.syscat 0 Loaded
ADF Business Components Tester oracle.bc4j.tester 11.1.1.4.37.59.23 Loaded
ADF Common Audit oracle.adf.common.audit 0 Loaded
ADF Context Debugger oracle.adf.share.debug 11.1.1.4.37.59.23 Loaded
ADF Controller Configuration Design Time oracle.adf.controller.config.dt 11.1.1.4.37.59.23 Loaded
ADF Data Visualizations Design Time Tests oracle.dvt.dt 11.1.1.4.37.59.23 Loaded
ADF Debugger oracle.adf.debug 11.1.1.4.37.59.23 Loaded
ADF Debugger Diagram Support oracle.adf.debug.diagram 11.1.1.4.37.59.23 Loaded
ADF Desktop Integration Design Time oracle.adfdt.desktopintegration 11.1.1.4.37.59.23 Loaded
ADF Faces Cache oracle.webcache 11.1.1.4.37.59.23 Loaded
ADF Faces Data Visualization Tools Help oracle.dvt-faces-doc 11.1.1.0.0 Loaded
ADF Faces Databinding Design Time oracle.adf-faces-databinding-dt 11.1.1.4.37.59.23 Loaded
ADF Faces Design Time oracle.adf-faces-dt 11.1.1.4.37.59.23 Loaded
ADF Faces Design Time Migration oracle.adffacesdt.migration 11.1.1.4.37.59.23 Loaded
ADF Faces Runtime Help oracle.adf-faces-rt-doc 11.1.1.0.0 Loaded
ADF Faces Skin Design Time oracle.adf-faces-skin-dt 11.1.1.4.37.59.23 Loaded
ADF JMX Data Control Designtime oracle.adf.jmxdc 11.1.1.4.37.59.23 Loaded
ADF Java Server Faces Diagram oracle.adf.jsf.diagram 11.1.1.4.37.59.23 Loaded
ADF Library Design Time oracle.jdeveloper.adflibrary 11.1.1.4.37.59.23 Loaded
ADF Lifecycle Design Time oracle.adf.lifecycle.dt 11.1.1.4.37.59.23 Loaded
ADF Management Pages oracle.adf.management 11.1.1.4.37.59.23 Loaded
ADF Menu Model Design-Time oracle.adfmenudt 11.1.1.4.37.59.23 Loaded
ADF Page Flow Design Time oracle.adf.pageflow.dt 11.1.1.4.37.59.23 Loaded
ADF Page Flow Design Time Extras oracle.adf.pageflow.dt.extras 11.1.1.4.37.59.23 Loaded
ADF Page Template DT oracle.adf-faces-templating-dt 11.1.1.4.37.59.23 Loaded
ADF Region Design Time oracle.adf-faces-region-dt 11.1.1.4.37.59.23 Loaded
ADF Struts Page Flow Modeler oracle.struts.adf 11.1.1.4.37.59.23 Loaded
ADF Struts and Model One Databinding oracle.adf.struts.and.model.one.databinding.dt 11.1.1.4.37.59.23 Loaded
ADF Swing oracle.adfdt.swingcore 11.1.1.4.37.59.23 Loaded
ADF View Debugging Design Time adf.view.debugging.dt 11.1.1.4.37.59.23 Loaded
ADFv Common Databinding oracle.adf-view-databinding-dt 11.1.1.4.37.59.23 Loaded
Ant oracle.ant 11.1.1.4.37.59.23 Loaded
Application Server Manager oracle.jdeveloper.asnav 11.1.1.4.37.59.23 Loaded
Application State - Application Navigator oracle.ideimpl.appstate.appnav 11.1.1.4.37.59.23 Loaded
Application State - Editors oracle.ide.appstate.editors 11.1.1.4.37.59.23 Loaded
Application State Manager oracle.ide.appstate 11.1.1.4.37.59.23 Loaded
Archive Compare oracle.jdeveloper.archive-compare 11.1.1.4.37.59.23 Loaded
BAM oracle.bam 11.1.1 Loaded
BI Beans Graph oracle.bibeans 11.1.1.4.37.59.23 Loaded
BM metamodel framework oracle.bm.meta 11.1.1.4.37.59.23 Loaded
Bug Reporter oracle.jdeveloper.bugfiler 11.1.1.4.37.59.23 Loaded
Business Modelers oracle.bm 11.1.1.4.37.59.23 Loaded
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.23 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.23 Loaded
Command Line Formatting Support oracle.jdeveloper.ojformat 11.1.1.4.37.59.23 Loaded
Command Line Make/Rebuild Support oracle.jdevimpl.oj-compiler 11.1.1.4.37.59.23 Loaded
Common Controller Design-Time oracle.controller.dt 11.1.1.4.37.59.23 Loaded
Common Page Flow Design-Time oracle.pageflow.dt 11.1.1.4.37.59.23 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.23 Loaded
Controller to ADF Bindings Bridge oracle.controller.bindings.dt 11.1.1.4.37.59.23 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.23 Loaded
Database Features (JDeveloper) oracle.jdeveloper.db 11.1.1.4.37.59.23 Loaded
Database Features (SQLDeveloper in JDeveloper) oracle.jdeveloper.db.navigator 11.1.1.4.37.59.23 Loaded
Database Modeler oracle.dbmodeler 11.1.1.4.37.59.23 Loaded
Database Modeler Migration oracle.dbmodeler.migrate 11.1.1.4.37.59.23 Loaded
Database Object Dependency API Support oracle.jdeveloper.db.dependency 11.1.1.4.37.59.23 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.23 Loaded
Database Object Transfer Framework oracle.jdeveloper.db.transfer 11.1.1.4.37.59.23 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.23 Loaded
Design Time Resource Bundle Variable Resolver oracle.jdeveloper.resourcebundle.resolver.dt 11.1.1.4.37.59.23 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.23 Loaded
Diagram Framework Toplink extensions oracle.diagram.toplink 11.1.1.4.37.59.23 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.23 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.23 Loaded
Diagram to XMLEF Bridge oracle.diagram.xmlef 11.1.1.4.37.59.23 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.23 Loaded
EJB oracle.ejb 11.1.1.4.37.59.23 Loaded
EJB Modeler oracle.ejbmodeler 11.1.1.4.37.59.23 Loaded
Editor Tint oracle.ide.ceditor-tint 11.1.1.4.37.59.23 Loaded
Editor Tint (Java) oracle.jdeveloper.ceditor-tint-java 11.1.1.4.37.59.23 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.23 Loaded
Extension Designtime Core oracle.jdeveloper.extensiondt.core 11.1.1.4.37.59.23 Loaded
Extension Designtime UI oracle.jdeveloper.extensiondt.ui 11.1.1.4.37.59.23 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.23 Loaded
Feedback oracle.ide.feedback 11.1.1.4.37.59.23 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.23 Loaded
Fusion Application Overview Definition oracle.ide.appoverview.fusion.definition 11.1.1.4.37.59.23 Loaded
Fusion Web Application (ADF) Template oracle.adf.webapp.template 11.1.1.4.37.59.23 Loaded
Go to File oracle.ide.gotofile 11.1.1.4.37.59.23 Loaded
Go to Java Type oracle.jdeveloper.gotojava 11.1.1.4.37.59.23 Loaded
HTML oracle.html 11.1.1.4.37.59.23 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.23 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.23 Loaded
IDE Reports Extension oracle.ide.report 11.1.1.4.37.59.23 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.23 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.23 Loaded
J2EE oracle.j2ee 11.1.1.4.37.59.23 Loaded
J2EE oracle.j2ee.webapp.ve 11.1.1.4.37.59.23 Loaded
J2EE oracle.j2ee.webapp.ve.facelets 11.1.1.4.37.59.23 Loaded
J2EE CSS oracle.css 11.1.1.4.37.59.23 Loaded
J2EE Faces Config oracle.j2ee.facesconfig 11.1.1.4.37.59.23 Loaded
J2EE Web App oracle.j2ee.webapp 11.1.1.4.37.59.23 Loaded
J2EE-ADRS oracle.j2ee.adrs 11.1.1.4.37.59.23 Loaded
J2ee extension help oracle.j2ee.help 11.1.1.0.0 Loaded
JDeveloper oracle.jdeveloper 11.1.1.4.37.59.23 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.23 Loaded
JGoodies Forms oracle.jdeveloper.jgoodies 11.1.1.4.37.59.23 Loaded
JPublisher oracle.jdeveloper.db.jpub 11.1.1.4.37.59.23 Loaded
JSON Language support oracle.jdeveloper.json 11.1.1.4.37.59.23 Loaded
JUnit Integration oracle.jdeveloper.junit 11.1.1.4.37.59.23 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.23 Loaded
Java Annotation Inspector oracle.jdeveloper.annotation.inspector 11.1.1.4.37.59.23 Loaded
Java Breadcrumbs oracle.jdeveloper.ceditor-breadcrumbs-java 11.1.1.4.37.59.23 Loaded
Java Class Modeler oracle.javamodeler 11.1.1.4.37.59.23 Loaded
Java Modeler Toplink extensions oracle.javamodeler.toplink 11.1.1.4.37.59.23 Loaded
Java Server Faces Page Flow Modeler oracle.jsfmod 11.1.1.4.37.59.23 Loaded
Java Structure Compare oracle.jdeveloper.java-compare 11.1.1.4.37.59.23 Loaded
Java Type Search oracle.jdeveloper.searchbar.java 11.1.1.4.37.59.23 Loaded
Java extension help oracle.java.help 11.1.1.0.0 Loaded
JavaBeans, Swing, and AWT oracle.swingawt 11.1.1.4.37.59.23 Loaded
JavaScript Language Support oracle.ide.javascript 11.1.1.4.37.59.23 Loaded
Jdeveloper UI Editor oracle.jdeveloper.uieditor 11.1.1.4.37.59.23 Loaded
Jdeveloper XML Extension oracle.jdeveloper.xml 11.1.1.4.37.59.23 Loaded
Legacy Controller Design-Time oracle.controller.bm.dt 11.1.1.4.37.59.23 Loaded
Legacy Preferences integration for BM oracle.modeler.bm.prefs 11.1.1.4.37.59.23 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.23 Loaded
MDS Extension oracle.mds 11.1.1.4.37.59.23 Loaded
MOF Ide Integration oracle.mof.ide 11.1.1.4.37.59.23 Loaded
MOF Modeler Integration oracle.modeler.mof 11.1.1.4.37.59.23 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.23 Loaded
Modeler Framework oracle.modeler 11.1.1.4.37.59.23 Loaded
Modeler Framework Common Layer oracle.modeler.common 11.1.1.4.37.59.23 Loaded
Modelling migration from BM oracle.modeler.bm.migrate 11.1.1.4.37.59.23 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.23 Loaded
Nightly Indexing support oracle.ideimpl.indexing-rt 11.1.1.4.37.59.23 Loaded
OAR/MAR/SAR Deployment Support Extension oracle.deploy.orapp 11.1.1.4.37.59.23 Loaded
OWSM Policy Manager Installer oracle.jdeveloper.webservice.wsmpm.installer 11.1.1.4.37.59.23 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.23 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.64.46 Loaded
Offline Database oracle.jdeveloper.offlinedb 11.1.1.4.37.59.23 Loaded
Offline Database Import/Generate oracle.jdeveloper.offlinedb.transfer 11.1.1.4.37.59.23 Loaded
Offline Database Reports Extension oracle.jdeveloper.offlinedb.report 11.1.1.4.37.59.23 Loaded
Offline Database SXML oracle.jdeveloper.offlinedb.sxml 11.1.1.4.37.59.23 Loaded
Offline Database User Properties oracle.jdeveloper.offlinedb.userprops 11.1.1.4.37.59.23 Loaded
Offline Database User Properties SXML oracle.jdeveloper.offlinedb.userprops.sxml 11.1.1.4.37.59.23 Loaded
Oracle BPEL 1.1 Designer oracle.bpel.v1.designer 11.1.1.4.0.56.82 Loaded
Oracle BPEL 1.1 Designer Plugins oracle.bpel.v1.designer.plugins 11.1.1.4.0.56.82 Loaded
Oracle BPEL 2.0 Designer oracle.bpel.v2.designer 11.1.1.4.0.56.82 Loaded
Oracle BPEL 2.0 Designer Plugins oracle.bpel.v2.designer.plugins 11.1.1.4.0.56.82 Loaded
Oracle BPEL Designer Shared Code oracle.bpel.designer.shared 11.1.1.4.0.56.82 Loaded
Oracle BPM DVM oracle.bpm.dvm 11.1.1.4.0.56.82 Loaded
Oracle BPM XREF oracle.bpm.xref 11.1.1.4.0.56.82 Loaded
Oracle Business Rules Designer oracle.bpm.rules 11.1.1.4.0.56.82 Loaded
Oracle Database Browser oracle.sqldeveloper.thirdparty.browsers 11.1.1.64.46 Loaded
Oracle Enterprise Repository Editor oracle.jdeveloper.oereditor 11.1.1.4.37.59.23 Loaded
Oracle Events Designer oracle.bpm.events 11.1.1.4.0.56.82 Loaded
Oracle Fabric Plugins oracle.sca.modeler.plugins 11.1.1.4.0.56.82 Loaded
Oracle Human Task Designer oracle.bpm.workflow 11.1.1.4.0.56.82 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.23 Loaded
Oracle JDevloper Deployment Core Module oracle.deploy.core 11.1.1.4.37.59.23 Loaded
Oracle MDS Design time oracle.mds.dt 11.1.1.4.37.59.23 Loaded
Oracle Mobile ADF oracle.wireless.dt 11.1.1.4.37.59.23 Loaded
Oracle Page Templates oracle.adf-page-template-samples 11.1.1.4.37.59.23 Loaded
Oracle SOA Composite Editor oracle.sca.modeler 11.1.1.4.0.56.82 Loaded
Oracle SOA Mediator oracle.sca.mediator 11.1.1.4.0.56.82 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.64.46 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.64.46 Loaded
Oracle SQL Developer Worksheet oracle.sqldeveloper.worksheet 11.1.1.64.46 Loaded
Oracle User Messaging Service Client Extension oracle.ums.jdev 11.1.1.4.0 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.64.46 Loaded
PL/SQL Debugger oracle.jdeveloper.db.debug.plsql 11.1.1.4.37.59.23 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.23 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.23 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.23 Loaded
Profiler oracle.jdeveloper.profiler 11.1.1.4.37.59.23 Loaded
Properties File Support oracle.jdeveloper.props 11.1.1.4.37.59.23 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.23 Loaded
Quick Start Features for Web Applications quickstart.webapp.dt 11.1.1.4.37.59.23 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.23 Loaded
REST Web Services oracle.jdeveloper.webservice.rest 11.1.1.4.37.59.23 Loaded
Refactoring oracle.jdeveloper.refactoring 11.1.1.4.37.59.23 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.23 Loaded
Reports Extension oracle.javatools.report 11.1.1.4.37.59.23 Loaded
Resource Bundle Support oracle.ide.resourcebundle 11.1.1.4.37.59.23 Loaded
Resource Bundle Support for Properties Files oracle.jdeveloper.resourcebundle.props 11.1.1.4.37.59.23 Loaded
Resource Catalog Application Server Adapter oracle.jdeveloper.asadapter 11.1.1.4.37.59.23 Loaded
Resource Catalog DB UI extension oracle.jdeveloper.db.rcadapter.ui 11.1.1.4.37.59.23 Loaded
Resource Catalog Database Adapter oracle.jdeveloper.rcdbadapter 11.1.1.4.37.59.23 Loaded
Resource Catalog WSIL Adapter oracle.jdeveloper.rcwsiladapter 11.1.1.4.37.59.23 Loaded
Resource Lookup oracle.jdeveloper.rclookup 11.1.1.4.37.59.23 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.23 Loaded
SQL*Plus Integration oracle.jdeveloper.db.sqlplus 11.1.1.4.37.59.23 Loaded
SQLJ oracle.jdeveloper.sqlj 11.1.1.4.37.59.23 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
SearchBar Commands oracle.ide.searchbar.commands 11.1.1.4.37.59.23 Loaded
Searchbar Preferences oracle.ide.searchbar.preferences 11.1.1.4.37.59.23 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.64.46 Loaded
Struts Page Flow Modeler oracle.struts 11.1.1.4.37.59.23 Loaded
Studio oracle.studio 11.1.1.4.37.59.23 Loaded
Studio extension help oracle.studio.help 11.1.1.0.0 Loaded
Template oracle.ide.ceditor-template 11.1.1.4.37.59.23 Loaded
TopLink oracle.toplink 11.1.1.4.37.59.23 Loaded
Trinidad Databinding Design Time oracle.trinidad-databinding-dt 11.1.1.4.37.59.23 Loaded
Trinidad Design Time oracle.trinidad-dt 11.1.1.4.37.59.23 Loaded
UDDI Resource Catalogue Provider oracle.jdevimpl.uddiadapter 11.1.1.4.37.59.23 Loaded
UML XMI oracle.uml.v2.xmi 11.1.1.4.37.59.23 Loaded
UML v2 oracle.uml.v2 11.1.1.4.37.59.23 Loaded
UML v2 Activity Modeler oracle.uml.v2.activity 11.1.1.4.37.59.23 Loaded
UML v2 Class Diagram oracle.uml.v2.clazz 11.1.1.4.37.59.23 Loaded
UML v2 Migration oracle.uml.v2.migrate 11.1.1.4.37.59.23 Loaded
UML v2 Sequence Diagram oracle.uml.v2.sequence 11.1.1.4.37.59.23 Loaded
UML v2 Transformation to Java oracle.uml.v2.umljava 11.1.1.4.37.59.23 Loaded
UML v2 Use Case Diagram oracle.uml.v2.usecase 11.1.1.4.37.59.23 Loaded
UML2 Modelers Common Classes oracle.uml.v2.modeler 11.1.1.4.37.59.23 Loaded
URL Connection Designtime oracle.jdevimpl.urlconn 0 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.23 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.23 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.23 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.23 Loaded
WSDL Chooser oracle.jdeveloper.wsdllookup 11.1.1.0.0 Loaded
WSDL web services extension oracle.jdevimpl.wsdl 11.1.1.4.37.59.23 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.23 Loaded
Web Services oracle.jdeveloper.webservice 11.1.1.4.37.59.23 Loaded
WebDAV Connection Support oracle.jdeveloper.webdav2 11.1.1.4.37.59.23 Loaded
WebStart oracle.j2ee.webstart 11.1.1.0.0 Loaded
XML Compare oracle.jdeveloper.xml-compare 11.1.1.4.37.59.23 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.23 Loaded
XML Editing Framework Java Integration oracle.jdeveloper.xmlef 11.1.1.4.37.59.23 Loaded
XSL Mapper oracle.bpm.mapper 11.1.1.4.0.56.82 Loaded
adf-deploy-dt oracle.adfdt.common.deploy 11.1.1.4.37.59.23 Loaded
adf-deploy-dt-mds oracle.adfdt.common.deploy.mds 11.1.1.4.37.59.23 Loaded
adf-installer-ide adf.installer.dt 11.1.1.4.37.59.23 Loaded
adf-logging-dt oracle.adf.logging.dt 11.1.1.4.37.59.23 Loaded
adf-model-debugger-dt oracle.adf-model-debugger-dt 11.1.1.4.37.59.23 Loaded
adf-model-sqldc-ide oracle.adfm.sqldc 11.1.1.4.37.59.23 Loaded
adf-model-tools oracle.adf.model.tools 11.1.1.4.37.59.23 Loaded
adf-security-policy-dt oracle.adfdtinternal.adf-security-policy-dt 11.1.1.4.37.59.23 Loaded
adf-share-audit oracle.adf-share-audit 11.1.1.4.37.59.23 Loaded
adf-share-deploy-dt oracle.adf.share.deploy.dt 11.1.1.4.37.59.23 Loaded
adf-share-dt oracle.adf.share.dt 11.1.1.4.37.59.23 Loaded
adfm-business-editor-deploy oracle.adf.businesseditor.deploy 11.1.1.4.37.59.23 Loaded
adfm-business-editor-ide oracle.adf.model.businesseditor 11.1.1.4.37.59.23 Loaded
adfm-business-editor-settings-ide oracle.adfm.businesseditor.settings 11.1.1.4.37.59.23 Loaded
adfmcoredt-xdf oracle.adfm.xdf 11.1.1.4.37.59.23 Loaded
adfquerylovdt oracle.adf-faces-query-and-lov-dt 11.1.1.4.37.59.23 Loaded
appoverview oracle.ide.appoverview 11.1.1.4.37.59.23 Loaded
asnav-weblogic oracle.jdeveloper.asnav.weblogic 11.1.1.4.37.59.23 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.23 Loaded
audit-core oracle.ide.audit.core 11Hi Harry (and others),
I have seen similar behavior. It seems like the client side rendering for some reason has a hard time processing the collection model wrapping the ArrayList in this particular case. The table renders empty. After sorting in ascending order, the rows are all back (visible) again.
Is anyone aware of issues with the rich table based directly on ArrayList (in combination with a changing set of values and/or sorting)? (seems like a corner case but is still not uncommon). Is there any indication that wrapping the ArrayList in a CollectionModel ourselves might be required?
Harry: do you know whether this issue is introduced with PS3 (11.1.1.4) or already existed in previous releases?
kind regards,
Lucas -
VC++ WebBrowser call Javascript function in a frame of the main page
I can successfully call JS function in the main page from VC++, but when I call the JS function in frame, GetIDsOfNames() return DISP_E_UNKNOWNNAME. The question can be describe as below:
main page is INDEX.HTM, loaded in webbrowser control, src:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample</title>
<script type="text/javascript">
function FuncMain()
alert("Main Page Function Called!");
</script>
</head>
<body>
<div>
<div id="div_test1">
<iframe id="page_test1" width="100%" height="100%" src="test1.htm" frameborder="0" scrolling="no"></iframe>
</div>
<div id="div_test2">
<iframe id="page_test2" width="100%" height="100%" src="test2.htm" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</body>
</html>
test1.htm src:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<div>Test1 frame page</div>
</body>
</html>
test2.htm src:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function showAlert(x)
alert(x);
function callVC()
window.external.VCFuncTest();
</script>
</head>
<body>
<div>Test2 frame page</div>
<div id="test_btn" style="background-color:red;width:100px;height:100px;cursor:pointer;" onclick="callVC();">Test</div>
</body>
</html>
in VC++:
VC++ code can call JS functions by CWebPage class, I found it here: http://www.codeproject.com/Articles/2352/JavaScript-call-from-C
in my VC project, webPage.CallJScript(_T("FuncMain")) succeeded!
webPage.CallJScript(_T("page_test2.showAlert") failed, the GetIDsOfNames() return DISP_E_UNKNOWNNAME. BTW, webPage.CallJScript(_T("showAlert")
also failed! Same error.
any help?
Best Regards!Thanks for your reply Viorel_.
i know i can define a function in the main page:
function showAlert_Main(x)
document.frames('page_test2').showAlert(x);
then, webPage.CallJScript(_T("showAlert_Main"))
succeeds.
but this function is just an empty shell doing nothing, and i know there must have a way to call showAlert(x) directly. -
Cannot assign an empty string to a parameter with JDBC type VARCHAR
Hi,
I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
Regards,
Chanti.
Heres the complete detail from logs -
Log Record Details
Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH = ? <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
Date: 2010-03-12
Time: 11:32:37:435
Category: com.sap.xmii.system.FileManager
Location: com.sap.xmii.system.FileManager
Application: sap.com/xappsxmiiearSounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.
-
Oracle, Null and empty Strings
Currently I'm facing problems with a class, which contains a String, which
is set to "" (empty String).
When the class is persistent, oracle writes null to the table column
(which seems to be common oracle behaviour) and when retrieving the class,
the field is set to null as well, giving me a lot of null-pointer
exceptions.
Anyway ... I can cope with that (just a lot of extra work)
far worse is the problem, wenn searching objects, that have this field set
to "" oder null.
Oracle can't find the records because JDO creates Querys "where
string=null" or "where string=''" , where oracle expects "where string is
null" to find the records.
Is there a workaround or solution ?Yeah, that would work as well, thx, but since I have to cope with
null-Strings now everywhere in my program, it doesn't hurt just to forbid
empty strings on the program side.
In future times I'll test on Oracle first, then porting to DB/2 - this way
I suppose work is far less to garant compability.
Nevertheless ... having to set the bankcode into quotes is a kodo bug in
my opinion.
Kodo knows the type of classfields (in this case string) and shouldn't
send the parameter as a BigDecimal to the database.
Given that, and having only bankcodes of null (only neccesary when using
Oracle), the method would look like:
public Collection getAccounts (String bankCode)
throws Exception
return getAccounts (Account.class, "bankcode=="+bankcode);
which is how a transparent persistent layer, um, should be , um , I mean
... just transparent ;-D
Marc Prud'hommeaux wrote:
Stefan-
Couldn't you just do something like:
public Collection getAccounts (String bankCode)
throws Exception
String filter;
if (bankCode == null || bankCode.length () == 0)
filter = "(bankCode == null || bankCode == "")";
else
filter = "bankCode == "" + bankCode + """;
return getAccounts (Account.class, filter);
If I understand the problem correctly, this should work for all the
databases.
In article <[email protected]>, Stefan wrote:
What operations are you performing to cause this SQL to be issued? You
say you are having trouble removing objects, but this is clearly not a
DELETE statement. Is this the SQL that is issued when looking up
objects by identity?I'm not removing objects, I was removing just quotes from parameters ;-)
A string column... is it also represented as a string field in your class?Yeah ... just to give you an impression of the code:
First we have a class, representing a bank account:
public class Account {
private AccountMgr myAccountMgr;
private String bankCode;
private String id;
Note, that in nearly all cases bankCode will be a number or null.
I have a second class "AccountMgr", which does all of the persistant stuff
(seaching, making persistent etc.)
This class has two methods, one versatile (protected) to retrieve accounts
by a given filterString and one who just returns accounts by bankCode,
building the expected filterstring. Here is my current working version:
public class AccountMgr {
public Collection getAccounts(String bankCode) throws Exception {
if (bankCode!=null) {
if (bankCode.equals("")) {
throw new Exception("check code, bankCode='' not allowed to get
same behavior from DB2 and Oracle");
// if set, quote the bankCode
bankCode="""+bankCode+""";
return getAccounts(Account.class,"bankCode=="+bankCode);
protected Collection getAccounts(Class accountClass, String filterAdd)
throws Exception {
PersistenceManager pm = MyHelper.getPersistenceManager();
String filter="";
if (filterAdd!=null && !filterAdd.trim().equals("")) {
filter+=filterAdd + " && ";
filter += "myAccountMgr==_accMgr";
Query query = pm.newQuery(accountClass, filter);
query.declareParameters("AccountMgr _accMgr");
return (Collection) query.execute(this);
As you can see, in the first method I have to set the bankCode into
quotes, when it's not null.
This is because otherwise a filter like "bankCode=1234" will be translated
in a way, where 1234 is send as a BigDecimal to the database:
[...] executing statement <4239745>: (SELECT [...] FROM JDO_ACCOUNT t0
WHERE t0.BANKCODE = ? : [reused=1;params={(BigDecimal) 1234}]
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Hi There,
As far as I know, Null is not the same as an empty string; however, when I try this out, I get some unexpected results (well, at least unexpected for my liking):
SQL> CREATE TABLE TS (MID NUMBER,
2 MDESC VARCHAR2(20) DEFAULT '' NOT NULL);
Table created.
SQL> INSERT INTO TS VALUES(1,'');
INSERT INTO TS VALUES(1,'')
ERROR at line 1:
ORA-01400: cannot insert NULL into ("TT"."TS"."MDESC")So, according to the above scenario, I can't insert an empty string!! However, an empty string is a valid string that doesn't have tuples/data!!
How come Oracle translates the null string '' as NULL?
ThanksWilliam Robertson wrote:
There is a special case to do with CHAR values, whereby '' counts as a string and so gets blank-padded, whereas NULL does not.Are you referring to:
SQL> DECLARE
2 flag CHAR(2);
3 PROCEDURE check_null (p_flag IN CHAR)
4 IS
5 BEGIN
6 IF p_flag = ' '
7 THEN
8 dbms_output.put_line ('flag is equal to '' ''');
9 ELSIF p_flag IS NULL
10 THEN
11 dbms_output.put_line ('flag is null');
12 ELSE
13 dbms_output.put_line ('other');
14 END IF;
15 END;
16 BEGIN
17 flag := '';
18 check_null (flag);
19 flag := NULL;
20 check_null (flag);
21 end;
22 /
flag is equal to ' '
flag is null
PL/SQL procedure successfully completed.
SQL> alter session set events '10932 trace name context forever, level 16384';
Session altered.
SQL> DECLARE
2 flag CHAR(2);
3 PROCEDURE check_null (p_flag IN CHAR)
4 IS
5 BEGIN
6 IF p_flag = ' '
7 THEN
8 dbms_output.put_line ('flag is equal to '' ''');
9 ELSIF p_flag IS NULL
10 THEN
11 dbms_output.put_line ('flag is null');
12 ELSE
13 dbms_output.put_line ('other');
14 END IF;
15 END;
16 BEGIN
17 flag := '';
18 check_null (flag);
19 flag := NULL;
20 check_null (flag);
21 end;
22 /
flag is null
flag is null
PL/SQL procedure successfully completed.
SQL> SY.
P.S. Don't ask me why normal (or at least consistent) behavior is not the default. -
Null and empty string not being the same in object?
Hello,
I know that null and empty string are interpreted the same in oracle.
However I discovered the strange behaviour concerning user defined objects:
create or replace
TYPE object AS OBJECT (
value VARCHAR2(2000)
declare
xml xmltype;
obj object;
begin
obj := object('abcd');
xml := xmltype(obj);
dbms_output.put_line(xml.getStringVal());
obj.value := '';
xml := xmltype(obj);
dbms_output.put_line(xml.getStringVal());
obj.value := null;
xml := xmltype(obj);
dbms_output.put_line(xml.getStringVal());
end;
When creating xml from object, all not-null fields are transformed into xml tag.
I supposed that obj.value being either '' or null will lead to the same result.
However this is output from Oracle 9i:
<OBJECT_ID><VALUE>abcd</VALUE></OBJECT_ID>
<OBJECT_ID><VALUE></VALUE></OBJECT_ID>
<OBJECT_ID/>
Oracle 10g behaves as expected:
<OBJECT><VALUE>abcd</VALUE></OBJECT>
<OBJECT/>
<OBJECT/>
However Oracle 9i behaviour leads me to the conclusion that oracle
must somehow distinguish between empty string and null in user defined objects...
Can someone clarify this behaviour?
Thus is it possible to test if object's field is empty or null?However Oracle 9i behaviour leads me to the conclusion that oracle
must somehow distinguish between empty string and null in user defined objects...
Can someone clarify this behaviour?
Thus is it possible to test if object's field is empty or null?A lot of "fixes" were done, relating to XML in 10g and the XML functionality of 9i was known to be buggy.
I think you can safely assume that null and empty strings are treated the same by Oracle regardless. If you're using anything less than 10g, it's not supported any more anyway, so upgrade. Don't rely on any assumptions that may appear due to bugs. -
Difference in Null and Empty String
Hi,
I have been wondering about the difference between Null and Empty String in Java. So I wrote a small program like this:
public class CompareEmptyAndNullString {
public static void main(String args[]) {
String sNull = null;
String sEmpty = "";
try {
if (sNull.equalsIgnoreCase(sEmpty)) {
System.out.println("Null and Empty Strings are Equal");
} else {
System.out.println("Null and Empty Strings are Equal");
} catch (Exception e) {
e.printStackTrace();
This program throws Exception: java.lang.NullPointerException
at practice.programs.CompareEmptyAndNullString.main(CompareEmptyAndNullString.java:10)
Now if I change the IF Clause to if (sEmpty.equalsIgnoreCase(sNull)) then the Program outputs this: Null and Empty Strings are Equal
Can anyone explain why this would happen ?
Thanks in Advance !!JavaProwler wrote:
Saish,
Whether you do any of the following code, the JUnit Test always passes: I mean he NOT Sign doesnt make a difference ...
assert (! "".equals(null));
assert ("".equals(null));
You probably have assertions turned off. Note the the assert keyword has nothing to do with JUnit tests.
I think that older versions of JUnit, before assert was a language keyword (which started in 1.4 or 1.5), had a method called assert. Thus, if you have old-style JUnit tests, they might still compile, but the behavior is completely different from what it was in JUnit, and has nothing to do with JUnit at all.
If you turn assertions on (-ea flag in the JVM command line, I think), the second one will throw AssertionError. -
Check for null and empty - Arraylist
Hello all,
Can anyone tell me the best procedure to check for null and empty for an arraylist in a jsp using JSTL. I'm trying something like this;
<c:if test="${!empty sampleList}">
</c:if>
Help is greatly appreciated.
Thanks,
Greeshma...A null check might not be you best option. If your requirement is you must have both the date and time component supplied in order to populate EventDate, then I would use a Script Functoid that takes data and time as parameters.
In the C# method, first check if either is an empty string, if so return an empty string.
If not, TryParse the data, if successful, return a valid data string for EventDate. If not, error or return empty string, whichever satsifies the requirement. -
Interactive Report view is empty
Hi,
I'm on CRM 7.0 EHP3. I'm encountering empty report criteria and display when open the Campaign effectiveness and all other interactive report page. Please see the screen shot below. There is no error message on the screen, as well as ST22.
I've configured the interactive report and ran the configuration wizard /CRMBW/CONFIG_WIZARD successfully and no error found.
Also the roles SAP_CRM_OR_ADMIN, SAP_CRM_OR_CONFIG and SAP_CRM_OR_USER and SAP_ALL are given to the user in both clients.
Please let me know what could be the causes.
Thanks in advance.
cheers,
juliusOkay, problem seems solved. I don't know if it is a bug or a feature... (: Anyway, this view selects data from threads that had been created from a portal application. And if you create threads from WC_Collaboration server admin console, there's no data will be selected with FORUMCRAWLER_VW view. Sorry, have no time to check SQL query for those DB view, may be this behaviour is reasonable.
Edited by: Insomnium on 17.01.2013 2:33 -
Can I somehow print an empty report, and specify with a parameter how many times it should be repeated?
The report is a form with checkboxes, and sometimes we want the empty one for someone to fill in when out on the field. And since this form is a subreport, we cant print the entire report over again, but need the subreport to be repeated, let's say five times.
/Thank you!Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly
-
My photos on iphotos just became empty boxes, bordered by white intermittent lines. If I click on a photo it comes up, but I can't see what each photo is at a glance. Any ideas how to resolve this? thanks
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the options to rebuild the thumbnails.
Regards
TD -
Error while running fiori application in launchpad which is having image in its empty view
Hi Experts,
I have created a fiori application using odata services and uploaded it into launchpad.I want to display image in its empty view. It is getting displayed when i run the application on eclipse but i am getting the error for the same when i run it on launchpad.
Below is the error:
"NetworkError: 404 NOT FOUND - http://ws-sapsvr01:8010/sap/bc/ui5_ui5/ui2/ushell/shells/abap/img/TeamSAP.jpg"
Can any body help me solve this issue why i am getting this??
Thanks & Regards.
Rahul.Hi Masa,
In my case, i've the file 'preco_ok.jpg' located inside my extended project (Z_MM_MyProject -> WebContent -> images)
And I refer it as follow:
<Image src="images/preco_ok.jpg" class="spaceIndicator"/>
In the local enviroment it is ok, but on launchpad, the 404 error is shown:
GET http://host:port/sap/bc/ui5_ui5/ui2/ushell/shells/abap/images/preco_ok.jpg 404 (NOT FOUND)
Thank you for your support. -
OBI 11G sUnquotedTableName.empty() error while creating a report
hello guru's
We have a problem when trying to build a report in OBI 11G. We have migrated an RPD from 10 to 11 and one 1 installation DEV all is OK, on TEST we get all kind of problems.
One of the main issues is when trying to build a report and clicking on the + to expand a node of a dimension object we hget the sUnquotedTableName.empty() error
When going to the logs I see the following details of the error.
Does anyone have a clue and can help us out?
Koen Verheyen
ProblemhMessage Level 10
Relationship ID 0:1
Component OBIPS
Module saw.httpserver.processrequest
Host XXXXXXX
Host IP Address XXXXXX
Thread ID 2836335504
ECID 0000Ijcd5UzFw000jzwkno1Clgr10001eK
Message
Assertion failure: !sUnquotedTableName.empty() at line 1936 of /scratch/aime1/adestore/views/aime1_dadvfa0138/bifndn/analytics_web/main/project/webutil/tablenameutils.cpp
Supplemental Detail
File:tablenameutils.cpp
Line:1936
Location:
saw.httpserver.processrequest
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadpool
saw.threads
SessionID: 07vh3ae7bqk8nsnslpm32fhtcm9nsc5cd7va98q
AuthProps: AuthSchema=UidPwd|PWD=******|UID=koen_verheyen|User=koen_verheyen|RunAs=koen_verheyen
ecid: 0000Ijcd5UzFw000jzwkno1Clgr10001eK,0:1
ThreadID: 2836335504
HttpCommand: JSONRequestTableColumns
RemoteIP: 10.10.1.15
HttpArgs:Hi,
I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined . -
Is there a way to prevent users from sending empty or incomplete PDF forms?
Hi all,
Using Acrobat Professional 8, I made a fillable form to individuals to fill in and submit to me as a pdf attachment to an e-mail or print out it and fill by hand.
Question 1. I want to make sure they don't send incomplete or empty forms back to me. Is there a way to do that?
2. The form is 8.5x15 inches. I want it to look like one continuous page on screen but print as 2 letter size pages. However, when i go to print it, acrobat scales it down to fit in one page which makes the text too small to read.
Please advise! Thanks.
KarenOn Question 2:
when you get to the Print menu in Acrobat/Reader look for scale to fit paper and uncheck if there is a reference to Full size check that.
Maybe you are looking for
-
Multiple Libraries - One Preferences File
Hi all, I would like to set up Multiple Libraries in iTunes to Sync one with ATV and stream the other to ATV when it is active. The problem I have is that iTunes has ONE preferences file independent to the library and in particular the "Shared Name"
-
3rd gen. nano fails Device Sync in Diagnostic Tests - Nike+ Run won't sync
I have not been having any trouble with my nano, iPhone 3G, or my wife's Touch until three days ago. Then, after a run, I tried to sync the nano (to upload my workout data) and it would not work. The iPod shows the workout and iTunes shows the workou
-
Hi I am currently trying to leverage of my existing codebase by creating a Base class View containing common functionality. My goal is to create the Base class in the form of a (MFC) CFormView with an associated dialog resource containing all my NI c
-
The column name "PERNR" has two meanings. ABAP/4 Open SQL statement.
Hi All, Could anyone advise on what are the error I encountered at below code. I get the error in " The column name "PERNR" has two meanings. ABAP/4 Open SQL statement." . This errors happen to all the key fields I have selected in below code (eg: pe
-
hey i've been trying to OC my msi gtx 560ti in SLI to both at 1ghz but unable to do so I can only clock 970mhz @ the max voltage using msi afterburner and ppl is able to use the same card n get to 1ghz at a lower voltage hw do they do so???? here a v