This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150883 - Edited process contains stale info that causes exceptions at runtime
Summary: Edited process contains stale info that causes exceptions at runtime
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ritesh Adval
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-21 15:34 UTC by jlautz
Modified: 2008-10-21 15:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IEP process containing stale info (10.57 KB, text/plain)
2008-10-21 15:35 UTC, jlautz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jlautz 2008-10-21 15:34:02 UTC
Seen with JavaCAPS 6 NB 6.1 + patch 4 on Windows XP with IEP *.nbm and *.jar files from 20081019 builds.

I edited the attached *iep project and deployed and ran it as part of an application. The process originally contained a
TupleBasedWindow, which was removed. Looking at the source, a reference to that operator is still included. At runtime,
the following exception occurs:

[#|2008-10-21T09:10:43.259-0500|FINE|sun-appserver9.1|com.sun.jbi.engine.iep.Inp
utOperation|_ThreadID=23;_ThreadName=Thread-77;ClassName=com.sun.jbi.engine.iep.
InputOperation;MethodName=process;_RequestID=0ebdf5ae-9a11-40f2-b806-85952cdedfb
b;|IEPSEaaa09003: Inbound message: <?xml version="1.0" encoding="UTF-8"?>
<jbi:message xmlns:msgns="GapWindowInput.GapWindowInput_iep" xmlns:soapenv="http
://schemas.xmlsoap.org/soap/envelope/" xmlns:str="GapWindowInput.GapWindowInput_
iep" type="msgns:StreamInput0_Msg" version="1.0" xmlns:jbi="http://java.sun.com/
xml/ns/jbi/wsdl-11-wrapper">
    <jbi:part>
        <str:StreamInput0_MsgObj>
         <int1>2</int1>
         <bigint1>2000000000</bigint1>
         <double1>2000000000.2</double1>
         <varchar1>set2</varchar1>
         <date1>2001-07-04-02:00</date1>
         <ts1>2001-07-04T12:02:56.235-08:00</ts1>
      </str:StreamInput0_MsgObj>
    </jbi:part>
</jbi:message>
|#]

[#|2008-10-21T09:10:44.949-0500|SEVERE|sun-appserver9.1|com.sun.jbi.engine.iep.c
ore.runtime.IEPEngine|_ThreadID=60;_ThreadName=GapWindowInput.GapWindowInput_iep
(RoundRobin-Scheduler);Task=GapWindowInput.GapWindowInput_iep(RoundRobin-Schedul
er).run;Application=IEPSE;_RequestID=e9b5f0bb-f807-48a9-aa04-9657079f2165;|IEPSE
aga03011: Operator RelationMap0 fail to operate.
java.sql.SQLException: The exception 'java.sql.SQLException: Table/View 'TUPLEBA
SEDWINDOW0' does not exist.' was thrown while evaluating an expression. SQLSTATE
: 42X05: Table/View 'TUPLEBASEDWINDOW0' does not exist.
        at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unkn
own Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
e)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown So
urce)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.derby.RelationMapDe
rby.executeOperateStatements(RelationMapDerby.java:303)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.RelationMap.execute
OperateStmt(RelationMap.java:194)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.AbstractOperator.op
erate(AbstractOperator.java:422)
        at com.sun.jbi.engine.iep.core.runtime.scheduler.RoundRobin.run(RoundRob
in.java:177)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.derby.client.am.SqlException: The exception 'java.sql.SQLE
xception: Table/View 'TUPLEBASEDWINDOW0' does not exist.' was thrown while evalu
ating an expression. SQLSTATE: 42X05: Table/View 'TUPLEBASEDWINDOW0' does not ex
ist.
        at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
        at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unk
nown Source)
        at org.apache.derby.client.net.NetStatementReply.readExecuteCall(Unknown
 Source)
        at org.apache.derby.client.net.StatementReply.readExecuteCall(Unknown So
urce)
        at org.apache.derby.client.net.NetStatement.readExecuteCall_(Unknown Sou
rce)
        at org.apache.derby.client.am.Statement.readExecuteCall(Unknown Source)
        at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Sour
