• xmlguy
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 15
    Questions
  • 13
    Replies
(I am reposting this from a different board I posted by Mistake)
 
I am getting the following null pointer error in the Eclipse Error Log whenever I try create a new Apex Project.  I've reproduced it on both my windows laptop and my windows server box.  Has anyone else encountered this?  I am using JRE 1.5 and Eclipse 3.2.1.
 
Thanks!  Mark
 
 
java.lang.NullPointerException
at com.appexchange.plugin.wizards.ConnectionPage.createGroup(ConnectionPage.java:345)
at com.appexchange.plugin.wizards.ConnectionPage.createControl(ConnectionPage.java:277)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1046)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1028)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1026)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:757)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
  • January 24, 2007
  • Like
  • 0
I am getting the following error in the Eclipse Error Log whenever I try create a new Apex Project.  I've reproduced it on both my windows laptop and my windows server box.  Has anyone else encountered this?  I am using JRE 1.5 and Eclipse 3.2.1.
 
Thanks!  Mark
 
 
java.lang.NullPointerException
at com.appexchange.plugin.wizards.ConnectionPage.createGroup(ConnectionPage.java:345)
at com.appexchange.plugin.wizards.ConnectionPage.createControl(ConnectionPage.java:277)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1046)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1028)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1026)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:757)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
  • January 19, 2007
  • Like
  • 0
Can't seem to find this answer.
 
If I have a splash page for a custom tab and the splash page is defined as a home page custom link, how do I get the 'Don't show me this page again' and 'Continue' buttons to show up?  Or, am I supposed to code that on my side?  I was thinking that salesforce would manage who viewed the splash page since it is an option for the custom tabs.
 
Thanks for pointing me in the right direction.
  • September 15, 2006
  • Like
  • 0
I've been digging around?  Is there a way to follow a hyperlink to get a value to use in a formula field?
 
IF ( HYPERLINK(www.beforethecall.com) = "10","DISPLAY THIS","OR THIS")
 
Thanks! Mark
 
 
 
 
  • August 24, 2006
  • Like
  • 0
Is there any way to batch together multiple SOSL searches in one call? I would like to look for a list of matches on certain criteria for each lead in a list.

Thanks!

Mark
  • February 21, 2006
  • Like
  • 0
Has anyone tried to use frontdoor in an frame?

I am able to get it to work in jsp in which I do javascript to parent.location.href. However, when I put the same url into iframe code (see snipit below), salesforce returns me back to the login page.

Thanks - Mark

---- snipit -----



String user = [...];
String pass = [...];

SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap();
LoginResult login = sfdc.login(user,pass);
String sid = login.getSessionId();
String server = login.getServerUrl();
server = server.substring(0, server.indexOf("/services"))
.replaceAll("-api","");

String url = server + "/secur/frontdoor.jsp?" +
"sid=" + sid +
"&retURL=%2Fhome%2Fhome.jsp";
%>




Message Edited by xmlguy on 02-05-2006 09:11 PM

  • February 06, 2006
  • Like
  • 0
Is there any way to tell if the user has selected the new look and feel or classic when using the Winter '06 release and v5 API's? I read that you can use the userLanguage and userUiSkin values on the user object to determine the stylesheet but userUiSkin is not available on the v5 GetUserInfoResult object.

Thanks!

Mark
  • December 12, 2005
  • Like
  • 0
I ran into an integration error yesterday that is weired.

The standard field NumberofEmployees on a lead shows up in the wsdl as type xsd:int. It shows up in the setup display as format Number(8,0). If I add a new Number custom field with the leading digits as 8 and trailing as 0, it shows up in the display as Number(8,0) but in the wsdl as xsd:double.

That makes me think, is there any way to add an int custom field? Secondly, is there any way to differentiate the difference between double and int in the user interface?

Thanks - Mark
  • October 26, 2005
  • Like
  • 0

I would like to use the search dialog box in our code in order to find leads.  I am able to include the dialog box but when you click a lead in the list it fails on the top.window.opener.lookupPick function.  It works fine in the salesforce interface if it is used on a custom object; it doesn't work with our custom code.

Does anyone have a sample of this working or gotten it to work?

Thanks a lot!

 

 

  • August 02, 2005
  • Like
  • 0

Hi.  I was looking for a function to get the color assigned to a custom tab.  I would like to use the same color as the scheme the user has assigned.  I checked with sforce explorer but didn't recognize a field to retrieve it.

Thanks!

Mark

 

Hi.  It was suggested to use formulas instead of the custom links.  If I use formulas, I see there is a function getsessionid() to get the session id.  How do I get the partner url for the web service bindings?
Thanks,

Mark

 

Hi.  I know that I can do a query on "Select ID, Name from Folder where Type = 'Document'" to get a list of document folder Id and Names.

