SIGABRT error when choosing a row of a tableview
Hello, I am creating an iPhone app and I keep getting a "SIGABRT" error. I have a tableview where I want a separate webpage pushed for each rows.
Currently, what happens is that the table displays; however, when I pick a row it gives me a SIGABRT error. Please help.
Here is my first view (table view) .h file:
#import <UIKit/UIKit.h>
@interface videoTableViewController : UITableViewController
NSArray *videos;
@property (strong, nonatomic) NSArray *videos;
@end
Here is my first view (table view) .m file:
#import "videoTableViewController.h"
#import "videoURLController.h"
@interface videoTableViewController ()
@end
@implementation videoTableViewController
@synthesize videos;
- (id)initWithStyle:(UITableViewStyle)style
self = [super initWithStyle:style];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
videos = [NSArray arrayWithObjects:@"Welcome", @"Hello", @"Goodbye", nil];
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
- (void)viewDidUnload
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
return (interfaceOrientation == UIInterfaceOrientationPortrait);
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
// Return the number of sections.
return 1;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
// Return the number of rows in the section.
return [self.videos count];
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
static NSString *CellIdentifier = @"videoCell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
// Configure the cell...
NSUInteger row = [indexPath row];
cell.textLabel.text = [videos objectAtIndex:row];
if (row == 0)
cell.detailTextLabel.text = @"Welcome";
if (row == 1)
cell.detailTextLabel.text = @"What we value";
if (row == 2)
cell.detailTextLabel.text = @"What does Honor mean?";
return cell;
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the specified item to be editable.
return YES;
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the item to be re-orderable.
return YES;
#pragma mark - Table view delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
videoURLController *detailViewController = [[videoURLController alloc] initWithNibName:@"videoTableViewController" bundle:nil];
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
if (indexPath.row == 0){
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
@end
Here is my videoURLController (second view/web view) .h file?
#import <UIKit/UIKit.h>
@interface videoURLController : UIViewController
@property (strong, nonatomic) IBOutlet UIWebView *webView;
@end
Here is my videoURLController (second view/web view) .m file?
#import "videoURLController.h"
@interface videoURLController ()
@end
@implementation videoURLController
@synthesize webView;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
// Do any additional setup after loading the view.
- (void)viewDidUnload
[super viewDidUnload];
// Release any retained subviews of the main view.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
return (interfaceOrientation == UIInterfaceOrientationPortrait);
@end
Hello, I am creating an iPhone app and I keep getting a "SIGABRT" error. I have a tableview where I want a separate webpage pushed for each rows.
Currently, what happens is that the table displays; however, when I pick a row it gives me a SIGABRT error. Please help.
Here is my first view (table view) .h file:
#import <UIKit/UIKit.h>
@interface videoTableViewController : UITableViewController
NSArray *videos;
@property (strong, nonatomic) NSArray *videos;
@end
Here is my first view (table view) .m file:
#import "videoTableViewController.h"
#import "videoURLController.h"
@interface videoTableViewController ()
@end
@implementation videoTableViewController
@synthesize videos;
- (id)initWithStyle:(UITableViewStyle)style
self = [super initWithStyle:style];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
videos = [NSArray arrayWithObjects:@"Welcome", @"Hello", @"Goodbye", nil];
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
- (void)viewDidUnload
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
return (interfaceOrientation == UIInterfaceOrientationPortrait);
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
// Return the number of sections.
return 1;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
// Return the number of rows in the section.
return [self.videos count];
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
static NSString *CellIdentifier = @"videoCell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
// Configure the cell...
NSUInteger row = [indexPath row];
cell.textLabel.text = [videos objectAtIndex:row];
if (row == 0)
cell.detailTextLabel.text = @"Welcome";
if (row == 1)
cell.detailTextLabel.text = @"What we value";
if (row == 2)
cell.detailTextLabel.text = @"What does Honor mean?";
return cell;
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the specified item to be editable.
return YES;
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
// Return NO if you do not want the item to be re-orderable.
return YES;
#pragma mark - Table view delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
videoURLController *detailViewController = [[videoURLController alloc] initWithNibName:@"videoTableViewController" bundle:nil];
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
if (indexPath.row == 0){
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
@end
Here is my videoURLController (second view/web view) .h file?
#import <UIKit/UIKit.h>
@interface videoURLController : UIViewController
@property (strong, nonatomic) IBOutlet UIWebView *webView;
@end
Here is my videoURLController (second view/web view) .m file?
#import "videoURLController.h"
@interface videoURLController ()
@end
@implementation videoURLController
@synthesize webView;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
return self;
- (void)viewDidLoad
[super viewDidLoad];
// Do any additional setup after loading the view.
- (void)viewDidUnload
[super viewDidUnload];
// Release any retained subviews of the main view.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
return (interfaceOrientation == UIInterfaceOrientationPortrait);
@end
Similar Messages
-
Checksum error when not displaying [row selector]
Hi !
In my tabular form, I need no row selector, so I unchecked the check box "Show" on the "Report Attributes" page.
But this leads to a checksum-error when updating a record and pressing "Submit".
What's the reason and why does it happen ?
HeinzHi Patrick.
No I've not tried it, bit I will try it after Christmas and post the result.
I've realized, that changing a column from "Text field" to "Standard Report Column" or vice versa may lead to checksum errors - but I have no idea how and why a non-database field like the row selector has influence upon the checksum - again some misterious behavior of ApEx tabular forms.
Heinz -
BB app world - unkown error when choosing to download Wunderlist
Firstly I have the problem regarding the ID server error, which is annoying enough...
However, I am still able to download and update apps via USB and App world online.
I want to get Wunderlist and when I click to download it, a page comes up and says "An unknown error has occured (EC )". It doesnt seem to happen when choosing to download any other apps..
Thoughts?Hi jblanc03
Ok I understand ,If you are unable to Open " My World " then yes those keys will not be able to clear the app world cache and the result will be the same as you are getting.
Have you tried login to App World on your desktop PC ? On there are you able to go to My World ? You can also Install Application from app world from your Computer :
KB28715 : How to Install applications from BlackBerry App World using a Computer system.
And for the problem you are having on your device as this recent version is creating problem I prefer Uninstall this version of App World from your device KB10040 : How to view or remove installed application on a blackberry smartphone. Then from your BlackBerry Browser browse to http://mobileapps.blackberry.com/devicesoftware/entry.do?code=appworld3 and download App World Version 4.0.0.55 . After Installing do battery pull restart and then have a try to see if that helps .
Prince
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it. -
Error when updating back to ODS using tableview iterator.
I get this error when I try to execute my bsp page. The page collects a cell value that was edited on the previous page and updates it to the ods.
The error is "Function not possible in a captured session"
The termination type was: TH_RES_FREE
When I debug, every thing looks fine. ITab3 returns values it's supposed to. So I am not sure what's causing it to fail. Any ideas? Thanks.
Here is my code:
CLASS cl_htmlb_manager DEFINITION LOAD.
DATA: event TYPE REF TO cl_htmlb_event.
event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
if event->id = 'Update' and event->event_type = 'click'.
DATA: tv TYPE REF TO cl_htmlb_tableview.
FIELD-SYMBOLS <i> LIKE LINE OF selectedrowindextable.
tv ?= cl_htmlb_manager=>get_data( request = runtime->server->request
name = 'tableView'
id = 'tv1' ).
IF tv IS NOT INITIAL.
DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
tv_data = tv->data.
refresh itab2.
refresh itab3.
call method tv_data->GET_ROWS_SELECTED
receiving selected_rows = itab2.
endif.
data : ind type SELECTEDROW,
row_s type row.
if itab2 is not initial.
data: rw LIKE LINE OF itab.
loop at itab2 into ind.
READ TABLE itab INDEX ind-index into
rw.
if rw is not initial.
row_s = rw.
append row_s to itab3.
clear row_s.
endif.
endloop.
MODIFY /bic/aNCN_O01300 FROM table itab3.
ENDIF.
endif.hi Uday,
This is simple....
Use the function module
<b>1) For adding leading zero's or spaces...!</b>
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = lw_variable
IMPORTING
OUTPUT = lw_variable.
<b>2) and for removing leading zero's or spaces.....</b>
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = lw_variable
IMPORTING
OUTPUT = lw_variable.
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna. -
Errors when editing a row with duplicate names
I have a table where some of the rows has same names and I changed my primary and secondary column names to display them correctly (Or else i get row fetch error). Now when I try to edit these rows that share the same names i get ORA-20001: Error in DML: p_rowid=DCDD, p_alt_rowid=ID, p_rowid2=MVS, p_alt_rowid2=MPS. ORA-01422: exact fetch returns more than requested number of rows
Can someone help me figure out what is wrong here? It seems there is a overlap of rows somewhere? I am still not sure how I use the primary and secondary column names. thanksSQL> select * from mytable;
COL1 COL2
1 2
1 2
SQL> DECLARE
2 V_VAR1 NUMBER(2);
3 BEGIN
4 SELECT COL1 INTO v_var1
5 FROM MYTABLE
6 WHERE COL1 = 1;
7 END;
8 /
DECLARE
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 4In the above case, I am using an implicit cursor to retrieve multiple values into the same variable. That will not work. I may have to use a collection or an
explicit cursor. -
ORA-00600: internal error when delete master rows in a materialized view
I have a materialized view in 11g2 on Redhat 5, defined asCREATE MATERIALIZED VIEW mv_idty
PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
select IDTY_NAME_FIRST,IDTY_NAME_MIDDLE,IDTY_NAME_LAST,IDTY_NAME_SUFFIX,IDTY_SSN,
IDTY_DR_LIC_NUM,IDTY_DR_LIC_STA,x.person_id,i.rowid i_rowid,x.rowid x_rowid
from idty i,person_x_idty x where x.idty_id=i.idty_id; I deleted a few rows from the master tables and get error13:58:48 SQL> delete idty where idty_id like 'test_row%' ;
7 rows deleted.
13:58:52 SQL> commit;
commit
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-00600: internal error code, arguments: [kkzfrfajv_markdml-1], [], [], [], [], [], [], [], [], [], [], [] I have other materialized views and they all delete master OK. This is the simplest one but causes problem. HELP!
Edited by: user13148231 on Aug 11, 2010 5:45 PMChecked note 743766.1. It is not 100% relevant as it is about import, but the query is usefulselect sowner, vname, mowner, master from sys.snap_reftime$It reveals the materialized view some how based on other schema.
Recreate the materialized view. problem solved. -
Strange error when using Automatic Row Processing
Hi All,
I have a page with 2 regions
- first is a form for data entry (4 fields - 2 hidden, 1 LOV, 1 text)
--> 3 buttons - Cancel, Create, Create & Create Another
--> Create branches to next page, Create Another branches back to same page
- second is report of items entered into the form (conditional display)
This all seems to be working, except that when I click either of the buttons, I get this:
Action Processed. -- The success message - so data is inserted
Unexpected error, unable to find item name at application or page level.
Error ERR-1002 Unable to find item ID for item " P31_PIECE_CNT)" in application "122".
And the 'OK' link. When I use the link to go back to the page, the data shows up in the report. So I know that the process is working up until it does the insert, but not sure why I get the error.
Corey
Database Version Information
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
Product Build: 2.0.0.00.49All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.
-
Oracle text error when generating random rows
Hello
firing
SELECT *
FROM
SELECT NAME,EMAIL,ADDRESS1,ADDRESS2,CONTACT_NAME,MOBILE,TELEPHONE FROM MV_CAT_SEG_REG_PROD
WHERE CATSEARCH(CAT_TYPES,'security services*' ,NULL)>0 AND
PLAN_ID=1 AND ACT_STATUS='N'
ORDER BY DBMS_RANDOM.VALUE
where rownum < 4;
returns
ORA-20000: Oracle Text error:
DRG-10849: catsearch does not support functional invocation
DRG-10599: column is not indexed
20000. 00000 - "%s"
*Cause: The stored procedure 'raise_application_error'
was called which causes this error to be generated.
*Action: Correct the problem as described in the error message or contact
the application administrator or DBA for more information.
using oracle 10gr2 on windows server 2003
i have tried 1)dropping the index and creating it again, the index type is "CTXSYS"."CTXCAT"
2) deleting the stats -checking
3)recreating the stats- checking
the table here is a materialized view
i need to tell you people that
there are two indexes cat_types_ind and cat_ids_idx on cat_types and cat_ids columns respectively
the inner query uses cat_types_idx index when executed and seen in sqladvisor
1)removing the order by clause will make the query work but i really want that order by clause
2)the inner-query-only works fine
3) i have seen the forums and they have helped regarding the things i tried above but it does not work
please tell me if i need to further elaborate on anything
thanks in advanceI have same problem, my query is:
SELECT *
FROM
(SELECT
/*+ FIRST_ROWS(50) */
NTQ.*,
ROWNUM RNUM1
FROM
(SELECT
/*+ INDEX(DL_TSD_DEFTR_CI) */
FROM ima_ol.DL_TSD_SITUATION s
WHERE (CATSEARCH(DEF_TRANS,'milano ',NULL)>0)
AND (s.FORECAST = 0)
AND (s.STATE IN (1,0,4))
AND (s.ARCH_STATE = 0)
ORDER BY s.VET_TS DESC
) NTQ
WHERE ROWNUM <=50
WHERE RNUM1 >=1
my oracle and system version:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
"CORE 11.1.0.7.0 Production"
TNS for Solaris: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
I have suggested that to solve the problem I should alter the statistics of the offending table to force to use this index .. how do I do? thanks in advance -
E32USER - CBASE 21 error when choosing CALL option...
Hello, Please help what to do with this. Iam getting this error and I cannot go to Call option. what can i do to avoid this error?
thanx martinok I have figure out this
it was couse by truephone -
Error when displaying amount field in HTMLB Tableview
Hi all,
I am displaying some 'X' table in HTMLB Tableview and it has one amount field.But reference(currency) field of that amount field is in other table . I know it gives the error.
Please tell me there is any other way to resolve this problem with out adding reference(currency)field in the same table?
Thanks and Regards ,
Harikrishna .Hi Hari,
But reference(currency) field of that amount field is in other table . I know it gives the error.
It will not give any error , you can use the currency key field of other table or structure .
Alternatively you can use predifined type DEC instaed of CURR .
Regards,
Anubhav -
Error in replicat when updating a row
Oracle 11gR2
OGG 11.1.1.1.5
I am getting the following error when updating a row that exists in both the target and source db:
OCI Error ORA-01403: no data found, SQL <UPDATE....The following is in the discard file:
Record not found
Mapping problem with compressed key update record (target format)...
...The row DOES exist in the target db for sure. But for some reason it thinks that it is not there...why?
Here are the exact steps I did:
1. Created a table in source
2. Create the same table in target (explicitly not through replication as we have an exclude filter on 'CREATE')
3. Inserted rows into source table (which were replicated to target table).
4. Delete a row in the source table (which were not applied to target as I am using the IGNOREDELETE parameter)
5. Update a row in the source table (this is where I got the above mentioned error 'ORA-1403' even though the row does exist.)mb_ogg is very likely right - you forgot to "add trandata" as that's the number one most common reason for an ORA-1403 (ANSI 100) no data found error.
The problem is that Oracle does not automatically log the PK, it only logs that which changed. Down at the replicat on the target it tries to update but the WHERE clause has PK = NULL because it was not logged in the redo. To have it logged in the redo so that the target UPDATE statement has a correct value for PK, you need to use GGSCI to issue "add trandata," which performs an "ALTER TABLE ADD SUPPLEMENTAL LOG GROUP ... ALWAYS".
"INFO TRANDATA", if using OGG version 11.2+ on Oracle it will tell you if logging is enabled on a table and for which columns.
Good luck,
-joe -
JBO-26030 and ORA-00054 error when updating a certain row
I have a page that saves data when you leave a cell in a table. Everything seems to work fine, but when you get to some cells the JBO-26030 error pops up and then no matter what you do you can't ever save anything on that cell. You can close everything down and reopen and change other cells, but when you go back to that cell the error message always pops up. I think it's mainly happening on the cell that is a drop down with 3 values (P, F, and NT). P is the value and key for the drop down.
Then when I go into the database through Toad I try to change the value just so see what happens and that's when I get the ORA-00054: resource busy and acquire with NOWAIT specified error. This again only happens when editing that row.
Any help is appreciated...Thanks!
Edited by: user10942416 on Aug 6, 2009 6:16 AMThis error is caused when the block property 'DML returning values' equals YES. This property was introduced as of forms 6. What does it do ? As per the on-line help of Forms, "A database update or insert action may initiate server-side triggers that cause alterations or additional changes in the data. In Release 6, when using an Oracle8 database server, Forms uses the DML Returning clause to immediately bring back any such changes. When this property is set to Yes, Forms will automatically update the client-side version of the data, and the user will not need to re-query the database to obtain the changed values". When this property is switched to yes the generated insert/update statement will contain the 'returning clause' and this clause is causing the error.
As far as I have tested, the only way at present, to get rid of this error is to set 'DML returing values' to NO. So, not to use this functionality.
See also:
http://support.oracle.co.uk/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=143395.1
Please respond if this solution works for you.
Greets,
Guido Zeelen -
Hi when i run this query its showing an error ORA_22905 cannot access rows
hi when i run this query its showing an error ORA_22905 cannot access rows from an non nested table item can anyone help me out
SELECT
DISTINCT SERVICE_TBL.SERVICE_ID , SERVICE_TBL.CON_TYPE, SERVICE_TBL.S_DESC || '(' || SERVICE_TBL.CON_TYPE || ')' AS SERVICE_DESC ,SERVICE_TBL.CON_STAT
FROM
TABLE(:B1 )SERVICE_TBL
WHERE
CON_NUM = :B2
thanks & regardsNote the name of this forum is SQL Developer *(Not for general SQL/PLSQL questions)* (so for issues with the SQL Developer tool). Please post these questions under the dedicated SQL And PL/SQL forum.
Regards,
K. -
Error when i remove a row after i add three rows
i have a table component to some person
if i add 2 new rows to the table without commit changes,
after i remove them is works fine!
the problem is when i add more than 3 o more rows to the table and i want to remove some row it return error.
this is my code
add feature..
public String insertar_action() {
CachedRowSetDataProvider crs = getEncuestadoresDataProvider();
RowKey fila = null;
try{
if(crs.canAppendRow()){
fila = crs.appendRow();
crs.setCursorRow(fila);
}else{
info("No se puede insertar una fila");
}catch(Exception e){
error("error : "+e);
return null;
}remove feature
public String borrar_action() {
form1.discardSubmittedValues("guardar");
CachedRowSetDataProvider crs1 = getEncuestadoresDataProvider();
try {
RowKey rk = tableRowGroup1.getRowKey();
info("row key "+rk);
if(rk!=null){
crs1.removeRow(rk);
crs1.commitChanges();
crs1.refresh();
} catch (Exception e) {
info("No se pudo eliminar el registro!");
info("error "+e);
return null;
}i hope somebody can help me
p.d. sorry my bad english
nullif i do a refresh after append a row, the row disappear immediately
the actions works fine with the new two rows added and deleted without information. and the actions works fine with others tables.
the problem begins when i add three or more new empty rows..
it's trying to execute a insert when i removeRow()
* RowKey ;CachedRowSetRowKey[3]
* error : java.lang.RuntimeException: Number of conflicts while synchronizing: 1 SyncResolver.INSERT_ROW_CONFLICT row 2 GDS Exception. 335544665. violation of PRIMARY or UNIQUE KEY constraint "INTEG_16242" on table "ENCUESTADORES"error when i remove the third.. fourth.. etc.. row (empty rows);
the print statement when i remove
INSERT INTO ENCUESTADORES (RUT, NOMBRE, APELLIDO, PASS, RUT_JEF) VALUES (?, ?, ?, ?, ?)
Writer: executing insert , params: Col[1]=(java.lang.String,) Col[2]=(null:12) Col[3]=(null:12) Col[4]=(null:12) Col[5]=(java.lang.String,33333333-3)
Writer: executing insert , params: Col[1]=(java.lang.String,) Col[2]=(null:12) Col[3]=(null:12) Col[4]=(null:12) Col[5]=(java.lang.String,33333333-3) -
Error Message
"Script: chrome://tavgp/content/libs/include.js:595"
Choice of "Continue" or "Stop script"
When choosing "continue" firefox launches but after a while crashes. Using Windows 7That is a problem with an AVG extension (toolbar).
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]]
Maybe you are looking for
-
Where is the web root directory in Database 10g Express Edition and APEX
I'm developing a mod_plsql application with database express edition and the APEX version that comes with. It works fine for developing mod_plsql applications(http://localhost:8080/apex/mypackages), but I could not find the different web directories
-
Hi, i am debugging the program in background mode, first time i was successful in capturing the job, second time it is giving error, capture job is failed. sm37 , jdbg also not working, its given error like bebuggin is not possible in active mode. in
-
HT1386 Why won't it sync?
My phone used to open itunes and sync as soon as i pluged it on my computer but now, it open the storage and i can't sync it what should i do ?
-
Help with oracle listner after trying to change the hostaname on Fedora 9
After searching high and low on the internet for help with this error I am coming here for a little assistance with this issue. A week ago I tried to change the hostname of my machine and the connection to my Db stopped working. When I type lsnrctl s
-
Having trouble with sharepoint Designer.
I am new to sharepoint and have found it very unwelcoming. I need to edit a list for our company and for some reason i can not seem to figure out how to do it. i navigate to the page i need click edit in designer and go to edit the form. I can add a