ce)
        at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown S
ource)
        ... 6 more
|#][#|2008-10-21T09:10:43.259-0500|FINE|sun-appserver9.1|com.sun.jbi.engine.iep.Inp
utOperation|_ThreadID=23;_ThreadName=Thread-77;ClassName=com.sun.jbi.engine.iep.
InputOperation;MethodName=process;_RequestID=0ebdf5ae-9a11-40f2-b806-85952cdedfb
b;|IEPSEaaa09003: Inbound message: <?xml version="1.0" encoding="UTF-8"?>
<jbi:message xmlns:msgns="GapWindowInput.GapWindowInput_iep" xmlns:soapenv="http
://schemas.xmlsoap.org/soap/envelope/" xmlns:str="GapWindowInput.GapWindowInput_
iep" type="msgns:StreamInput0_Msg" version="1.0" xmlns:jbi="http://java.sun.com/
xml/ns/jbi/wsdl-11-wrapper">
    <jbi:part>
        <str:StreamInput0_MsgObj>
         <int1>2</int1>
         <bigint1>2000000000</bigint1>
         <double1>2000000000.2</double1>
         <varchar1>set2</varchar1>
         <date1>2001-07-04-02:00</date1>
         <ts1>2001-07-04T12:02:56.235-08:00</ts1>
      </str:StreamInput0_MsgObj>
    </jbi:part>
</jbi:message>
|#]

[#|2008-10-21T09:10:44.949-0500|SEVERE|sun-appserver9.1|com.sun.jbi.engine.iep.c
ore.runtime.IEPEngine|_ThreadID=60;_ThreadName=GapWindowInput.GapWindowInput_iep
(RoundRobin-Scheduler);Task=GapWindowInput.GapWindowInput_iep(RoundRobin-Schedul
er).run;Application=IEPSE;_RequestID=e9b5f0bb-f807-48a9-aa04-9657079f2165;|IEPSE
aga03011: Operator RelationMap0 fail to operate.
java.sql.SQLException: The exception 'java.sql.SQLException: Table/View 'TUPLEBA
SEDWINDOW0' does not exist.' was thrown while evaluating an expression. SQLSTATE
: 42X05: Table/View 'TUPLEBASEDWINDOW0' does not exist.
        at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unkn
own Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
e)
        at org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown So
urce)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.derby.RelationMapDe
rby.executeOperateStatements(RelationMapDerby.java:303)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.RelationMap.execute
OperateStmt(RelationMap.java:194)
        at com.sun.jbi.engine.iep.core.runtime.operator.impl.AbstractOperator.op
erate(AbstractOperator.java:422)
        at com.sun.jbi.engine.iep.core.runtime.scheduler.RoundRobin.run(RoundRob
in.java:177)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.derby.client.am.SqlException: The exception 'java.sql.SQLE
xception: Table/View 'TUPLEBASEDWINDOW0' does not exist.' was thrown while evalu
ating an expression. SQLSTATE: 42X05: Table/View 'TUPLEBASEDWINDOW0' does not ex
ist.
        at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
        at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unk
nown Source)
        at org.apache.derby.client.net.NetStatementReply.readExecuteCall(Unknown
 Source)
        at org.apache.derby.client.net.StatementReply.readExecuteCall(Unknown So
urce)
        at org.apache.derby.client.net.NetStatement.readExecuteCall_(Unknown Sou
rce)
        at org.apache.derby.client.am.Statement.readExecuteCall(Unknown Source)
        at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Sour
ce)
        at org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown S
ource)
        ... 6 more
|#]
Comment 1 jlautz 2008-10-21 15:35:35 UTC
Created attachment 72395 [details]
IEP process containing stale info