Java error: catch after unconditional catch
Running Java 7, FF 15.0.1. When opening most web site, the following pops up: Java error: catch after unconditional catch. What is this? And, how to repair Java? This has been happening for the past several days. Thanks...
Now there is a new version of Surf Canyon and problem is solved!
Similar Messages
-
JAVA ERROR after safari update today 7/21/11 HELP PLZ!!!
Hello after installing the safari update today, after restarting or turning on my macbook pro i get this error about java. My java has also been running really slow, after it. Can anyone help me find a way to take it off and fix this java error?
[IMG]http://i436.photobucket.com/albums/qq90/IJoNaN/Screenshot2011-07-21at113050PM.pn g[/IMG]
plz look at the picture to get a better understanding of the error i get thank you.
http://i436.photobucket.com/albums/qq90/IJoNaN/Screenshot2011-07-21at113050PM.pn gHello after installing the safari update today, after restarting or turning on my macbook pro i get this error about java. My java has also been running really slow, after it. Can anyone help me find a way to take it off and fix this java error?
[IMG]http://i436.photobucket.com/albums/qq90/IJoNaN/Screenshot2011-07-21at113050PM.pn g[/IMG]
plz look at the picture to get a better understanding of the error i get thank you.
http://i436.photobucket.com/albums/qq90/IJoNaN/Screenshot2011-07-21at113050PM.pn g -
Weblogic.version gives java error after install of D33T
Hi,
I just installed patch D33T (Oracle WebLogic Server Patch Set Update 10.3.6.0.4) - released April 2013. Before installing the patch, I checked my weblogic version (running setWLSEnv and java weblogic.version) following the instructions in the readme and the command worked.
The patch installed fine, I then checked the version again (first doing setWLSEnv and then running java weblogic.version) - however this produced the java error 'NoClassDefFoundError' - could not find the main class: weblogic.version.
I found a blog entry that suggested adding the weblogic.jar to the classpath, so I did that, then exported the classpatch, ran the setWLSEnv.sh again and tried the java weblogic.version command again - but still received the java error. I then tried running the command from the folder containg the weblogic.jar and still no luck.
Anyone have any ideas why this may be producing errors?
Thanks,
Connie
Environment info: RHEL 64 - Weblogic SErver 11gR1 (10.3.6.0) - The servers start and seem to be running fine after the patch install.I was trying a few more things after I sent my last reply and wondered if my classpath and path values might have not had correct values after running setWLSENV.sh
When I echo'ed their values, they came back without any of the values being set by setWLSEnv.sh
I then set them by copying and pasting the values echo'ed back from the setWLSEnv.sh file - by using export CLASSPATH=$CLASSPATH:<<paste of echo'ed classpath from setWLSEnv.sh>> and then the same for the path. After this, I tried the java weblogic.version and that worked - so now, I guess I am left to deal with issue of my setWLSEnv.sh not setting the CLASSPATH and PATH variables.
Thanks,
Connie -
Java error after safari 5.1 update.
After installing the new safari 5.1 on my mac os 10.6.8, I get this java error right when i turn on my computer. i have posted 2 posts of this and noone has responded...i dont know what to do should i degrade my 5.1 safari? and go back to 5.0.5?? Also when trying to play certain game on java called runescape it runs so slow that i am unable to even play it. here is the link to the error i get when i start my macbook pro.. http://i436.photobucket.com/albums/qq90/IJoNaN/Screenshot2011-07-21at113050PM.pn g ... please help thanks
I have just found out from the Scifinder site at
http://libinfo.wordpress.com/2011/07/27/scifinder-web-java-plug-in-available-for -safari-5-1/
that Apple fixed this with a download, dated 20 July 2011;
Here is the link: http://support.apple.com/kb/DL1421
After quitting all browsers and installing the dmg, Safari 5.1 still wouldn't work with it until I re-started my computer - perhaps this just flushed a cache and I could perhaps have had the same result just from flushing caches.
If Apple would only look at these threads and inform us!
But I suppose by now most of you have found this anyway. -
ERROR:java.lang.NullPointerException after upgrade 5.5 to 6.0sp1
Hellos.
I get this error message after upgrading from IdM 5.5 to Idm 6.0. I use mysql as repository so the upgrade was not easy.
The ERROR appears when I click on the "List Accounts" tab on the main menu.
However, I can listUsers from the $WSHOME/bin/lh console program quite happily.
The "Find Users" tab also works. I can search for and find and edit users.... but when I save I am returned to List Accounts page which then returns me the NullPointer.
What is going on????
Has anyone else met this and overcome it?
TIAI imported the default UserUIConfig.xml and was able to �List Accounts� in the menu page. But my customized UserUIConfig.xml is throwing the NullPointerException.
This Is what�s happening in my code.Customized original UserUIConfig with these lines of code.
Added:
<SummaryAttrNames>
<String>employeeId</String>
<String>supervisorStatus</String>��..
<QueryableAttrNames>
<List>
<String>employeeId</String>
<String>organizationCd</String>
<String>supervisorStatus</String>��.
<AppletColumns>
<List>
<Object name='name'>
<Attribute name='label' value='UI_ATTR_NAME'/>
<Attribute name='sortBy' value='true'/>
</Object>
<Object name='lastname'>
<Attribute name='label' value='UI_ATTR_LASTNAME'/>
</Object>
<Object name='firstname'>
<Attribute name='label' value='UI_ATTR_FIRSTNAME'/>
</Object>
</List>
</AppletColumns>
Deleted:
<AppletSortColumn>
<Integer>0</Integer>
</AppletSortColumn>
<ListViewAttributes>
<Map>
<MapEntry key=`DisplayBracketOnBranch`>
<Boolean>false</Bolean>
�����������
</ListViewAttributes>
Can anybody suggest me if I am missing anything here? Should i be looking at someother xml file? Is the attributes in <AppletColumns>, a major concern?
Thank You.
G -
Would like to redirect java error ExceptionHelper.java
Hi All,
I think this might be the right forum... anyway, I'd like to redirect this java exception handler to a different URL. Pretty simple.
I've tried this line of code, but I can't compile... might just be in the wrong place, line 348 :
response.sendRedirect(response.encodeRedirectURL('http://dev.sheridan.edu/uportal/errors/') );This is the whole exception file. Thank youf or your help.. I'm a newbie...
* Copyright � 2001 The JA-SIG Collaborative. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the JA-SIG Collaborative
* (http://www.jasig.org/)."
* THIS SOFTWARE IS PROVIDED BY THE JA-SIG COLLABORATIVE "AS IS" AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JA-SIG COLLABORATIVE OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
package org.jasig.portal;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ExceptionHelper {
private static final Log log = LogFactory.getLog(ExceptionHelper.class);
// List of strings to match in traceback for various containers
// This array must be expanded as additional Application Server
// containers become better known
public static final String boundaries[] =
"at javax.servlet.http.HttpServlet."
* Generate traceback only to the Servlet-container interface.
* @param ex any throwable exception
* @return stack trace string without container layers
public static String shortStackTrace(Throwable ex) {
if (ex == null)
return "";
java.io.StringWriter sw = new java.io.StringWriter();
ex.printStackTrace(new java.io.PrintWriter(sw));
sw.flush();
String stktr = sw.toString();
return trimStackTrace(stktr);
* Trims a String representation of a Stack Trace to remove
* the portion of the trace that is in the servlet container layer.
* @param stackTrace - String result of printStackTrace
* @return the stack trace with portions of the trace that dive into the container
* layer removed.
static String trimStackTrace(String stackTrace) {
StringBuffer trimmedTrace = new StringBuffer();
// a List of Strings to be trimmed and appended to the buffer
// these represent elements in the causal chain
List fragments = new ArrayList();
int causeCut = (stackTrace.indexOf("Caused by"));
if (causeCut > 0) {
// there are one or more Caused by fragments to consider
// we traverse stackTrace, parsing out fragments for later processing
// and updating stackTrace to contain the remaining unparsed portion
// as we go
while (stackTrace.length() > 0) {
if (stackTrace.startsWith("Caused by")){
// don't count the "Caused by" leading the stackTrace
causeCut = stackTrace.substring(9).indexOf("Caused by");
if (causeCut > 0)
causeCut += 9;
} else {
causeCut = stackTrace.indexOf("Caused by");
if (causeCut > -1) {
// stackTrace currently includes multiple fragments
// parse out the first and leave the rest for next iteration
fragments.add(stackTrace.substring(0, causeCut));
stackTrace = stackTrace.substring(causeCut);
} else {
// stackTrace currently is a bare fragment
// grab it
fragments.add(stackTrace);
stackTrace = "";
} else {
// there's ony a single Throwable in the chain
fragments.add(stackTrace);
// now that we have fragments to consider
for (Iterator iter = fragments.iterator(); iter.hasNext();){
String consideredFragment = (String) iter.next();
// flag to indicate that a trimmed form of this fragment has been appended
// to the trimmed stack trace buffer
boolean appended = false;
for (int i=0; i < boundaries.length; i++) {
int cut = consideredFragment.indexOf(boundaries);
if (cut > 0) {
// stack trace includes a trace through our container
// in which we are not interested: trim it.
// grab the desired portion up to the boundary
trimmedTrace.append(consideredFragment.substring(0, cut).trim());
trimmedTrace.append("\n");
appended = true;
break;
if (! appended) {
// a trimmed version of this fragment was not appended
// because it doesn't need to be trimmed -- append the whole thing.
trimmedTrace.append(consideredFragment.trim());
trimmedTrace.append("\n");
return trimmedTrace.toString();
* Generic Exception Handler called from catch clause
* @param eid the ErrorID (as seen from catch)
* @param parm
* @param ex the Exception caught
* @throws PortalException
public static void genericHandler(ErrorID eid, String parm, Throwable ex)
throws PortalException {
// *** Handle PortalExceptions ***
// Log it if logging was deferred in .signal() call
// Rethrow it
if (ex instanceof PortalException) {
if (((PortalException)ex).isLogPending())
traceToLog(eid,parm,ex);
throw (PortalException) ex;
// *** Handle all other Exceptions ***
// Log the message and traceback
traceToLog(eid, parm, ex);
// Create a derived PortalException chained to this
PortalException nex;
if (ex instanceof Exception) {
nex = new PortalException(eid, (Exception) ex);
} else {
// Sorry, at this point PortalExceptions don't chain to
// non-Exception subclasses of Throwable
nex = new PortalException(eid);
nex.setLogPending(false);
ProblemsTable.store(nex);
throw nex;
public static void genericHandler(ErrorID eid, Throwable ex)
throws PortalException {
genericHandler(eid,null,ex);
* Create PortalException from ErrorID and throw it. Maybe trace it.
* @param eid ErrorId
* @param parm Additional error information
* @param tracenow Trace now or defer till first catch.
* @throws PortalException
public static void signal(ErrorID eid, String parm, boolean tracenow)
throws PortalException {
PortalException nex = new PortalException(eid);
nex.setParameter(parm);
signal(nex,tracenow);
* Create PortalException from Errorid, trace, and throw it.
* @param eid ErrorID to use to generate PortalException
* @param parm Additional error information
* @throws PortalException
public static void signal(ErrorID eid, String parm) throws PortalException {
signal(eid,parm,true);
* Throw PortalException provided by caller, maybe trace it.
* @param nex Exception provided by caller
* @param tracenow Trace now, or later after first catch.
* @throws PortalException
private static void signal(PortalException nex, boolean tracenow)
throws PortalException {
if (tracenow) {
traceToLog(nex.getErrorID(), nex.getParameter(), nex);
ProblemsTable.store(nex);
throw nex;
* Generate, trace, and throw Portal Exception given ErrorID.
* @param eid ErrorID
* @throws PortalException
public static void signal(ErrorID eid)
throws PortalException {
signal(eid,null,true);
* Common logic for generating log entry of errors
* @param eid ErrorID with initial message
* @param parm Parameter string to append to eid msg
* @param ex Old exception
private static void traceToLog(ErrorID eid, String parm, Throwable ex) {
if (ex !=null &&
ex instanceof PortalException) {
if (!((PortalException)ex).isLogPending())
return; // This PortalException was already logged.
else
((PortalException)ex).setLogPending(false);
String logmsg = errorInfo(eid, parm, ex);
log.error( logmsg);
* Generate error string for logging or /problems online display
* @param eid Error ID
* @param parm Parameter string
* @param ex Exception
* @return Multiline text with message and traceback
public static String errorInfo(ErrorID eid, String parm, Throwable ex) {
StringBuffer errorinfobuffer = new StringBuffer(1000);
if (eid!=Errors.legacy)
errorinfobuffer.append(eid.getMessage()); // Error ID message
else
errorinfobuffer.append(ex.getMessage());
if (parm != null) { // Parameter data
errorinfobuffer.append("\n [specific data: ");
errorinfobuffer.append(parm);
errorinfobuffer.append("] ");
errorinfobuffer.append("\n");
if (ex!=null)
errorinfobuffer.append(shortStackTrace(ex)); // Stack trace
return errorinfobuffer.toString();
* Generic Top-Level Exception Handler caled from catch clause
* (doesn't rethrow exception)
* @param eid Error ID
* @param parm Parameter string
* @param ex Exception caught
public static void genericTopHandler(ErrorID eid, String parm, Throwable ex) {
// If this is an already logged Portal Exception, we are done
if (ex instanceof PortalException &&
!((PortalException)ex).isLogPending()) {
return;
traceToLog(eid, parm, ex);
if (ex instanceof PortalException) // already in the table
return;
// Create a derived PortalException (just for Problems Table)
PortalException nex=null;
if (ex instanceof Exception)
nex = new PortalException(eid, (Exception) ex);
else
nex = new PortalException(eid);
ProblemsTable.store(nex);
public static void genericTopHandler(ErrorID eid, Throwable ex) {
genericTopHandler(eid, null, ex);
* Generate HTML page to send to end user after fatal error
* @param resp Servlet response object
* @param e PortalException received at Servlet code.
public static void generateErrorPage(HttpServletResponse resp, Exception e) {
resp.setContentType("text/html");
try {
response.sendRedirect(response.encodeRedirectURL('http://dev.sheridan.edu/uportal/errors/') );
PrintWriter out = resp.getWriter();
out.println("<h1>Cannot start uPortal</h1>");
out.println("<p>Sorry, but a problem is preventing the Portal from starting. "+
"The error must be corrected by system administrators. Try again later.</p>");
//out.println("<p><a href='http://www.yale.edu/portal'>Click here to display the static Yaleinfo page.</a></p>");
out.println("<!--");
ErrorID eid = Errors.bug;
String parm = "";
if (e instanceof PortalException) {
PortalException pe = (PortalException)e;
if (pe.errorID!=null)
eid=pe.errorID;
if (pe.parameter!=null)
parm=pe.parameter;
out.println(errorInfo(eid,parm,e));
out.println("-->");
out.flush();
} catch (Exception ex) {I've tried this line of code, but I can't compile...
might just be in the wrong place, line 348 :
response.sendRedirect(response.encodeRedirectURL ('http://dev.sheridan.edu/uportal/errors/') );
Use double quotes instead of single quotes!
Single quotes are for char literals, not string literals.
And next time please copy and paste the complete error message, instead of just saying "it doesn't compile". -
Java Error while executing the excel template in the BIP 10g report server
Hello Gurus,
While we are executing the excel template we are getting the following java error and the report cannot be rendered to user who triggers the report. Where as the same excel template is generating output when user run it against the same data locally.
"oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1172)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:495)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)"
We have tried with designing the .rtf template for this report and we are able to generate the report form the server. Please let us know the cause for this error in the server and way to rectify the exception from the report server.
Thanks,
Kamath."oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
imho it's about empty result file
Data are there
may be yes but is some data from all for report itself ?
in other words data can be in output ( in xml ) but report can filters data and so report doesn't have appropriate data to representation ( it's assumption for error )
Data are there, when we are using rtf template, it is generating the output.
if you sure about data for report and on this data report works fine by bip desktop, so no ideas, only SR
btw you can first check my assumption and try to catch "no data found" in template
also you can check data itself, is it well-formed xml -
I have some questions about some java errors
1. what kind of errors are contained in Error class?
2.does this class contain only runtime errors?
3. if the question number 2 is positive, what about InstantiationError which is a compile error and is a subclass of Error.
4.When our program is out of memory, which processes are done for an error to be produced. is the error actually from OS or VM?I have some questions about some java errors
1. what kind of errors are contained in Error class?An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
2.does this class contain only runtime errors?No
3. if the question number 2 is positive, what about
InstantiationError which is a compile error and is a
subclass of Error.
4.When our program is out of memory, which processes
are done for an error to be produced. is the error
actually from OS or VM?Various - both, depending on where the error occurred. -
Hi all, i am getting an error message 200 while trying to compile the program below. Please can someone help me to point out my mistake please?
public class Student extends Thread {
private int id; // student id; can take the values 1 or 2
private Unit unit; // the Unit they are studying
// code for two-argument constructor
public Student(int id 1, int id 2){
int id 1=student 1;
int id 2=student 2;
public void run() {
for (int session = 1; session < 4; session++) {
unit.revise(id,session);
System.out.println("Student " + id + " has TV break number " + session);
try {
Thread.sleep(5);
}catch (InterruptedException e) {}
public static void main(String[] args) {
Unit courseUnit = new Unit();
// code to create and start two threads (the students)
Student1=new Student;
Student2=new Student;Thanks for your help. I have to confess that i thought that programming in java language was easy, now i know better. I am still getting the error messages. I have included the Unit code and Student code. I hope i will succeed in overcoming this first major battle.
public class Unit {
public void revise(int id, int session) {
System.out.println("Student " + id + " starts revision session " + session);
try{
Thread.sleep(5*id);
}catch(InterruptedException e){}
System.out.println("Student " + id + " stops revision session " + session);
private int id; // student id; can take the values 1 or 2
private Unit unit; // the Unit they are studying
// code for two-argument constructor
Student id1=student1;
Student id2=student2;
public void run() {
for (int session = 1; session < 4; session++) {
unit.revise(id,session);
System.out.println("Student " + id + " has TV break number " + session);
try {
Thread.sleep(5);
}catch (InterruptedException e) {}
public static void main(String[] args) {
Unit courseUnit = new Unit();
// code to create and start two threads (the students)
Student student1 = new Student();
Student student2 = new Student();
The error messages are:
"Student.java": Error #: 300 : variable student1 not found in class Student at line 7, column 17
"Student.java": Error #: 300 : variable student2 not found in class Student at line 8, column 17
Thanks for your help as i look forward to picking up from your(and others) candid advise -
The java error which i meet in the oracle 11g when i using jdm
I have finish a java data mining program,it can work in oracle 10g.But now ,i have to apply this program in oracle 11g.
What should i do to make it still work in oracle 11g?
The jar have been replaced with 11g's jar.But when i debug the program,the BuildTask's m_ programName is still "dmsys.build_program" and it should be "sys.build_program".
Then when run to the executeTask,the Error occurred.
**************the error**********************************
19:19:55,734 DEBUG AprioriExecuteUtil:248 - ---------------------------------------------------
19:19:55,734 DEBUG AprioriExecuteUtil:249 - --- Build Model ---
19:19:55,734 DEBUG AprioriExecuteUtil:250 - ---------------------------------------------------
19:21:52,328 ERROR AprioriExecuteUtil:114 - executeError:
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.dmt.jdm.task.OraBuildTask.mapJobArgs(OraBuildTask.java:410)
at oracle.dmt.jdm.base.OraTask.retrieveObjectFromDatabase(OraTask.java:535)
at oracle.dmt.jdm.base.OraTask.removeTaskContents(OraTask.java:229)
at oracle.dmt.jdm.base.OraTask.removeObjectFromDatabase(OraTask.java:214)
at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.removeObject(OraPersistanceManagerImpl.java:297)
at oracle.dmt.jdm.resource.OraConnection.removeObject(OraConnection.java:389)
at oracle.dmt.jdm.OraMiningObject.saveObjectInDatabase(OraMiningObject.java:150)
at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.saveObject(OraPersistanceManagerImpl.java:245)
at oracle.dmt.jdm.resource.OraConnection.saveObject(OraConnection.java:383)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.executeTask(AprioriExecuteUtil.java:324)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.buildModel(AprioriExecuteUtil.java:303)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.execute(AprioriExecuteUtil.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
So,if there someone know the reason,please tell me how to solve this error.Thank you!!!!Thanks for your response!
The JDK version is 1.6.0_02.
DB version is 11.2.0.1.0.
This is the code.
public class AprioriExecuteUtil {
private static Logger logger=Logger.getLogger(AprioriExecuteUtil.class);
* 连接数据库对象
private static Connection m_dmeConn;
private static ConnectionFactory m_dmeConnFactory;
* 在进程中使用的工厂对象
private static PhysicalDataSetFactory m_pdsFactory;
private static PhysicalAttributeFactory m_paFactory;
private static AssociationSettingsFactory m_assoFactory;
private static RulesFilterFactory m_filterFactory;
private static BuildTaskFactory m_buildFactory;
* 全局常量
private static DecimalFormat m_df = new DecimalFormat("##.####");
* modelId:数据挖掘模型Id
private String modelId = "";
*<p>Title: execute</p>
*<p>Description:执行数据挖掘,响应页面上的执行按钮</p>
* @param @return 设定文件
* @return String 返回类型
* @throws
public String execute(){
try{
dataminingManager().updateModelById(modelId, "schedule", "10");
dataminingManager().updateModelById(modelId, "startTime", DateUtil.getNow());
dataminingManager().updateModelById(modelId, "endTime", "");
dataminingManager().deleteModelRules(modelId,"TblSpModelRulesAr");
m_dmeConnFactory = new OraConnectionFactory();
ConnectionSpec connSpec = m_dmeConnFactory.getConnectionSpec();
connSpec.setURI("jdbc:oracle:thin:@"+SystemParamUtil.getSystemParameValue("数据挖掘.数据库.地址"));
connSpec.setName(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名"));
connSpec.setPassword(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.密码"));
m_dmeConn = m_dmeConnFactory.getConnection(connSpec);
clean();
initFactories();
prepareData();
dataminingManager().updateModelById(modelId, "schedule","20");
buildModel();
dataminingManager().updateModelById(modelId, "schedule","100");
dataminingManager().updateModelById(modelId, "endTime", DateUtil.getNow());
clean();
return null;
}catch(Exception e) {
logger.error("executeError:",e);
return "error";
finally {
try {
m_dmeConn.close();
} catch(Exception e) {
logger.error("closeConnectError:",e);
return "error";
*<p>Title: clean</p>
*<p>Description:清理所有之前构造的临时表</p>
* @param 设定文件
* @return void 返回类型
* @throws
public void clean(){
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
Statement stmt = null;
try{
stmt = dbConn.createStatement();
StringBuffer sql = new StringBuffer("select object_name from dba_objects where object_type in('TABLE','VIEW') and object_name like '%DM$%' ");
sql.append("and owner = '").append(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名")).append("'");
logger.info(sql.toString());
ResultSet rs = stmt.executeQuery(sql.toString());
while(rs.next()){
try{
stmt.executeUpdate("DROP VIEW "+rs.getString("object_name"));
}catch(SQLException e){}
try{
stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_V");
} catch(SQLException e) {}
try{
stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_AR_V");
} catch(SQLException e) {}
try {
m_dmeConn.removeObject("arModel_jdm", NamedObject.model );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arSettings_jdm", NamedObject.buildSettings );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arBuildData_jdm", NamedObject.physicalDataSet );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arBuildTask_jdm", NamedObject.task );
}catch(JDMException e) {}
}catch(SQLException e) {
logger.error("cleanViewError:",e);
}finally{
try {
stmt.close();
}catch(Exception e){
logger.error("closeConnectError:",e);
*<p>Title: initFactories</p>
*<p>Description:初始化挖掘使用的工厂</p>
* @param @throws JDMException 设定文件
* @return void 返回类型
* @throws
public void initFactories() throws JDMException{
m_pdsFactory = (PhysicalDataSetFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalDataSet");
m_paFactory = (PhysicalAttributeFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalAttribute");
m_assoFactory = (AssociationSettingsFactory)m_dmeConn.getFactory("javax.datamining.association.AssociationSettings");
m_buildFactory = (BuildTaskFactory)m_dmeConn.getFactory("javax.datamining.task.BuildTask");
m_filterFactory = (RulesFilterFactory)m_dmeConn.getFactory("javax.datamining.association.RulesFilter");
*<p>Title: prepareData</p>
*<p>Description:准备数据</p>
* @param @throws Exception 设定文件
* @return void 返回类型
* @throws
public void prepareData() throws Exception{
logger.debug("---------------------------------------------------");
logger.debug("--- Prepare Data ---");
logger.debug("---------------------------------------------------");
this.createBuildData();
this.executeColumnFormatTransformation();
*<p>Title: createBuildData</p>
*<p>Description:用之前选择的产品构造视图</p>
* @param @throws Exception 设定文件
* @return void 返回类型
* @throws
public void createBuildData() throws Exception{
logger.debug("Create build data view...");
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
TblSpDataMiningModel dataMiningmodel = dataminingManager().getDataMiningModel(modelId);
StringBuffer createView = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_V AS SELECT cp.user_no as USER_NO, cp.product_id as PRODUCT_ID, 1 has_it ");
createView.append(" from ").append(custProductTableName).append(" cp ");
createView.append(" where cp.area_code = '").append(dataMiningmodel.getArea()).append("' GROUP BY USER_NO, PRODUCT_ID");
logger.debug(createView.toString());
pStmt = dbConn.prepareStatement(createView.toString());
pStmt.execute();
public void executeColumnFormatTransformation() throws Exception{
logger.debug("Execute column format transformation...");
StringBuffer createNestedColumn = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_AR_V as ");
createNestedColumn.append(" SELECT D.USER_NO,CAST(MULTISET(SELECT DM_Nested_Numerical(C.PRODUCT_ID, has_it) FROM SALES_TRANS_CUST_V C ");
createNestedColumn.append(" WHERE C.USER_NO = D.USER_NO) AS DM_Nested_Numericals) CUSTPRODS FROM SALES_TRANS_CUST_V D group by D.USER_NO");
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
logger.debug(createNestedColumn.toString());
pStmt = dbConn.prepareStatement(createNestedColumn.toString());
pStmt.execute();
*<p>Title: buildModel</p>
*<p>Description:建立模型</p>
* @param @throws JDMException 设定文件
* @return void 返回类型
* @throws
public void buildModel() throws Exception{
logger.debug("---------------------------------------------------");
logger.debug("--- Build Model ---");
logger.debug("---------------------------------------------------");
PhysicalDataSet buildData = m_pdsFactory.create( "SALES_TRANS_CUST_AR_V", false );
PhysicalAttribute pa = m_paFactory.create("USER_NO", AttributeDataType.integerType, PhysicalAttributeRole.caseId );
buildData.addAttribute(pa);
m_dmeConn.saveObject("arBuildData_jdm", buildData, false );
AssociationSettings buildSettings = m_assoFactory.create();
//计算支持度和可信度以及最多分析多少个产品
/*java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
TblSpDataMiningModel dataMiningModel = dataminingManager().getDataMiningModel(modelId);
StringBuffer sql = new StringBuffer("select (trunc((count(*) /(count(distinct user_no) * count(distinct product_id))) * 50,2.2)) as destiny ");
sql.append(" from ").append(custProductTableName).append(" cp ");
sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("'");
logger.debug(sql.toString());
pStmt = dbConn.prepareStatement(sql.toString());
ResultSet res = pStmt.executeQuery();
Float density = 0F;
while(res.next()){
density = res.getFloat("destiny");
if(density!=0){
buildSettings.setMinSupport(density);
buildSettings.setMinConfidence(density);
logger.debug("density = "+density);
}else{
buildSettings.setMinSupport(10f);
buildSettings.setMinConfidence(10f);
sql = new StringBuffer("select round(avg(COUNT(product_id))) as maxLength ");
sql.append(" from ").append(custProductTableName).append(" cp ");
sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("' group by user_no ");
logger.debug(sql.toString());
pStmt = dbConn.prepareStatement(sql.toString());
res = pStmt.executeQuery();
int maxProductLength = 0;
while(res.next()){
maxProductLength = res.getInt("maxLength");
if(maxProductLength != 0 && maxProductLength >= 2){
buildSettings.setMaxRuleLength(maxProductLength);
logger.debug("maxProductLength = "+maxProductLength);
}else{
buildSettings.setMaxRuleLength(3);
logger.debug("maxProductLength = "+maxProductLength+" change to 3");
buildSettings.setMinSupport(1);
buildSettings.setMinConfidence(10);
buildSettings.setMaxRuleLength(3);
m_dmeConn.saveObject("arSettings_jdm", buildSettings, true );
BuildTask buildTask = m_buildFactory.create("arBuildData_jdm","arSettings_jdm","arModel_jdm");
buildTask.setDescription("arBuildTask_jdm" );
executeTask(buildTask,"arBuildTask_jdm");
AssociationModel model = (AssociationModel)m_dmeConn.retrieveObject("arModel_jdm", NamedObject.model);
if(buildSettings == null){
throw new Exception("Failure to restore build settings.");
}else{
displayAssociationRules( model );
*<p>Title: executeTask</p>
*<p>Description:执行任务</p>
* @param @param taskObj
* @param @param taskName
* @param @return
* @param @throws JDMException 设定文件
* @return boolean 返回类型
* @throws
public boolean executeTask(Task taskObj, String taskName) throws JDMException {
boolean isTaskSuccess = false;
m_dmeConn.saveObject(taskName, taskObj, true);
ExecutionHandle execHandle = m_dmeConn.execute(taskName);
logger.debug(taskName + " is started, please wait. ");
ExecutionStatus status = execHandle.waitForCompletion(Integer.MAX_VALUE);
isTaskSuccess = status.getState().equals(ExecutionState.success);
if( isTaskSuccess ) {
logger.debug(taskName + " is successful.");
} else {
logger.debug(taskName + " is failed.\nFailure Description: " +
status.getDescription() );
return isTaskSuccess;
247*******************the buildTask's m_programName is “dmsys.build_program” but it should be "sys.build_program" when i contact the 11g.I have tried many ways to compile the program,but it still can't be changed.
270*******************m_dmeConn.saveObject(taskName, taskObj, true);
the error:java.lang.ArrayIndexOutOfBoundsException: 0
If you need the data table
These are the sql :
-- Create table
create table TBL_MINING_CUST_HB
mobile_tele_no VARCHAR2(40),
area VARCHAR2(4),
user_dinner VARCHAR2(200),
re_flag VARCHAR2(2),
re_type VARCHAR2(40),
is_3gzd VARCHAR2(2),
arpu NUMBER,
net_on_duration NUMBER,
if_ring VARCHAR2(2),
if_gprs VARCHAR2(2),
gprs_fee NUMBER,
if_gprs_free VARCHAR2(2),
if_gprs_pkg VARCHAR2(2),
sms_fee NUMBER,
if_sms_free VARCHAR2(2),
if_sms_pkg VARCHAR2(2),
mms_fee NUMBER,
if_mms_pkg VARCHAR2(2),
if_mms_free VARCHAR2(2),
sen_fee NUMBER,
sen_in_fee NUMBER,
sen_out_fee NUMBER,
sen_free NUMBER,
sen_fact NUMBER,
one_cnt_10010 NUMBER,
three_cnt_10010 NUMBER,
one_cancel_business VARCHAR2(4000),
three_cancel_business VARCHAR2(4000),
sp VARCHAR2(4000)
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 64
next 1
minextents 1
maxextents unlimited
-- Add comments to the columns
comment on column TBL_MINING_CUST_HB.mobile_tele_no
is '电话号码';
comment on column TBL_MINING_CUST_HB.area
is '地市';
comment on column TBL_MINING_CUST_HB.user_dinner
is '用户套餐';
comment on column TBL_MINING_CUST_HB.re_flag
is '是否融合业务;1-是;0-否';
comment on column TBL_MINING_CUST_HB.re_type
is '套餐类别;2G后付费、2GOCS、3G后付费、3GOCS';
comment on column TBL_MINING_CUST_HB.is_3gzd
is '是否为3G终端(1-是,0非)';
comment on column TBL_MINING_CUST_HB.arpu
is 'ARPU;单位:元';
comment on column TBL_MINING_CUST_HB.net_on_duration
is '在网时长;单位:月';
comment on column TBL_MINING_CUST_HB.if_ring
is '是否开通炫铃功能,1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_gprs
is '是否开通GPRS功能,1-是;0-否';
comment on column TBL_MINING_CUST_HB.gprs_fee
is 'GPRS流量使用情况;单位: M';
comment on column TBL_MINING_CUST_HB.if_gprs_free
is '套餐内是否自带优惠或赠送流量;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_gprs_pkg
is '是否定制优惠流量包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.sms_fee
is '短信使用情况;单位:条';
comment on column TBL_MINING_CUST_HB.if_sms_free
is '套餐内是否自带优惠或赠送短信;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_sms_pkg
is '是否定制优惠短信包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.mms_fee
is '彩信使用情况;单位:条';
comment on column TBL_MINING_CUST_HB.if_mms_pkg
is '是否定制优惠彩信包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_mms_free
is '套餐内是否自带优惠或赠送彩信;1-是;0-否';
comment on column TBL_MINING_CUST_HB.sen_fee
is '本地长途合计分钟数;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_in_fee
is '本地长途省内长途;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_out_fee
is '本地长途省际长途;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_free
is '本地通话时长本地优惠分钟数;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_fact
is '本地通话时长实际使用分钟数:单位:分钟';
comment on column TBL_MINING_CUST_HB.one_cnt_10010
is '1月内拨打10010次数';
comment on column TBL_MINING_CUST_HB.three_cnt_10010
is '3月内拨打10010次数';
comment on column TBL_MINING_CUST_HB.one_cancel_business
is '1月内取消的增值业务';
comment on column TBL_MINING_CUST_HB.three_cancel_business
is '3月内取消的增值业务名称';
comment on column TBL_MINING_CUST_HB.sp
is '已开通的增值业务名称';
-- Create table
create table TBL_MINING_CUST_PRODUCT_HB
product_name VARCHAR2(1000),
product_id VARCHAR2(40),
user_no NUMBER,
area_code VARCHAR2(8)
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 16
next 1
minextents 1
maxextents unlimited
-- Create/Recreate indexes
create bitmap index IDX_PRODUCT_ID on TBL_MINING_CUST_PRODUCT_HB (PRODUCT_ID)
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create bitmap index IDX_USER_NO on TBL_MINING_CUST_PRODUCT_HB (USER_NO)
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
-- Create table
create table TBL_MINING_PRODUCT_HB
product_name VARCHAR2(1000),
product_id VARCHAR2(30) not null,
coverage_rate NUMBER
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 16
next 1
minextents 1
maxextents unlimited
-- Add comments to the columns
comment on column TBL_MINING_PRODUCT_HB.product_name
is '产品名称';
comment on column TBL_MINING_PRODUCT_HB.product_id
is '产品ID';
comment on column TBL_MINING_PRODUCT_HB.coverage_rate
is '产品覆盖率=某一个产品的购买总数/所有产品的购买总数';
-- Create/Recreate primary, unique and foreign key constraints
alter table TBL_MINING_PRODUCT_HB
add constraint PK_PRODUCT_ID primary key (PRODUCT_ID)
using index
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
Thanks! -
Discoverer 9iASv2: does not run, produces java errors
Hi,
I am evaluating Discoverer9ias v2 for my company. We have set up 9iAs infrastructure on a Win2K box, with the main 9ias BI and Forms on another Win2K box.
After installing everything, the disco plus demo ran fine for a few hours. After that the 9ias admin website and the demo stopped responding. A reboot of main 9ias box was required to fix this. And on the main 9ias servers admin website, the discoverer status always appears as unknown.
We added a few public connections. The last public connection I tried to define had only the databse service name in it. I was trying to find out if Disco Plus will prompt the user for a userid/password. On clicking 'Apply' I got a Java error. I don't know if the connection got created or not. Since then, Discoverer is NOT WORKING AT ALL!
The demo url produces this error:
java.lang.NullPointerException
at oracle.discoiv.session.model.Authentication.(Authentication.java:87)
at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:306)
at oracle.discoiv.session.model.ConnectionManager.findConnection(ConnectionManager.java:277)
at oracle.discoiv.session.model.ConnectionManager.getConnection(ConnectionManager.java:74)
at oracle.discoiv.session.model.ModelSession.openConnection(ModelSession.java:272)
at oracle.discoiv.session.model.ModelSession.openAccount(ModelSession.java:331)
at oracle.discoiv.state.LoginTransition.doTransition(LoginTransition.java:62)
at oracle.discoiv.state.StateTransition.execute(StateTransition.java:37)
at oracle.discoiv.state.StateTransition.execute(StateTransition.java:46)
at oracle.discoiv.state.DiscoState.getState(DiscoState.java:155)
at oracle.discoiv.state.DiscoState.getState(DiscoState.java:52)
at oracle.discoiv.state.StateMachine.setState(StateMachine.java:75)
at oracle.discoiv.controller.DiscovererController.setState(DiscovererController.java:236)
at oracle.discoiv.servlet.DiscovererHttpHandler.processRequest(DiscovererHttpHandler.java:101)
at oracle.discoiv.servlet.DiscoServlet.doRequest(DiscoServlet.java:314)
at oracle.discoiv.servlet.DiscoServlet.doGet(DiscoServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at oracle.plus.servlet.Disco4iProxyServlet.doRequest(Disco4iProxyServlet.java:141)
at oracle.plus.servlet.Disco4iProxyServlet.doGet(Disco4iProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
9ias Restarts and reboots have not helped. The Discoverer Services Configuration page on the 9ias admin website has a 'General Discoverer' option for creating and changing connections. But, clicking on this link also produces an error, even though 'Discoverer Viewer' and 'Discoverer Portlet Provider' links seem to work fine. This is the error:
500 Internal Server Error
java.lang.NullPointerException
at oracle.disco.oem.configuration.ConnectionConfiguration.getConnection(ConnectionConfiguration.java:161)
at oracle.disco.oem.configuration.ConnectionConfiguration.GetConnections(ConnectionConfiguration.java:64)
at oracle.disco.oem.beans.GeneralBean.<init>(GeneralBean.java:98)
at oracle.disco.oem.beans.BeansFactory.getGeneralBean(BeansFactory.java:47)
at oracle.disco.oem.cabo.DiscovererPageHandler.loadGeneralPage(DiscovererPageHandler.java:610)
at oracle.disco.oem.cabo.DiscovererPageHandler.prepareData(DiscovererPageHandler.java:252)
at oracle.sysman.emSDK.eml.svlt.PageHandler.handleRequest(PageHandler.java:305)
at oracle.sysman.emSDK.eml.svlt.EMServlet.myDoGet(EMServlet.java:649)
at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(EMServlet.java:224)
at oracle.sysman.eml.app.ConsoleSN.doGet(ConsoleSN.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)A few tips creating a public connection:
1) Always use capital letters when typing a EUL name
2) Never leave blank userid or password when defining public connections.
Althought these are fixed in the up coming patch, you just need to follow the tips for the 9.0.2.39 -
Java error while importing MDL on owb 11.1.0.7
hello experts
When importing a large MDL I have following error:
The error occurs after completing 89% of the 8Mb MDL file. I have tried with a merge and a replace option.
Small remark (but might be huge) is that the exported repository is one of 10.0.3.33 and the one I'm importing to is 11.1.0.7.
Thanks in advance for any guidelines towards solving this issue.
Error occurred importing from file "C:\Work\AB_Inbev\PG_GREECE_DWH.mdl".
java.lang.NullPointerException
at oracle.wh.service.impl.mapping.component.entity.EntityKey.loadKeys(EntityKey.java:64)
at oracle.wh.service.impl.mapping.component.entity.Entity.afterLoadOperator(Entity.java:117)
at oracle.wh.service.impl.mapping.component.entity.EntityBusinessRule.afterLoadOperator(EntityBusinessRule.java:144)
at oracle.wh.repos.impl.mapping.CMPMapOperator.internalAfterLoadHook(CMPMapOperator.java:1415)
at oracle.wh.repos.impl.mapping.CMPMapOperatorOwnerImpl.internalAfterLoadHook(CMPMapOperatorOwnerImpl.java:455)
at oracle.wh.repos.impl.mapping.CMPBaseMap.afterLoadFCOHook(CMPBaseMap.java:742)
at oracle.wh.repos.impl.mapping.CMPMap.afterLoadFCOHook(CMPMap.java:968)
at oracle.wh.repos.pdl.metadataloader.Import.GetMDLImportTokens.endElement(GetMDLImportTokens.java:1130)
at oracle.wh.repos.pdl.metadataloader.Import.GetMDLImportTokens.run(GetMDLImportTokens.java:1202)
at oracle.wh.repos.pdl.metadataloader.converter.foundation.ConverterStateMachine.runAll(ConverterStateMachine.java:70)
at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML$ConvertHandlerBase.endElement(ProcessXML.java:228)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1326)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:340)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:298)
at oracle.wh.repos.pdl.metadataloader.converter.util.WBXMLSourceReader.parse(WBXMLSourceReader.java:59)
at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.runConversion(ProcessXML.java:358)
at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.run(ProcessXML.java:292)
at oracle.wh.repos.pdl.metadataloader.converter.foundation.StateMachine.runAll(StateMachine.java:50)
at oracle.wh.repos.pdl.metadataloader.converter.WBConverter.ConvertXML(WBConverter.java:572)
at oracle.wh.repos.pdl.metadataloader.Import.MDLImport.process(MDLImport.java:1864)
at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.internalRunImport(MDLRunImport.java:431)
at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.runImport(MDLRunImport.java:503)
at oracle.wh.ui.metadataloader.Import.MDLUpgradeImportTransaction.internalRunImport(MDLUpgradeImportTransaction.java:218)
at oracle.wh.ui.metadataloader.Import.MDLUpgradeImportTransaction.run(MDLUpgradeImportTransaction.java:319)Hi,
Does the import into 10.1 work?
You may try to migrate to owb 10r2 first. Then export again and import into 11.1.
Regards,
Carsten. -
Portal V2 - java error when registering provider
Hi,
(system setup is as follows)
0. DOWNLOADED Portal V2 (OS = Windows 2000 Professional)
1. Installed IAS-infrastructure) in directory c:\oracle\ias
2. Installed IAS-midtier (portal & wireless) in directory c:\oracle\portal
3. Tried to install PDK from the downloaded file and into the same directory as IAS-infrastructure (as per the installation guide) but was forced to provide a new directory. Installed successfully in c:\oracle\pdk (NOTE: All services for instances ias, portal and pdk were started using Oracle Enterprise Manager Website; the OC4J processes were up and running)
The problem occurs when trying to register a new provider as indicated in:
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDP/LIFECYCLE/TOC/LIFECYCLE.HTM (Installation). A Java error is displayed immediately after granting access and pressing "FINISH"
Error messages are below:
=================================================================================================
An error occurred when attempting to call the providers register function. (WWC-43134)
The following error occurred during the call to Web provider: oracle.webdb.provider.v2.utils.soap.SOAPException: Can't read deployment properties for service: JPDK_V2_SAMPLE_EVENT_WEB_PROVIDER
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source)
at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source)
at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
(WWC-43147)
=================================================================================================
Is something wrong with my installation?
Should I de-install the PDK installed from the Portal V2 Distribution and re-install it with a standalone PDK download and hand configuration of the parameter files?Sorry, false alarm - it works OK now.
The mistake was that while registering the new sample provider, I had entered the name of the new provider in "Service ID", instead of using one of the providers that were available - eg "sample"
It worked OK when I used "sample" -
Hi, all
In XI 3.0 NW 2004 46C, I am getting Java Error when I goto RWB end-to-end monitoring...
screenshot here:
http://www.flickr.com/photos/25222280@N03/2822057484/sizes/o/
Can someone explain me or give me a link to what I need to do to connect this problem
Any suggesions/feedback will be greatly appreciated.
ThanksHi,
In XI 3.0 NW2004 Basis 640C under Unix platform
Problem in End-to-End Monitoring Graphic overview
Error: XMLParser: No data Allowed here (Row: 1, col:6)
SYSTEM XDV
When click End-to-End Monitoring from Runtime workbench,It pops up a error message in a Java Applet stating as follows
java.lang.NullPointerException
at com.sap.plaf.frog.FrogScrollPaneUI$1.propertyChange(FrogScrollPaneUI.java:113)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JScrollPane.setHorizontalScrollBar(Unknown Source)
Step: 1
Goto Add/Remove Program; and Uninstalled all Java Updates
Reboot Machine, run end-to-end (RWB) without install Java
Asking me to install ActiveX software, right click and allowed it
Now XDV does works fine... goto Add/Remove Software Java automacially updated:
JAVA 2 Runtime Environment SE V1.4.2_15
Step: 2
Goto XQA or XPD system
Tried end-to-end monitoring in XQA system getting Java error as follows:
XMLParser: No data allowed here (Row:1, col:6)
The call stack
com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here (row:1, col:6)
at com.inqmy.lib.xml.parser.SAXParser.parse(SAXParser.java:185)
at com.sap.jnet.io.jaxp.JNioXMLReaderSAX.readDOM(JNioXMLReaderSAX.java:244)
at com.sap.jnet.io.JNioXMLReader.readDOM(JNioXMLReader.java:68)
at com.sap.jnet.io.JNioInputSource.getDOMElement(JNioInputSource.java:119)
at com.sap.jnet.JNetData.load(JNetData.java:719)
at com.sap.jnet.JNetApplet.initJNetApplet(JNetApplet.java:479)
at com.sap.jnet.JNetApplet.access$000(JNetApplet.java:39)
at com.sap.jnet.JNetApplet$1.run(JNetApplet.java:268)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I belived java webstart does't work, if that doesn't work how come XDV system works fine...
anyway!!! I updated Java JRE6 which is including webstart
same error messages even after JRE6 update XDV getting error messages too
Any suggesions/feedback will be greatly appreciated.
Thanks a lot in Advanced -
Java.lang.NullPointerException- After Installing BOXI 4.0
Hello All
I installed BOXI 4.0 on Windows Server 2008 and then used ODBC driver to connect to BW database. After installing when i try to login to CMC using the url http://localhost:8080/BOE/CMC and then enter the credentials i get an empty page with the error
"AN ERROR HAS OCCURRED JAVA.LANG.NULLPOINTEREXCEPTION".
The same happens when i open BI Launchpad using the URL "An "AN ERROR HAS OCCURRED JAVA.LANG.NULLPOINTEREXCEPTION".
Please help me resolve the issue.
Thanks
Ahmed ShaikHi Ahmed
Generally it is not recommended to install BI 4.0 on the SAP BW database, but rather on it's own instance instead. Also depending on how the software is licensed, there may be implications in the license cost.
Regarding the java error, in some cases you have to redeploy the web applications.
Regards
Derek
Maybe you are looking for
-
Bad audio connection on P-35 Platinum moBo, while capturing analog video?
Before I give up, I'm reaching out to MSI and any persons suffering from out-of-sync audio and video capture issues while using Pinnacle Studio Video editing software. Studio Ultimate HD v.14. I've posted numerous inquiries to the Pinnacle Support te
-
Running Sync BPEL process doesn't show any HTML form /XML source for input
Hi I designed,compiled and deployed SYNC BPEL process on to server but when I opened console and try to run the process, it doesn't show any form for input Actually it has to take input Where I am doing wrong...? Thanks for any help...
-
Why my Dreamweaver CS6 encodes the URL php on MM_goToURL ?
I have a problem with dreamweaver CS6 because when I use this function MM_goToURL, my dreamweaver encodes the php var, i don't know why, I have my preference well.. I don't know if it is a bug from dreamweaver. i'm using template form dreaweaver. thi
-
BAPI Enhancements - Custom Table
Hi, I need to update a Custom Table when i call a Bapi of Change Orders. Is it possible use Parameter Extension_In? And how to develop it?
-
The website comes up fine but "secure connection failed" shows in the space where I'm supposed to put my account number. (I'm prevented from putting my account number in that field.) This computer is running Win 7 Pro. The older version of Firefox on