Off to Oracle World and Why You Need to Pre-Register for Sessions!

Sunday I'm catching an early flight to San Francisco for the conference of the year, Oracle World.  Its a packed few days for me.  I'm literally off the plane, baggage, customs and then straight to the Moscone Center for the ADF EMG day.

Monday I have customer meetings, demo grounds and two presentations.  Tuesday, same again! By Wednesday all my sessions have been delivered so I might try and catch some of the other ADF and Forms presentations, although I have a 3 1/2 hour stint on the Forms demo ground.  Then Thursday its back home....oh, and there are a few parties to "meet and greet" each night.

So its going to be a pretty full on few days but its all worth while when I see how many people are pre-registered for my sessions.  Nearly 350 pre-registered for "Getting Started with Oracle ADF: What You Need to Know". "Quick Start Guide to Oracle Fusion Development with Oracle ADF" is already over 50% subscribed and both "What's Your Choice for Oracle Forms: Modernize, Upgrade, Integrate, or Migrate?" and "Redeveloping a Forms Application in Oracle ADF: A Case Study" have over 160 pre-registrations between them.

The lesson here is that if you really do want to see one of these sessions, get pre-registered.  Otherwise you might be disappointed...of course can you just turn up but you only get in once all of the pre-registered line gets seated first.


Comments:

Hi Grant,

A question about your book (Quick Start Guide to ..) in Chapter 6.
I am going through your book and following along with the code. I typed the code on page 78, and when I tried to test it as described on page 79, I get an error message as follows:

(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
----- Level 1: Detail 0 -----
(java.lang.NullPointerException) null

My output on the View-->Operations box when I click the Execute button is:
Result: success
Return value: NULL

Here is the code:

public boolean cancelCurrentOrder() {
OrdersViewRowImpl cr = (OrdersViewRowImpl)getCurrentRow();

//check to see if the order is currently "live" (orderStatus=1)
if (cr.getOrderStatus().equals(new Number(1))) {
//set the orderStatus to cancelled by customer (Status 3)
//cr.setOrderStatus(new Number(3));
cr.setOrderStatus(new Number(3));

//Assign the order to a new customer care rep
cr.setSalesRepId(new Number(101));
return true;
}
return false;
}

Do you know what is causing the error? Thanks.
JDev version is 11.1.1.4.0 and Oracle DB is 11gR2.

Regards,
Venkat

Posted by guest on October 04, 2011 at 02:56 AM BST #

Do you know which line actually fails? To make the code more "readable" I didn't include checks for nulls so it could be, for example that you executing the code on a customer which has no orders and so a call to maybe "getCurrentRow" is failing.

I just tried the code and it works ok - but if I select a customer which has no orders it fails.

hope this helps
Grant

Posted by Grant on October 04, 2011 at 09:35 AM BST #

I'm running into the same problem. The code even if typed perfectly it's not working. I'm sure it's a small fix. I just dont have the answer.

I've attached a screenshot of JDeveloper open w/the AM running displaying the error. I hope this helps you help me. http://imm.io/AScB

I'm using JDeveloper v 11.1.1.6.0
oracle XE

Thanks!

Hugo

Posted by Hugo on August 17, 2012 at 04:11 AM BST #

Obvious question, do you have a getCustomerId method in that class? I don't see it in the screen shot? Also what is the result of the stack trace?

Posted by Grant on August 17, 2012 at 09:33 AM BST #

No the method is not in that class. I only see a reference in OrdersViewRowImpl.java. Another thing I noticed, when I generated the classes in the JDeveloper UI it created 4 classes as opposed to three in the text book. The fourth one being view.common.OrdersViewRow (Client Interface).

Here's the stack trace
http://imm.io/AU3N

Posted by Hugo on August 17, 2012 at 11:32 AM BST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Tips, Tricks, Events and Information around Oracle JDeveloper, ADF, and Oracle Forms

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today