I notice that the folder 'My Personal Documents' does not show up in the results.  Does anyone know how to get that Id?

Thanks!

Mark

 

Does anyone have any ideas on how to implement step 3 in the following scenario:

1) User follows a custom link to our application from within the lead tab 

2) Application forms an attachment

3) Application redirects to the email author page as if they selected a new email on the html email section of the lead record.  The email has the attachment already attached.

Thanks for your help.

Mark

Language:  Java

WSDL:  Partner

Hi.  I am stumped with how to query and add attachments using the partner wsdl.  I can do it with the enterprise wsdl using the Attachment object.  To convert it to the partner wsdl, I described the attachment object to get the fields.  How do I use the get_any or set_any to add my content and upload it.  Any samples would help tremendously.  Again, this is for the partner wsdl.

Thanks a lot.

  • February 17, 2005
  • Like
  • 0

SalesForce has an awesome interface.  Amazingly easy.  Thank you.

My questions pertain to custom objects.

Is there any way to add a Document relationship to a custom object?  I am able to relate a lead, contact, etc. but no document.  If you cannot, any recommendations on a workaround would be great.

Similarly, is there any way to add objects like lead, account as custom fields only pertain to basic types like strings or integer?  I ask because I would like to have a list of leads associated with my object but don't know how I can store it.

Thanks in advance!

Mark

  • January 28, 2005
  • Like
  • 0
(I am reposting this from a different board I posted by Mistake)
 
I am getting the following null pointer error in the Eclipse Error Log whenever I try create a new Apex Project.  I've reproduced it on both my windows laptop and my windows server box.  Has anyone else encountered this?  I am using JRE 1.5 and Eclipse 3.2.1.
 
Thanks!  Mark
 
 
java.lang.NullPointerException
at com.appexchange.plugin.wizards.ConnectionPage.createGroup(ConnectionPage.java:345)
at com.appexchange.plugin.wizards.ConnectionPage.createControl(ConnectionPage.java:277)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1046)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1028)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1026)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:757)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
  • January 24, 2007
  • Like
  • 0
I've been digging around?  Is there a way to follow a hyperlink to get a value to use in a formula field?
 
IF ( HYPERLINK(www.beforethecall.com) = "10","DISPLAY THIS","OR THIS")
 
Thanks! Mark
 
 
 
 
  • August 24, 2006
  • Like
  • 0
Has anyone tried to use frontdoor in an frame?

I am able to get it to work in jsp in which I do javascript to parent.location.href. However, when I put the same url into iframe code (see snipit below), salesforce returns me back to the login page.

Thanks - Mark

---- snipit -----



String user = [...];
String pass = [...];

SoapBindingStub sfdc = (SoapBindingStub) new SforceServiceLocator().getSoap();
LoginResult login = sfdc.login(user,pass);
String sid = login.getSessionId();
String server = login.getServerUrl();
server = server.substring(0, server.indexOf("/services"))
.replaceAll("-api","");

String url = server + "/secur/frontdoor.jsp?" +
"sid=" + sid +
"&retURL=%2Fhome%2Fhome.jsp";
%>




Message Edited by xmlguy on 02-05-2006 09:11 PM

  • February 06, 2006
  • Like
  • 0
Anyone leveraging Interwoven and salesforce.com together?
I created a custom object that will instantiated with various
metrics through the sforce API. My users will then be able to
craft their own report views on that data.

One of the fields is a related list (lookup) of Users (i.e.,
our Sales folks). Is there a way to update that field when
I'm creating the object through sforce? I'm storing the
salesforce user ID in database, but it doesn't appear I can
stick it anyway in the custom object (in a meaningful way
for report gen...)

I'm taking a look at WebLink to see if that's what I'm looking
for, but it seems to be hardcoded to existing (non-custom)
pages.

thanks, David
  • August 06, 2005
  • Like
  • 0

Hi.  I know that I can do a query on "Select ID, Name from Folder where Type = 'Document'" to get a list of document folder Id and Names.

I notice that the folder 'My Personal Documents' does not show up in the results.  Does anyone know how to get that Id?

Thanks!

Mark

 

Does anyone have any ideas on how to implement step 3 in the following scenario:

1) User follows a custom link to our application from within the lead tab 

2) Application forms an attachment

3) Application redirects to the email author page as if they selected a new email on the html email section of the lead record.  The email has the attachment already attached.

Thanks for your help.

Mark

Language:  Java

WSDL:  Partner

Hi.  I am stumped with how to query and add attachments using the partner wsdl.  I can do it with the enterprise wsdl using the Attachment object.  To convert it to the partner wsdl, I described the attachment object to get the fields.  How do I use the get_any or set_any to add my content and upload it.  Any samples would help tremendously.  Again, this is for the partner wsdl.

Thanks a lot.

  • February 17, 2005
  • Like
  • 0