Interface Builder failure during ObjCTutorial.pdf
Page 43 of ObjCTutorial.pdf has me add an object to the xib. Tutorial says to change the class to ConverterController in the Inspector identity tab. No prob. Says "The class actions and class
outlets are filled-in to match the outlets and actions you defined in the ConverterController.h file."... but they aren't filled. Either it's broken or I have an IB or Xcode config issue. I build SDK 10.6 and project format Xcode 3.2
Also, the .xib graphic on the same page does not show the "Currency Converter App Delegate" object that I have. I noticed that if I build SDK 10.5 the App Delegate doesn't get created. Are they related issues? Thanks.
Hello TOEguy,
Outlets/Actions are no more in the inspector panel but on the Library one (command-shift-L) at the "Classes" tab.
Similar Messages
-
We have a SOAP to PROXY scenario Which is in Production.
We keep getting the Error:
" Problem while determining receivers using interface mapping: "SYSTEM FAILURE" during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found on host XXXXXX, ProgId =AI_RUNTIME_XXX.
We are using Standard Receiver Determination with single receiver without any condition. And no mapping being used in interface determination.
What are all the possible situation where we face such as this issue in Production.Please check the SAP note
# 1706936 - messages fails with error java.lang.RuntimeException Bean SMPP_CALL_JAVA_RUNTIME3 not found
1944248 - PI unstable due to JCO_SYSTEM_FAILURE mapping issues -
Interface Builder Assertion Failure at initialization/startup
Interface Builder appears to be unusable...
I get four (4) alert messages at the start of running Interface Builder:
====
Interface Builder encountered an internal logic error. Choose "Continue" to continue running Interface Builder in an inconsistent state. Choose "Crash" to halt Interface Builder and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.
====
Selecting (Show Details) I get:
====
Assertion Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
IBUIViewImageRequester failed to rasterize a UILabel, UIButton, UITextField, and UISegmentedControl.
Exception name: NSInternalInconsistencyException
Exception reason: [NOTE: this exception originated in the server.]
Invalid parameter not satisfying: font != nil
Exception backtrace:
0. CoreFoundation 0x30279dfb [NSException initWithName:reason:userInfo:]
1. libobjc.A.dylib 0x92750e3b objcexceptionthrow
2. CoreFoundation 0x3028e5fb CFReadStreamGetBuffer
3. Foundation 0x305b0594 [NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4. UIKit 0x309fe074 [UILabel setFont:]
5. UIKit 0x309fec08 [UILabel _commonInit]
6. UIKit 0x309fd13c [UILabel initWithFrame:]
7. Interface Builder Cocoa Touch Tool 0x00008655 [UIView initWithMarshalledValues:orderedKeys:marshallerClassNames:andMarshallerInstanti ationContexts:globalMarshallingContext:]
8. Interface Builder Cocoa Touch Tool 0x0000b307 [IBCocoaTouchToolObjectPackage dealloc]
9. Interface Builder Cocoa Touch Tool 0x0000b80f [IBCocoaTouchToolObjectPackage initWithData:]
10. Interface Builder Cocoa Touch Tool 0x0000a5a1 [IBCocoaTouchToolObjectPackage dealloc]
11. Interface Builder Cocoa Touch Tool 0x00002c74 [IBCocoaTouchTool produceImageForRequest:]
12. Interface Builder Cocoa Touch Tool 0x00002445 [IBCocoaTouchTool produceImagesForRequests:]
13. CoreFoundation 0x3024a10d CF_forwarding_prep0
14. CoreFoundation 0x30249ff8 [NSInvocation invoke]
15. CoreFoundation 0x3026eaf8 [NSInvocation invokeWithTarget:]
16. CoreFoundation 0x3026e094 [NSDate initWithTimeIntervalSinceNow:]
17. CoreFoundation 0x3024a0a2 CF_forwarding_prep0
18. CoreFoundation 0x3024a10d CF_forwarding_prep0
19. CoreFoundation 0x30249ff8 [NSInvocation invoke]
20. Foundation 0x3053e15d [NSConnection dispatchInvocation:]
21. Foundation 0x3053c307 [NSConnection handleRequest:sequence:]
22. Foundation 0x3053ba13 [NSConnection handlePortCoder:]
23. Foundation 0x3053b5be [NSConcretePortCoder dispatch]
24. Foundation 0x3053ae33 [NSDOStreamData bytes]
25. CoreFoundation 0x30246e79 CFRunLoopRemoveObserver
26. CoreFoundation 0x30245560 CFRunLoopRunSpecific
27. CoreFoundation 0x30244628 CFRunLoopRunInMode
28. Foundation 0x30535525 [NSRunLoop runMode:beforeDate:]
29. Interface Builder Cocoa Touch Tool 0x000020af [IBCocoaTouchTool startServingForPortName:]
30. Interface Builder Cocoa Touch Tool 0x00002e77 [IBCocoaTouchTool produceImageForRequest:]
Exception info:{
Backtrace:
0. Interface Builder 0x00004d29 [IBApplication handleAssertion:inFile:onLine:]
1. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
2. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
3. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
4. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
5. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
6. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
7. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
8. AppKit 0x906e4d0d _DPSNextEvent
9. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
10. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
11. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
12. AppKit 0x9091c069 [NSApplication runModalForWindow:]
13. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
14. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
15. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
16. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
17. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
18. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
19. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
20. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
21. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
22. AppKit 0x906e4d0d _DPSNextEvent
23. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
24. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
25. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
26. AppKit 0x9091c069 [NSApplication runModalForWindow:]
27. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
28. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
29. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
30. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
31. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
32. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
33. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
34. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
35. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
36. AppKit 0x906e4d0d _DPSNextEvent
37. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
38. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
39. AppKit 0x9092192b [NSApplication _realDoModalLoop:peek:]
40. AppKit 0x9091c069 [NSApplication runModalForWindow:]
41. InterfaceBuilderKit 0x00382511 [IBDetailedAlert runModal]
42. Interface Builder 0x00004dd6 [IBApplication handleAssertion:inFile:onLine:]
43. IBCocoaTouchPlugin 0x16622659 [IBAssertionShim reportMarshallingFailure:]
44. Foundation 0x9002b9bc [NSRunLoop getCFRunLoop]
45. CoreFoundation 0x93ac9595 CFRunLoopRunSpecific
46. CoreFoundation 0x93ac9c78 CFRunLoopRunInMode
47. HIToolbox 0x91f3428c BlockUntilNextEventMatchingListInMode
48. HIToolbox 0x91f33fde BlockUntilNextEventMatchingListInMode
49. HIToolbox 0x91f33f19 BlockUntilNextEventMatchingListInMode
50. AppKit 0x906e4d0d _DPSNextEvent
51. AppKit 0x906e45c0 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
52. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
53. AppKit 0x906dd5fb [NSApplication run]
54. AppKit 0x906aa834 NSApplicationMain
55. Interface Builder 0x00004eca [IBApplication changeInspectorMode:]
====
If I press (Continue) and then try to create any fields which need text, such as a label or button, I get the exact same alert window, and nothing "appears to work" as far as getting past this.
Some background...
I have no problems like this on my PPC development platform, just on my Intel-based system.
Configuration:
Intel hardware, 1.6 Ghz, 2GB, Mac OS/X 10.5.7
Originally I installed the the devtools from: xcode3122621developerdvd.dmg
and the 2.0 or 2.1 iPhone SDK, but never used Interface Builder (long story)
When the final SDK for 3.0 came out, I installed that from:
iphonesdk_3.0_leopard_9m2736final.dmg
A few days ago, I said, OK, enough reading, I'm ready to start on my application, and fired up Xcode, created a new project and double-clicked on the .xib file to build my interface.
That's when I first saw this problem... and now I'm stuck.
What I've done since...
#1) Deleted prefs for Interface Builder (ibtool), and XCode
retried... same error
#2) wiped /developer clean and resinsatlled from iphonesdk_3.0_leopard_9m2736final.dmg
retried... same error
retried #1, retried, same error
#3) ran /Volumes/Olórin/Developer/Library/uninstall-devtools --mode=all
rebooted
checked international to make sure US/English was selected
repaired disk permissions
rebooted
verified, no prefs files in ~/Library/Preferences or /Library/Preferences
retried... same error
HELP!!!! ! ! - O M G - ! ! !
{quote:title=reststop wrote:}
#3) ran /Volumes/Olórin/Developer/Library/uninstall-devtools --mode=all
{quote}
I was about to post a reply which included the entire crash log for details... and saw this line:
7/21/09 12:44:16 AM [0x0-0x28028].com.apple.InterfaceBuilder3[269] Couldn't read font cache (file://localhost/Volumes/Olo%C3%83%C3%85rin/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0. sdk/System/Library/.lilid/.lili).
The file is there, so why can't it read it... uh oh, not exactly
... I typed /Olórin/ not /Olo%C3%83%C3%83rin/
Apparently somewhere internal to Interface Builder, when it translates characters, it does it TWICE,
so instead of 'ó' (that's 'option-e o', we have 'o%C3%83%C3%83' which may have worked if it had
only been '%C3%83', without the extra o, or the extra %C3%83.
I am so glad I found this, but I'm furious at Apple for making me rebuild my development system 3 times!
...someone really needs to do better QA on a product used by so many users.
I changed the name of my disk from Olórin to Olorin and Interface Builder works fine!
The PROBLEM all along was the name of my development disk ! ! !
Someone at Apple, please NOTE!
Someone please tell me how to report this, and maybe get Apple to hire me even if just for better QA!
-Carl -
Error LNK1123: failure during conversion to COFF
hello,
I'm new to the sdk and I'm trying to open the sample projects to understand what's going on here,
the problem is that when i try to build the project(for example the SDK_File_Import project)
i get the error:
Error
1
error LNK1123: failure during conversion to COFF: file invalid or corrupt
why is that?
please help
thank you very much in advance
jonyHello,
This topic is a bit old, but I have the same problem. My english isn't perfect so I don't understand everything in the pdf guide.
I just started, and I would like to build the Export project, which is in the Exemple directory. (I took the cs6 premiere pro release 2)
I did this part of the guide : "On Windows, to specify where you want the built plug-ins to go, set a user environment variable
(right-click My Computer > Properties > Advanced > Environment Variables > User variables)
called PREMSDKBUILDPATH to the desired path (e.g. “C:\Program Files\Adobe\Common\
Plug-ins\[version]\MediaCore\”)", and I also put the exemple directory on “C:\Program Files\Adobe\Common\Plug-ins\[version]\MediaCore\”.
Then, I opened the SDK_Exporter file with visual studio 2010 (from “C:\Program Files\Adobe\Common\Plug-ins\CS5\MediaCore\Examples\Projects\SDK_Exporter\"), and tried to debug it with the x64 debugger.
I obtained this error : "LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt"
May someone help me to build this?
Thanks for your help! -
How to instantiate a control in code instead of using Interface Builder ?
I really appreciate the combination of the interface builder and Xcode altogether.
However when I am learning QT, I realize I had been pampered by Apple's Design to a certain extend as I only need to create say a NSLabel instance and use Interface Builder to do the linking and never have to worry about instantiating the Object myself.
But I'm curious, what is the way to instantiate a new hmmm say...NSLabel in the code ?
NSLabel* label = new NSLabel();
Then what ?
What you are seeing here is how QT did it, could anyone create an equivalent in ObjC ? No fancy code please, just bare minimum.
#include <QApplication>
#include <QWidget>
#include <QLabel>
int main (int argc, char * argv [ ])
QApplication app(argc, argv); //NSApplication in ObjC
//These two lines merely created a window and set the title bar text.
QWidget* window = new QWidget();
window->setWindowTitle("Hello World");
QLabel* label = new QLabel(window);//Create a label and inform the it belongs to window.
label->setText("Hello World");
window->show();
return app.exec();
Message was edited by: Bracer JackHi Jack -
I think my best answer will be something of a disappointment, because I don't know how to show a one-to-one correspondence between the code you're working with and a Cocoa program. The main function of a Cocoa GUI program for OS X will look something like this:
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
return NSApplicationMain(argc, (const char **) argv);
As you commented, we could draw a correspondence between the first statements, but after that the functionality of the Cocoa program is going to be spread out in a way that makes for a rather tedious comparison. The only way I know to answer your question in less than 5000 words, is to skip ahead to one of several points in the startup sequence where the programmer can intervene with custom code.
For example, a common way to get control would be to program a custom controller class and add an object of that class to the main nib file which is loaded during the startup sequence. By making a connection to the Application object in that nib file, the custom object could be made the delegate of the Application object, and if we then added a method named applicationDidFinishLaunching, our code would run as soon as the application's run loop was started.
Now I finally have enough context to directly answer your question, so here is the code to create a label and add it to the key window at launch time:
// MyAppController.m
#import "AppController.h"
@implementation AppController
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSLog(@"applicationDidFinishLaunching");
NSRect frameRect = NSMakeRect(150, 300, 150, 30);
NSTextField *label = [[NSTextField alloc] initWithFrame:frameRect];
[label setEditable:NO];
[label setStringValue:@"Hello World!"];
[label setFont:[NSFont labelFontOfSize:20]];
[label setAlignment:NSCenterTextAlignment];
NSView *contentView = [self.window contentView];
[contentView addSubview:label];
@end
If I needed to develop a worst case scenario for this thread, the next question would be, "Ok sure, but your code still needs a nib to start up. I want to see a Cocoa GUI program that doesn't require any nib".
It turns out that it's quite easy to build a simple iPhone app without any nib, but it's considerably more difficult for an OS X app. If anyone wants to see my nib-less iPhone code, I'll be happy to post it (I think I did post it here once before, and the response was underwhelming). But I've never attempted the much more difficult nib-less OS X app. Just in case you really want to go there, here's a blog that goes into the details: [http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-re cent-menu>.
Hope some of the above is helpful!
- Ray -
Error in BPM: "COMMUNICATION FAILURE" during JCo call. Error opening an RFC
hello experts
i am receiving the above error incase of BPM scenario where i am having a Transform step and synchronous RFC step.
i referred to the few threads discussing such problems and was trying to find whether my mapping is correct and i tested my mappings using my payload which looks good.
When looked into the Mapping trace of the BPM "Show container" i found error ""COMMUNICATION FAILURE" during JCo call. Error opening an RFC connection" and it seems that when BPM is attempting to call interface mapping it is throwing this error.
Thanks in advance.
Regards
rajeevhi,
I think no problen with the mapping part,
jco connection requird when xi try to stablish the connection with the adapter .
please look the link provided.
Setup and test SAP Java Connector outbound connection
please also check the following parameter at the exchange profile
com.sap.aii.rwb.server.centralmonitoring.r3.ashost
com.sap.aii.rwb.server.centralmonitoring.r3.client
com.sap.aii.rwb.server.centralmonitoring.r3.sysnr
com.sap.aii.rwb.server.centralmonitoring.httpport
these parameter must be given properly.
if every thing is ok than and problem still exist than try to restart the system.
for us after restarting its worked fine.
regards,
navneet -
"SYSTEM FAILURE" during JCo call. max no of 100 conversations exceeded
Hi Experts,
My scernario is : RFC->File Asynch
When i do testing this scenario in Configuration (ID) -> tools-> test configuration I got below error.
Interface Mapping
Runtime error
"SYSTEM FAILURE" during JCo call. max no of 100 conversations exceeded / CPIC-CALL: 'ThSAPCMRCV' : cmRc=17 thRc=45
1) I have created incremented 100 to 300: Set the following environment variable CPIC_MAX_CONV=300
2) In sender RFC communication channel i have all correct parameters like: gateway service,Program ID, client number, password, userid etc
Pleas help me out.
thanks
siva grandhihi,
se this
/thread/174978 [original link is broken]
Look at SAP note 314530,316877
set this enviroment Variables:
set CPIC_MAX_CONV = 500 (WINDOWS)
setenv CPIC_MAX_CONV 500 (unix)
also check the rfc destination JCO_RUNTIME_JCOSERVER
AI_RUNTIME_JCOSERVER. if u have any error in this RFC plz refer to this link
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/da0f41026df223e10000000a155106/frameset.htm
Thanks
Rodrigo
ps:reward points if useful
Edited by: Rodrigo Pertierra on Mar 26, 2008 11:59 AM -
Hi !!!
I was working ok, with hibernate and mysql but yesterday I try to install the new mysql version (4.1.10) and receive the following error when I try to connect
Initializing Hibernate
INFO - Hibernate 2.1.6
INFO - hibernate.properties not found
INFO - using CGLIB reflection optimizer
INFO - configuring from resource: /hibernate.cfg.xml
INFO - Configuration resource: /hibernate.cfg.xml
INFO - Mapping resource: com/tutorial/hibernate/core/News.hbm.xml
INFO - Mapping class: com.tutorial.hibernate.core.News -> news
INFO - Configured SessionFactory: null
INFO - processing one-to-many association mappings
INFO - processing one-to-one association property references
INFO - processing foreign key constraints
INFO - Using dialect: net.sf.hibernate.dialect.MySQLDialect
INFO - Maximim outer join fetch depth: 2
INFO - Use outer join fetching: true
INFO - Using Hibernate built-in connection pool (not for production use!)
INFO - Hibernate connection pool size: 20
INFO - using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost/unnobanews
INFO - connection properties: {user=news, password=news}
INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory
INFO - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
WARN - Could not obtain connection metadata
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
at org.gjt.mm.mysql.MysqlIO.init(Unknown Source)
at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
Somewhere I red that was necessary to update the jdbc driver, so I updated it from version nro 2 to version nro 3.1.7 but still the error
Phpmyadmin works ok and mysql control center can connect ok too.
But when I try a telnet localhost:3306 I receive and error of connection filed
Anyway the mysql status thowme correct information, that it working ok!
Any idea ?
King regards
NatyHibernate 2.1.6
loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password="", hibernate.cglib.use_reflection_optimizer=true, hibernate.connection.pool_size=10, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://manoj/manoj, hibernate.connection.driver_class=org.gjt.mm.mysql.Driver}
using CGLIB reflection optimizer
configuring from resource: /hibernate.cfg.xml
Configuration resource: /hibernate.cfg.xml
Mapping resource: com/mec/emp.hbm.xml
Mapping class: com.mec.Employee -> emp
Configured SessionFactory: null
processing one-to-many association mappings
processing one-to-one association property references
processing foreign key constraints
Using dialect: net.sf.hibernate.dialect.MySQLDialect
Maximim outer join fetch depth: 2
Use outer join fetching: true
Using Hibernate built-in connection pool (not for production use!)
Hibernate connection pool size: 10
using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://manoj/manoj
connection properties: {user=root, password=""}
No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
Could not obtain connection metadata
java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1155)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:789)
at com.mec.CreateSession.getCurrentSession(CreateSession.java:35)
at com.mec.TestEmployee.createEmployee(TestEmployee.java:37)
at com.mec.TestEmployee.main(TestEmployee.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Use scrollable result sets: false
Use JDBC3 getGeneratedKeys(): false
Optimize cache for minimal puts: false
Query language substitutions: {}
cache provider: net.sf.hibernate.cache.EhCacheProvider
instantiating and configuring caches
building session factory
Not binding factory to JNDI, no JNDI name configured
SQL Error: 0, SQLState: 08001
Server configuration denies access to data source
Cannot open connection
java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:144)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:286)
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3326)
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3286)
at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2231)
at com.mec.TestEmployee.createEmployee(TestEmployee.java:38)
at com.mec.TestEmployee.main(TestEmployee.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Process finished with exit code 0 -
DATA SAVED UNLESS ERROR MESSAGE IN WEB INTERFACE BUILDER
Dear collegue,
IN SEM-BPS THERE is a fox that executes a control on the data inserted
in the layout. In planning folder when the data are not corrected there
is a message that lock the date and data cannot be saved.
In web interface builder there is the message (with icon "STOP") but the
wrong data are saved however. This is a serious problem.
regards,
DGDear DG,
when using planning folders there is the feature to run a function upon leaving a layout and upon save. In order to forbid saving of data in case of error the function has to run upon save - and that feature is not available in WEB based planning.
You can add it by implementing the how to paper "How to run planning sequences on save and other events". You can find it in the service market place http://service.sap.com/~sapdownload/011000358700004491692004E/HowToRunPlFuncOnEvent.pdf.
This should solve your problem.
Regards, Olaf -
Interface Builder encountered an error communicating with the iPhone Simulator
Hi,
I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
CompileXIB MainWindow.xib
cd /Users/qingzhao/Desktop/ch1/HelloWorld
setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
9 ibtool 0x000000010000829f
10 ibtool 0x0000000100006e0c
11 ibtool 0x0000000100003161
12 ibtool 0x0000000100001dbc
2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
8 ibtool 0x000000010000829f
9 ibtool 0x0000000100006e0c
10 ibtool 0x0000000100003161
11 ibtool 0x0000000100001dbc
2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Failed to determine the value for systemColors of UIColor.
Exception name: IBAssertionFailure
Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
What can I do ? Thank you very much!!!I found this on stack overflow.com and thought it would apply to this article discussion for some users even though I don't understand how to revert the version (through git?)
I think this is a compatibility issue. I think the .xib has moved to Xcode 4 (as shown by the line setenv IBC_MINIMUM_COMPATIBILITY_VERSION 4.2) which Xcode 3.2's version of ibtooldoes not understand.
I think you need to revert to a version of the .xib prior to the update to Xcode 4."" -
Interface Builder encountered an error communicating with the iPhone Simula
Hi,
I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
CompileXIB MainWindow.xib
cd /Users/qingzhao/Desktop/ch1/HelloWorld
setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
9 ibtool 0x000000010000829f
10 ibtool 0x0000000100006e0c
11 ibtool 0x0000000100003161
12 ibtool 0x0000000100001dbc
2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
8 ibtool 0x000000010000829f
9 ibtool 0x0000000100006e0c
10 ibtool 0x0000000100003161
11 ibtool 0x0000000100001dbc
2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Failed to determine the value for systemColors of UIColor.
Exception name: IBAssertionFailure
Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Exception backtrace:
(null)
Exception infonull)
/* com.apple.ibtool.errors */
/Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Failed to determine the value for systemColors of UIColor.
Exception name: IBAssertionFailure
Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Exception backtrace:
(null)
Exception infonull)I'm using 10.6.4 and having the same issue. Reinstalled the newest SDK a few times (Xcode 3.2.4 with 4.1 of the iOS SDK). I can't build anything to run on the iPhone Simulator, but building regular Mac apps works fine. Here's what it tells me when I try to build and run:
CompileXIB MainWindow.xib
cd /Users/myusername/Development/iTennis
setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/myusername/Development/iTennis/build/Debug-iphonesimulator/iTennis.app/M ainWindow.nib /Users/myusername/Development/iTennis/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
2010-10-26 17:07:21.838 ibtool[1428:607] Assertion Failure: [toolTask isRunning]
2010-10-26 17:07:21.934 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-10-26 17:07:21.934 ibtool[1428:607] Line: 140
2010-10-26 17:07:22.016 ibtool[1428:607] Backtrace:
0 IBCocoaTouchPlugin 0x000000010383ddcc IBAttachToCocoaTouchTool + 1669
1 IBCocoaTouchPlugin 0x000000010383be9f IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 147
2 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
3 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
4 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
5 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
6 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
7 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
8 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
9 ibtool 0x000000010000829f
10 ibtool 0x0000000100006e0c
11 ibtool 0x0000000100003161
12 ibtool 0x0000000100001dbc
2010-10-26 17:07:22.017 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
2010-10-26 17:07:22.018 ibtool[1428:607] Assertion Failure: NO
2010-10-26 17:07:22.018 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
2010-10-26 17:07:22.018 ibtool[1428:607] Line: 351
2010-10-26 17:07:22.019 ibtool[1428:607] Backtrace:
0 IBCocoaTouchPlugin 0x000000010383bf62 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 342
1 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
2 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
3 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
4 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
5 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
6 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
7 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
8 ibtool 0x000000010000829f
9 ibtool 0x0000000100006e0c
10 ibtool 0x0000000100003161
11 ibtool 0x0000000100001dbc
2010-10-26 17:07:22.020 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Failed to determine the value for systemColors of UIColor.
Exception name: IBAssertionFailure
Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Exception backtrace:
(null)
Exception info:(null)
/* com.apple.ibtool.errors */
/Users/myusername/Development/iTennis/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Failed to determine the value for systemColors of UIColor.
Exception name: IBAssertionFailure
Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Exception backtrace:
(null)
Exception info:(null) -
Web Interface Builder+BPS+BSP
Hi All
I need some online study material for Web Interface builder(BPS_WB transaction).
I have to design a interface for the Planning .can any one send me some link
or PDF's for the same .
I need documents for web Interface Tool(Builder) BPS and BSP
If any step by step discription is there then i will be thankful
My mail id is [email protected]
Regards'
Saurabh<FONT FACE = "Tahoma", Font Color = "Blue">
Hi
<Br>
Please check out the following URL:<Br>
<U>http://help.sap.com/saphelp_sem40bw/helpdata/EN/c4/b2af6569e64418a21bd0ab4d83be83/frameset.htm</U>
<Br>Hope it helps.
<Br>
Cheers
Abhijit<Br>* It's a good habit to reward someone with points in SDN if you think his/her
response was helpful to you</FONT> -
Interface Builder and subclassing
Is it possible for me to have the outlet in Interface Builder pointing to a superclass... then in the code using that interface to point to a subclass?
So for example, suppose I'm setting up an interface in Interface Builder with a HumanView (let's say this is a subclass of UIView)... suppose this is like a character in an MMORPG... and you're customizing your chaacter...
and correspondingly in my code I have:
IBOutlet HumanView *character;
But I'm uncertain whether this view will be a female or male character... In my code I have two subclass of HumanView... FemaleView and MaleView... each with its own unique instance variables and methods...
Is it possible for me to decide in the program to have make "character" a FemaleView or MaleView?
Thanks.
Message was edited by: iphonemediamanNot a problem. I did realize I should add one minor clarification.
1) You can cast a quadralateral to a square in one instance. When you know that actual object (the structure in memory) is a square.
So, to be complete, you can safely cast a the square to a quadralateral all day long -- you know that a square is always a quadralateral. But if you are going to cast the quadralateral to a square, you should make sure you actually have a square object. The compiler will let you do it (might show a warning), but you could end up trying to reference pieces of a square that may not actually be part of the actual object. aka (in pseudo code):
// no issues with these two alloc/inits
Quad *foo = (Quad *)[[Square alloc] init];
Quad *bar = (Quad *)[[Rectangle alloc] init];
// both would return 4
[foo numSides];
[bar numSides];
// if setSideLength is only a method on a Square, then
// first line works fine
[(Square*)foo setSideLength:20.0];
// this line, however, will likely give a compiler warning and then
// an EXC_BAD* error during runtime -- bar is not actually a square
// in memory, despite what you are telling the compiler
[(Square*)bar setSideLength:20.0];
I hope I didn't conuse the issue -- but wanted to clarify.
Cheers,
George -
Interface builder storyboard compile issue (upgraded to IOS 6)
hi all,
just upgrade to IOS 6, could not run my project with the following error:
CompileStoryboard Storyboard.storyboard
cd /Users/chunsu/Desktop/project-y/WhackwhoNew
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 5.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/ Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/b in:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/chunsu/Library/Developer/Xcode/DerivedData/WhackwhoNew-fkfvwcrgzokycpfkm aqsdmeqqese/Build/Products/Debug-iphonesimulator/WhackwhoNew.app/Storyboard.stor yboardc /Users/chunsu/Desktop/project-y/WhackwhoNew/Storyboard.storyboard --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/SDKs/iPhoneSimulator6.0.sdk
2012-09-23 12:02:37.364 Interface Builder Cocoa Touch Tool[3213:f07] CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable. User domains will be volatile.2012-09-23 12:02:38.855 ibtoold[3212:707] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-1926/I BPlugin/Utilities/IBObjectMarshalling.m:651Details: Failed to compile nib consisting of IBProxyObject, IBProxyObject, IBProxyObject, IBUIButton, IBUIButton, IBUITextField, IBUITextField, and IBUIView.Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.Exception name: The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)Exception reason: (null)Exception backtrace:(null)Exception info:{ IBUnderlyingError = "Error Domain=IBMessageChannelErrorDomain Code=1 \"The operation couldn\U2019t be completed. (IBMessageChannelErrorDomain error 1.)}Function: void IBAssertMarshallingFailure(NSString *, NSString *)Thread: <NSThread: 0x40030a260>{name = (null), num = 1}Hints: NoneBacktrace: 0 0x0000000107be8643 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundatio 1 0x0000000107be820d _DVTAssertionHandler (in DVTFoundatio 2 0x0000000107be82a5 _DVTAssertionFailureHandler (in DVTFoundatio 3 0x000000010aeaf5e0 IBAssertMarshallingFailure (in IDEInterfaceBuilderCocoaTouchIntegratio 4 0x000000010af44aaa (in IDEInterfaceBuilderCocoaTouchIntegratio 5 0x000000010af44c3a (in IDEInterfaceBuilderCocoaTouchIntegratio 6 0x000000010af4ee33 (in IDEInterfaceBuilderCocoaTouchIntegratio 7 0x000000010af51f58 (in IDEInterfaceBuilderCocoaTouchIntegratio 8 0x000000010af52c76 (in IDEInterfaceBuilderCocoaTouchIntegratio 9 0x00000001073e5e8c IBWithAutoInvalidationPool (in IDEInterfaceBuilderKi 10 0x000000010af52a28 (in IDEInterfaceBuilderCocoaTouchIntegration 11 0x000000010af422e7 (in IDEInterfaceBuilderCocoaTouchIntegration 12 0x0000000107221745 __47-[IBDocument compiledPackageWithOptions:error:]_block_invoke_0 (in IDEInterfaceBuilderKit 13 0x00000001072389a1 -[IBDocument assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit 14 0x0000000107221710 -[IBDocument compiledPackageWithOptions:error:] (in IDEInterfaceBuilderKit 15 0x0000000107122f90 (in ibtoold 16 0x00000001071200e8 (in ibtoold 17 0x000000010711fc5f (in ibtoold 18 0x000000010711fb53 (in ibtoold 19 0x000000010712c165 (in ibtoold 20 0x000000010711f684 (in ibtoold 21 0x00000001071208f1 (in ibtoold 22 0x000000010711e524 (in ibtoold 23 0x000000000000000Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D eveloper/usr/bin/ibtool failed with exit code 255
is anyone know how to fix?
thanks!CFPreferences: user home directory at file://localhost/Users/chunsu/Library/Application%20Support/iPhone%20Simulator/ User/ is unavailable
So does that folder exist? It does on my disk.
I assume you have tried a Product > Clean then Build. -
Interface Builder Crash on Startup
Hi,
I have installed the latest XCode 3.2.1 and the iPhone SDK for the first time two weeks ago. Right after installation, the Interface Builder has begun coming up with at least one popup window "Assertion failure". Sometimes there are up to 10 popup windows. When i click on the first one to "continue", the others disappear and only one remains (guess that is a new failure then).
I have already uninstalled XCode, renamed Developer folder and reinstalled, but still the exact same problem.
I'll simply post the stacktrace of the first message:
Assertion Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
IBUIViewImageRequester failed to rasterize a UITabBar and UIToolbar.
Exception name: NSInvalidSendPortException
Exception reason: [NSMachPort sendBeforeDate:] destination port invalid
Exception backtrace:
(null)
Exception info:(null)
Thread 0 Asserted:
0 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
1 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
2 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
3 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
4 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
5 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
6 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
7 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
8 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
9 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
10 Interface Builder 0x00000001000033b8
11 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
12 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
13 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
14 Interface Builder 0x0000000100007167
15 Interface Builder 0x00000001000071e0
16 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
17 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
18 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
19 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
20 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
21 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
22 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
23 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
24 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
25 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
26 Interface Builder 0x00000001000033b8
27 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
28 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
29 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
30 Interface Builder 0x0000000100007167
31 Interface Builder 0x00000001000071e0
32 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
33 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
34 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
35 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
36 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
37 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
38 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
39 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
40 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
41 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
42 Interface Builder 0x00000001000033b8
43 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
44 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
45 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
46 Interface Builder 0x0000000100007167
47 Interface Builder 0x00000001000071e0
48 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
49 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
50 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
51 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
52 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
53 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
54 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
55 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
56 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
57 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
58 Interface Builder 0x00000001000033b8
59 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
60 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
61 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
62 Interface Builder 0x0000000100007167
63 Interface Builder 0x00000001000071e0
64 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
65 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
66 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
67 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
68 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
69 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
70 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
71 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
72 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
73 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
74 Interface Builder 0x00000001000033b8
75 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
76 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
77 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
78 Interface Builder 0x0000000100007167
79 Interface Builder 0x00000001000071e0
80 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
81 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
82 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
83 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
84 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
85 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
86 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
87 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
88 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
89 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
90 Interface Builder 0x00000001000033b8
91 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
92 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
93 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
94 Interface Builder 0x0000000100007167
95 Interface Builder 0x00000001000071e0
96 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
97 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
98 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
99 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
100 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
101 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
102 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
103 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
104 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
105 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
106 Interface Builder 0x00000001000033b8
107 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
108 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
109 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
110 Interface Builder 0x0000000100007167
111 Interface Builder 0x00000001000071e0
112 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
113 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
114 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
115 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
116 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
117 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
118 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
119 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
120 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
121 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
122 Interface Builder 0x00000001000033b8
123 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
124 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
125 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
126 Interface Builder 0x0000000100007167
127 Interface Builder 0x00000001000071e0
128 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
129 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
130 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
131 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
132 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
133 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
134 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
135 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
136 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
137 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
138 Interface Builder 0x00000001000033b8
139 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
140 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
141 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
142 Interface Builder 0x0000000100007167
143 Interface Builder 0x00000001000071e0
144 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
145 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
146 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
147 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
148 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
149 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
150 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
151 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
152 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
153 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
154 Interface Builder 0x00000001000033b8
155 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
156 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
157 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
158 Interface Builder 0x0000000100007167
159 Interface Builder 0x00000001000071e0
160 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
161 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
162 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
163 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
164 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
165 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
166 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
167 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
168 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
169 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
170 Interface Builder 0x00000001000033b8
171 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
172 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
173 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
174 Interface Builder 0x0000000100007167
175 Interface Builder 0x00000001000071e0
176 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
177 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
178 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
179 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
180 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
181 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
182 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
183 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
184 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
185 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
186 Interface Builder 0x00000001000033b8
187 AppKit 0x00007fff88228a83 -[NSApplication _realDoModalLoop:peek:] + 442
188 AppKit 0x00007fff8822660d -[NSApplication runModalForWindow:] + 129
189 InterfaceBuilderKit 0x00000001002a293d -[IBDetailedAlert runModal] + 77
190 Interface Builder 0x0000000100007167
191 Interface Builder 0x00000001000071e0
192 IBCocoaTouchPlugin 0x000000011691bab3 IBMessageForAssertingMarshallingFailureFromException + 538
193 Foundation 0x00007fff816ee713 __NSThreadPerformPerform + 219
194 CoreFoundation 0x00007fff8018e281 __CFRunLoopDoSources0 + 1361
195 CoreFoundation 0x00007fff8018c879 __CFRunLoopRun + 873
196 CoreFoundation 0x00007fff8018c03f CFRunLoopRunSpecific + 575
197 HIToolbox 0x00007fff80955c4e RunCurrentEventLoopInMode + 333
198 HIToolbox 0x00007fff809559b1 ReceiveNextEventCommon + 148
199 HIToolbox 0x00007fff8095590c BlockUntilNextEventMatchingListInMode + 59
200 AppKit 0x00007fff87fee520 _DPSNextEvent + 718
201 AppKit 0x00007fff87fede89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
202 Interface Builder 0x00000001000033b8
203 AppKit 0x00007fff87fb3a7d -[NSApplication run] + 395
204 AppKit 0x00007fff87fac798 NSApplicationMain + 364
205 Interface Builder 0x00000001000016a5
206 Interface Builder 0x0000000100001634
207 ???
Can you help me?
Thanks in Advance,
Manuel M.I've also had the same problem since updating to Snow Leopard. Actually, to be more specific, Interface Builder would sometimes hang completely but after killing it, I would then get the 4 (or more) Assertion failure dialog boxes. This sounds like what you're experiencing.
At the risk of passing along bad information, I did find this and it solved the problem for me: http://www.cocoabuilder.com/archive/message/xcode/2009/10/20/31402
I renamed the version of the file located in /usr/local/lib and now IB seems to be working.
If you decide to try this please make sure to just rename the file. Even if I was an expert at troubleshooting IB (which I'm not) there's no crash log here to look at so you might have a different problem. I don't want to suggest something and wreck your system further.
Maybe you are looking for
-
Hi all. I have stanalone offline RootCA, and enterprise domain SubCA on DC on Windows 2012 server. I have Windows 2003 Terminal Server, users logon to TS via smart cards - and this work fine. Now I added Windows server 2012 as "Terminal Server". Now
-
Has anyone else had any issues with their iPhone 5
I had a problem with Siri this weekend. Asked a question and got it answered, then asked another question and it was just "thinking" and didn't answer. This morning I connected to iTunes and the screen went black except for time, service bar. I ha
-
No additional details - just can't figure out why the search history will not clear.
-
Error 114 Cant save a pdf from the scanner
Error 114 I can scan and creat a pdf but I cant save it. New HP ENVY printer / scanner working correctly otherwise.
-
Blank Screen on my nano ipod!!???!!
HELP!!! My ipod is about 3 weeks old, it has been working fine but it went dead and now the screen is blank even when it is connected to my computer. Any helpfull suggestions???