Default iMessage App Crashing When Switching Conversation - xcode
I've been working on an iMessage App for a while and there is this extremely frustrating behavior where the app crashes when conversation is switched. I can send the initial message but then after pressing back to get message list and view the message as the receiver, the app crashes immediately. After that I will be able to go back resend the message and use completely as expected, but the app will no longer be running in debugger so I cannot view any log messages.
As far as MRE, I've tried to debug this a bit and am able to 100% reproduce this with the completely default iMessageApp project creation. Creating a new project, building to simulator, pressing back to reach conversation list, app crashes. Seems like I have some setting incorrect or something, I'm not sure, any ideas for to fix this so I can use debugger or is this just something I have to deal with?
Message from debugger: Terminated due to signal 9
objc[66247]: Class CKDetailsTUConversationCell is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/ChatKit.framework/ChatKit (0x7fff86e54da0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSMS.app/MobileSMS (0x1064e07c0). One of the two will be used. Which one is undefined.
2023-01-25 17:21:31.876066-0700 MobileSMS[66247:2147170] [Warning] IMCommSafetySettingsManager: Error fetching FamilyCircle: Error Domain=com.apple.family.error Code=-1004 "(null)"
2023-01-25 17:21:32.107059-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.107465-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.107554-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.107612-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.113526-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.113703-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.113808-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.126955-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:32.260176-0700 MobileSMS[66247:2147093] [Warning] Skipping bundle with missing identifier at path:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Messages/iMessageApps/FunCameraFilters.bundle
2023-01-25 17:21:32.292309-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.292597-0700 MobileSMS[66247:2147093] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2023-01-25 17:21:32.292904-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.305882-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.PassbookUIService.PeerPaymentMessagesExtension serverBag: (null)
2023-01-25 17:21:32.310054-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.siri.parsec.HashtagImagesApp.HashtagImagesExtension serverBag: (null)
2023-01-25 17:21:32.312130-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.noc.noclibrary.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.313905-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.RemotePassUIService.RemotePaymentPassActionsMessagesExtension serverBag: (null)
2023-01-25 17:21:32.315590-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.SubcredentialUIService.SubcredentialInvitationMessagesExtension serverBag: (null)
2023-01-25 17:21:32.317431-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.noc.testing.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.319049-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.icloud.apps.messages.business.extension serverBag: (null)
2023-01-25 17:21:32.320796-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.ActivityMessagesApp.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.322457-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.Jellyfish.Animoji serverBag: (null)
2023-01-25 17:21:32.324533-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.Animoji.StickersApp.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.326528-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.noc.Hangman.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.328792-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.CredentialSharingService.ShareableCredentialsMessagesExtension serverBag: (null)
2023-01-25 17:21:32.332192-0700 MobileSMS[66247:2147165] [Warning] Invalid parameters bundleIdentifier: com.apple.mobileslideshow.PhotosMessagesApp serverBag: (null)
2023-01-25 17:21:32.345662-0700 MobileSMS[66247:2147093] [Warning] primaryBrandColorForBrand: Got nil color for brand (null) associated with <IMChat 0x7fc555e09fc0> [Identifier: C94E51B5-7B9D-47E1-824B-CC72FFF320F4 GUID: 20546371-5DB0-4F98-9D10-91E91870AB3F Persistent ID: C94E51B5-7B9D-47E1-824B-CC72FFF320F4 Account: D0D08191-0F0E-4140-98B7-7C70662F085E Style: - State: 0 Participants: 1 Room Name: (null) Display Name: (null) Unregistered: NO Last Addressed Handle: (null) Last Addressed SIMID: (null) Group ID: (null) Unread Count: 0 Failure Count: 0, isFiltered: 1, hasHadSuccessfulQuery: NO, bizIntent:(null) personCentricID:(null) mergedPinningIdentifiers:(null)]
2023-01-25 17:21:32.349670-0700 MobileSMS[66247:2147093] [Graphics] UIColor created with component values far outside the expected range. Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug. This message will only be logged once.
2023-01-25 17:21:32.361555-0700 MobileSMS[66247:2147170] [SubscriptionService] Error registering for delegate callbacks. Error: Error Domain=SKStatusSubscriptionErrorDomain Code=-4000 "System iCloud account does not exist or is not statuskit capable" UserInfo={NSDebugDescription=System iCloud account does not exist or is not statuskit capable}
2023-01-25 17:21:32.362422-0700 MobileSMS[66247:2147170] [SubscriptionService] Error retrieving subscription for handle. Error: Error Domain=SKStatusSubscriptionErrorDomain Code=-4000 "System iCloud account does not exist or is not statuskit capable" UserInfo={NSDebugDescription=System iCloud account does not exist or is not statuskit capable} handle: <SKHandle: 0x600003de9850; handleString = "+18885551212">
2023-01-25 17:21:32.362926-0700 MobileSMS[66247:2147170] [IMHandleAvailabilityManager] Error fetching subscription service for handle: "+18885551212" Error: Error Domain=SKStatusSubscriptionErrorDomain Code=-4000 "System iCloud account does not exist or is not statuskit capable" UserInfo={NSDebugDescription=System iCloud account does not exist or is not statuskit capable}
2023-01-25 17:21:32.639766-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 0, invalid state!
2023-01-25 17:21:32.640122-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 1, invalid state!
2023-01-25 17:21:32.670924-0700 MobileSMS[66247:2147165] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.photos
2023-01-25 17:21:32.736955-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.737232-0700 MobileSMS[66247:2147093] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2023-01-25 17:21:32.737533-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.738595-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 0, invalid state!
2023-01-25 17:21:32.739137-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 1, invalid state!
2023-01-25 17:21:32.739938-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.mobileslideshow.PhotosMessagesApp serverBag: (null)
2023-01-25 17:21:32.740241-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.siri.parsec.HashtagImagesApp.HashtagImagesExtension serverBag: (null)
2023-01-25 17:21:32.740502-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.noc.noclibrary.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.740749-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.RemotePassUIService.RemotePaymentPassActionsMessagesExtension serverBag: (null)
2023-01-25 17:21:32.741042-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.SubcredentialUIService.SubcredentialInvitationMessagesExtension serverBag: (null)
2023-01-25 17:21:32.741293-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.noc.testing.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.741537-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.icloud.apps.messages.business.extension serverBag: (null)
2023-01-25 17:21:32.741763-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.ActivityMessagesApp.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.742098-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.Jellyfish.Animoji serverBag: (null)
2023-01-25 17:21:32.742351-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.Animoji.StickersApp.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.742630-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.noc.Hangman.MessagesExtension serverBag: (null)
2023-01-25 17:21:32.742924-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.CredentialSharingService.ShareableCredentialsMessagesExtension serverBag: (null)
2023-01-25 17:21:32.743154-0700 MobileSMS[66247:2147093] [Warning] Invalid parameters bundleIdentifier: com.apple.PassbookUIService.PeerPaymentMessagesExtension serverBag: (null)
2023-01-25 17:21:32.744799-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.745075-0700 MobileSMS[66247:2147093] [Warning] Could not determine if com.apple.messages.browser.MorePlugin is a recent or favorite!
2023-01-25 17:21:32.749051-0700 MobileSMS[66247:2147093] [Warning] IMBalloonPluginManager. Did not find any plugin for id com.apple.messages.browser.MorePlugin
2023-01-25 17:21:32.750082-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 0, invalid state!
2023-01-25 17:21:32.750653-0700 MobileSMS[66247:2147093] [Warning] CKTranscriptCollectionViewController - Got nil layoutSection for 1, invalid state!
2023-01-25 17:21:32.752553-0700 MobileSMS[66247:2147093] [Warning] Cache miss lookup failed with error: Error Domain=com.apple.Messages.IMDaemonQueryErrorDomain Code=2 "(null)"
2023-01-25 17:21:32.761041-0700 MobileSMS[66247:2147093] [Warning] Cache miss lookup failed with error: Error Domain=com.apple.Messages.IMDaemonQueryErrorDomain Code=2 "(null)"
2023-01-25 17:21:32.761357-0700 MobileSMS[66247:2147093] [Warning] Cache miss lookup failed with error: Error Domain=com.apple.Messages.IMDaemonQueryErrorDomain Code=2 "(null)"
2023-01-25 17:21:33.281763-0700 MobileSMS[66247:2147093] [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
2023-01-25 17:21:33.397603-0700 MobileSMS[66247:2147093] [NSExtension] Extension request contains input items but the extension point does not specify a set of allowed payload classes. The extension point's NSExtensionContext subclass must implement `+_allowedItemPayloadClasses`. This must return the set of allowed NSExtensionItem payload classes. In future, this request will fail with an error. Extension: <EXConcreteExtension: 0x600000ac5e00> {id = com.noc.testing.MessagesExtension} Items: (
"<NSExtensionItem: 0x600003de2380> - userInfo: {\n \"context-is-primary\" = 1;\n \"host-view-bounds\" = \"NSRect: {{0, 0}, {320, 269.5}}\";\n}"
)
2023-01-25 17:21:37.397492-0700 testing MessagesExtension[66250:2147305] Failed to inherit CoreMedia permissions from 66247: (null)
2023-01-25 17:21:37.769322-0700 testing MessagesExtension[66250:2147231] [PPT] Error creating the CFMessagePort needed to communicate with PPT.
2023-01-25 17:21:41.228558-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.228689-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.228795-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.228888-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.231391-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.231484-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.231576-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.231652-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.232432-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.232518-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.232611-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.232688-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.259468-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.259586-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.259675-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.259763-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.260598-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.260683-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.260761-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.260848-0700 MobileSMS[66247:2147093] [CompositionalLayout] Invalid absolute dimension, must be > 0.0. NOTE: This will be a hard-assert soon, please update your call site.
2023-01-25 17:21:41.920011-0700 MobileSMS[66247:2147166] [lifecycle] [u 3ECC7661-6CF3-4F58-975C-B8E10FD593A0:m (null)] [com.noc.testing.MessagesExtension(1.0)] Connection to plugin interrupted while in use.
2023-01-25 17:21:41.922399-0700 MobileSMS[66247:2147168] [lifecycle] [u 3ECC7661-6CF3-4F58-975C-B8E10FD593A0:m (null)] [com.noc.testing.MessagesExtension(1.0)] Connection to plugin invalidated while in use.
2023-01-25 17:21:41.922765-0700 MobileSMS[66247:2147093] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
Program ended with exit code: 9
Related
Unable to create maven project in eclipse(oxygen)
GETTING THIS ERROR: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories. Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed
Unable to deploy maven to Github
I'm having a bit of an issue when trying to do mvn deploy The error I see is: Expected data to be of type "object"; value was: nil. For the github site plugin. This is the complete log: [ERROR] [ERROR] Expected data to be of type "object"; value was: nil. [ERROR] Expected data to be of type "object"; value was: nil. (422) [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.github:site-maven-plugin:0.9:site (default) on project abc: Error creating commit: Invalid request. Expected data to be of type "object"; value was: nil. Expected data to be of type "object"; value was: nil. (422) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating commit: Invalid request. Expected data to be of type "object"; value was: nil. Expected data to be of type "object"; value was: nil. (422) at com.github.maven.plugins.site.SiteMojo.execute(SiteMojo.java:440) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: org.eclipse.egit.github.core.client.RequestException: Invalid request. Expected data to be of type "object"; value was: nil. Expected data to be of type "object"; value was: nil. (422) at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552) at org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643) at org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757) at org.eclipse.egit.github.core.service.DataService.createCommit(DataService.java:397) at com.github.maven.plugins.site.SiteMojo.execute(SiteMojo.java:434) ... 21 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
This error occures because of the recent API changes. Use Version 0.10-SNAPSHOT until the final release is out. More details and a fix is described in github issues. Update: The release 0.10 is out, and the described error is fixed for most users. Check the issue to find out more.
As of 2014-09-24 Problem goes away when the github profile is changed and has a public e-mail address and <dependency> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.10</version> </dependency> is used. See discussion as https://github.com/github/maven-plugins/issues/69
From what I can tell, this appears to be a github api issue. The plugin worked fine the last time I used it and now it doesn't. Upgrading from 0.8 to 0.9 made no difference.
GWT validation error during gwt compile - No source code available
I am trying to get gwt validation working using the hibernate validator. I have followed the steps from http://code.google.com/p/google-web-toolkit/wiki/BeanValidation and configured my project according to the sample validation project at http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/ My .gwt.xml file contains: <inherits name="org.hibernate.validator.HibernateValidator" /> and my custom validation factory: <replace-with class="my.package.here.client.validation.ValidatorFactory"> <when-type-is class="javax.validation.ValidatorFactory" /> </replace-with> Validation works perfect both on client and server side in dev mode, but when trying to gwt compile I get: gwtc-production: [java] Compiling module my.package.MyModule [java] Validating newly compiled units [java] [ERROR] Errors in 'jar:file:/hibernate-validator-4.2.0.Final-sources.jar!/org/hibernate/validator/constraints/impl/FutureValidatorForReadableInstant.java' [java] [ERROR] Line 32: No source code is available for type org.joda.time.ReadableInstant; did you forget to inherit a required module? [java] [ERROR] Errors in 'jar:file:/hibernate-validator-4.2.0.Final-sources.jar!/org/hibernate/validator/constraints/impl/FutureValidatorForReadablePartial.java' [java] [ERROR] Line 32: No source code is available for type org.joda.time.ReadablePartial; did you forget to inherit a required module? [java] [ERROR] Errors in 'jar:file:/hibernate-validator-4.2.0.Final-sources.jar!/org/hibernate/validator/constraints/impl/PastValidatorForReadableInstant.java' [java] [ERROR] Errors in 'jar:file:/hibernate-validator-4.2.0.Final-sources.jar!/org/hibernate/validator/constraints/impl/SafeHtmlValidator.java' [java] [ERROR] Line 22: The import org.jsoup cannot be resolved [java] [ERROR] Line 23: The import org.jsoup cannot be resolved [java] [ERROR] Line 35: Whitelist cannot be resolved to a type [java] [ERROR] Line 40: Whitelist cannot be resolved to a type [java] [ERROR] Line 40: Whitelist cannot be resolved [java] [ERROR] Line 43: Whitelist cannot be resolved to a type [java] [ERROR] Line 43: Whitelist cannot be resolved [java] [ERROR] Line 46: Whitelist cannot be resolved to a type [java] [ERROR] Line 46: Whitelist cannot be resolved [java] [ERROR] Line 49: Whitelist cannot be resolved to a type [java] [ERROR] Line 49: Whitelist cannot be resolved [java] [ERROR] Line 52: Whitelist cannot be resolved to a type [java] [ERROR] Line 52: Whitelist cannot be resolved [java] [ERROR] Line 55: Whitelist cannot be resolved to a type [java] [ERROR] Line 62: Jsoup cannot be resolved [java] [ERROR] Line 62: Whitelist cannot be resolved to a type [java] [ERROR] Errors in 'jar:file:gwt-user.jar!/org/hibernate/validator/super/org/hibernate/validator/engine/PathImpl.java' [java] [ERROR] Line 72: The constructor NodeImpl(String) is undefined [java] [ERROR] Line 84: The constructor NodeImpl(Path.Node) is undefined [java] [ERROR] Line 95: The constructor NodeImpl(Path.Node) is undefined [java] [ERROR] Line 202: The constructor NodeImpl(String) is undefined [java] [ERROR] Line 204: The method setInIterable(boolean) is undefined for the type NodeImpl [java] [ERROR] Line 209: The method setIndex(Integer) is undefined for the type NodeImpl [java] [ERROR] Line 212: The method setKey(String) is undefined for the type NodeImpl [java] [ERROR] Aborting compile due to errors in some input files There is obviously some source jar I'm missing. I have (among others) on my classpath: hibernate-validator-4.2.0.Final.jar hibernate-validator-4.2.0.Final-sources.jar I have also tried adding joda-time-2.1.jar, joda-time-2.1-sources.jar, jsoup-1.6.3.jar and jsoup-1.6.3-sources.jar. Shouldn't inheriting the org.hibernate.validator.HibernateValidator take care of the super sources so I don't need to provide the sources? Can anyone see what I'm missing?
GWT is built against Hibernate Validator 4.1.0-Final and relies on some of its internals (PathImpl, NodeImpl), and apparently those have changed in Hibernate Validator 4.2.0. Use 4.1.0-Final (or possibly 4.0.2.GA as in the sample) instead of 4.2.0. Issue can be tracked in the GWT Tracker, we should probably at least document the incompatibility explicitly.
I didn't knew the GWT implementation of Hibernate validation. But why is GWT trying to understand code from your very Hibernate source jar? If it's GWT's own code it should come from it's gwt-user.jar or something like that. If you agree with me, then don't include any real Hibernate jar in GWT compilation classpath. It won't need it / know it, anyway.
4.1.0 also worked for me, after some time I found out that there are a few problems with higher versions. Therefore use same versions as recommaned within the tutorial from gwt (http://www.gwtproject.org/doc/latest/DevGuideValidation.html) also I had a compile WARNING: detected warnings related to 'javax.validation.constraint'. is validation- version .jar on the classpath Which i fixed with: <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <scope>compile</scope> </dependency>
Maven Error- Authorization failed: Not authorized by proxy
I am trying to build opennms in ubuntu.But when i give ./compile.pl(for compiling opennms source) in terminal, i get below error. I am using maven 2.2.1 version. Could anybody please provide a solution. Note: removed the hyperlink like http in stacktrace.. [WARNING] Unable to get resource 'org.apache.felix:maven-bundle-plugin:pom:1.4.3' from repository java-net-repo (http://maven.opennms.org/content/groups/java.net-release): Authorization failed: Not authorized by proxy. Downloading: //repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/1.4.3/maven-bundle-plugin-1.4.3.pom [WARNING] Unable to get resource 'org.apache.felix:maven-bundle-plugin:pom:1.4.3' from repository central (repo1.maven.org/maven2): Authorization failed: Not authorized by proxy. Downloading: http://maven.opennms.org/content/groups/opennms.org-release/org/apache/felix/maven-bundle-plugin/1.4.3/maven-bundle-plugin-1.4.3.pom [WARNING] Unable to get resource 'org.apache.felix:maven-bundle-plugin:pom:1.4.3' from repository opennms-repo (maven.opennms.org/content/groups/opennms.org-release): Authorization failed: Not authorized by proxy. Downloading: repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/1.4.3/maven-bundle-plugin-1.4.3.pom [WARNING] Unable to get resource 'org.apache.felix:maven-bundle-plugin:pom:1.4.3' from repository central (//repo1.maven.org/maven2): Authorization failed: Not authorized by proxy. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM).
Ensure you have proper username & password for the proxy authentication in your settings file. <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>proxy.somewhere.com</host> <port>8080</port> <username>proxyuser</username> <password>somepassword</password> <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts> </proxy> </proxies> http://maven.apache.org/guides/mini/guide-proxies.html
Raghu and Arun, Thanks a lot. I was able to build with maven.What I did was, I removed maven and reinstalled with the same version as that of bundled with opennms, and also had not changed the settings.xml in maven(inside opennms).
SQL Developer error
I'm trying to use SQL developer, but it won't connect using the proxy I specify in the preferences. I guess it's because of some kind of certificate error? Not sure. I'm getting the error: No HTTP response received. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133) at oracle.ide.webbrowser.HttpPing$PingRunnable.run(HttpPing.java:109) at oracle.ide.webbrowser.ProxyOptions.doTask(ProxyOptions.java:522) at oracle.ide.webbrowser.HttpPing.ping(HttpPing.java:74) at oracle.ide.webbrowser.ProxySettingsPanel$5.run(ProxySettingsPanel.java:766) at java.lang.Thread.run(Thread.java:619) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191) at sun.security.validator.Validator.validate(Validator.java:218) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954) ... 15 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280) ... 21 more
This most likely means that the web server you are connecting to by SSL uses a certificate issued by an unknown authority. You want to add the certificate to your keystore (on the client). See this article for instructions.
I think you don't install jdk yet. I recommand you if you use sql developer 1.5.1, you should use jdk 1.5.
One of the first rules of debugging errors: Google the error message you're getting, in quotes, like this: "unable to find valid certification path to". When I did this, I found lots of useful information that is probably relevant to you.