Web Dynpro Model Editor - Wizard Exception

Hello,
I get the following error when I want to create model in Web Dynpro (Right click on Models > Create model):
Internal error
An internal error has ocurred. See error log for more details.
Plugin name:  Web Dynpro Model Editor
Plugin ID:      com.sap.ide.webdynpro.modeleditor
Class:           com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
Method:         createModel
Message:       An error ocurred. See error log for more details.
Exception:     java.lang.NullPointerException: null
Developer Studio version: 7.0.11
Thanks for any advice,
Peter Censcak

Hi Peter,
We have already faced this problem in our company with Windows Vista machines.  So, if you have Windows Vista, try to run NWDS under Administrator account and in Windows XP compatibility mode...
If not, probably you should re-install your NWDS.
Best Regards,
Juraj Sedik

Similar Messages

  • Web Dynpro Model Wizard Exception

    Hi there,
    I've recently installed the latest Netweaver'04 Sneak Preview and I get the following exception when generating an R3 Adaptive RFC model (using the "create model" Wizard):
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)
    Here are the rest of the details that the error displays:
    Plugin: Web Dynpro Model Editor Services
    Pugin ID: com.sap.ide.webdynpro.service.modeleditor
    Class: com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog
    Method: nextPressed
    Message: Internal error - see detail information in exception trace.
    I'm on Version: 2.0.11 of the NetWeaver Developer Studio.
    Anyone else out there with the same problem?
    Thanks,
    Gough

    Hi,
    Do check if the following link helps.
    Problem Connecting with SAP R3 for creating new model
    Regards,
    Vijith

  • Web Dynpro model binding

    can anybody help me here.
    I want to take some data from the backend system and want to display it into a table.

    hi,
    follow this procedure
      1.      Choose the context menu entry  Create Model on the  Models node.
      2.      Choose Import RFC Model.
      3.      Make the required specifications in the second wizard window to define where the generated   RFC proxies are to be stored.
      4.      In the next wizard window, log on to the SAP System that contains the BAPIs with the business logic.
      5.      Select the BAPIs for which you want to create Java proxies.
      6.      Choose Finish to start the proxy generation process:
      7.      In the Web Dynpro Explorer, choose Create Component Interface Definition in the context menu for the node Web Dynpro Component Interfaces.
    8.      Enter a name and a package and choose Finish.
    9.      The following structure is created in the Web Dynpro Explorer:
    10.      Place the cursor on the subnode Used Models and choose Add in the context menu.
    11.      Select the Web Dynpro model in the dialog box.
    12.      Choose OK.
    Regards,
    Sunaina Reddy T

  • Web Dynpro Model Generation for Application Services

    Hi Experts,
    I'm currently experimenting with the new functionality provided by CE, but there is one thing that I can't seem to figure out. How does the new Web Dynpro model generation work with regards to CAF Application Services? I'm trying to call an application service from a web dynpro application, but it seems as if models are completely different from Netweaver 7.0. What type of model do I need to create? Do I have to expose the application services as web services?
    I've tried creating an EJB model and then binding the model to the context, but I kept receiving null pointer exceptions when doing this and I'm not sure if this is the correct way to do this. Can anybody point me to some good documentation on Web Dynpro/CAF interaction in CE?
    Thank you,
    JP

    Hi JP,
    You are right, the CAF models are completely different in NW CE 7.1 compared to NW 7.0.
    CAF Application Services in CE 7.1 are in fact EJBs. So the EJB model importer is the way to go. You can find <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/dd45e4bc295595e10000000a1553f7/frameset.htm">documentation</a> and some <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/f7f744aea471fae10000000a1553f6/frameset.htm">tutorials</a> on help.sap.com. If you still have troubles after you go thru these, please post your concrete issues and I'm sure we'll be able to figure out what's been going wrong.
    HTH!
    -- Vladimir

  • Web Dynpro Model Usage Error

    Hi All
    I have created Web Dynpro Model out of my CAF project. I followed this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864">tutorial</a> to create Web Dynpro model and use it in other DC. In the other DC, I added all the other required DCs mentioned in the tutorial such as caf/core/dict,  caf/ui/ptn/common and tc/col/runtime with each of them havin dependency type as build and deploy.
    After I do model mappings in controller and view, deploy and run the application, I m gettin the following exception
    "java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IQuery "
    Has anybody ever got this exception ?
    any help on this will be appreciated with points
    Regards
    Dharanish

    Hi ,
    check the following depedencies in Public part of the component,
    caf/core/dict
    caf/eu/gp/api/wd(GPWdbDynpro)
    Caf/eu/gp/api(external)
    caf/runtime/uicoupling/api(compilation)
    caf/UI/ptn/common(com.sap.caf.ui.utils)
    com.sap.aii.proxy.framework(defalut)
    com.sap.exception(default)
    com.sap.mw.jco
    com.sap.security.api.sda
    tc/cmi
    tc/ddic/metamodel/content
    tc/logging
    tc/wd/webdynpro
    tc/wdp/metamodel/content
    and then add following two in library reference in webdynpro refrence,
    if your using the GP interface we have to include the "cafeugp~api"
    for caf ->sap.com/cafruntimeuicouplingapilib
    Thanks,
    Balaji.B

  • Error when Creating Web Dynpro Model in CAF-Service

    Hi All,
    I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
    to get an interface of the Service in my Web Dynpro Application.
    Before I update to SPS 9, the Application works fine.
    But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
    <i>Error cannot create Web Dynpro Model:
    Creation of  Web Dynpro model failed. Reason: null </i>
    Thanks for helping me
    Steve

    Hi Aliaksei,
    the problem in the thread is the same I got.
    When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
    But its hard to find a methodname with only 7 letters.
    In SPS 8 I didnt have problems with the length of method names. Why is it so?
    The workspace log:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    Thanks
    Steve

  • Generate Web Dynpro Model?

    Hi,
    I'm familiar with DS 7.0, and I'm begining to lear 7.1 recently.
    I searched for tutorials and in the forum, but I can't find how to create a Web Dynpro model from a CAF DC, in 7.0 it was just a right click and generate WD Model, can you help me please?
    thanks a lot!

    Hi Maldonado,
    Check this link first:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ee5047-c7a0-2a10-70b7-9557e3e4d440
    Reward points if it's helpful.
    Regards,

  • Adding a Web Dynpro Model on a Composite Apllication Component in CE 7.1

    Hi experts,
    I am trying to add a web dynpro model to a Composite Application DC.
    I am using SAP NW CE 7.1.
    In CE 7.0, this was done by simple right click on the CA DC.
    but i am not able to do it in CE 7.1.
    Can somebody tell me how do i add a web dynpro model to a composite application DC???
    basically i need to add a UI corresponding to a composite application?????
    Cheers
    Gaurav Raghav

    Hi Srinivasan Subbiah,
    The option you just mentioned is disabled.
    how can i enable it???
    Also let me explain what i need.
    I have a 3 step process where in a user fills a form and sends it to his manager, who appoves/reject it based on some criterias. then the approval/rejection alert is send back to the user.
    Now i need to develop the UI as well as Business Logic for this process.
    How do i go about it?????
    I can develop the UI in a Web Dynpro DC and the Business Logic in a Composite Application DC. How do i associte one with the other????
    In CE 7.0, this was achieved by addind a Web Dynpro Model in the Composite Application Project. How do i acheive the same in CE 7.1 ?????
    Thanks and cheers
    Gaurav Raghav

  • Quick Question: ABAP web-dynpro model relies on JCO?

    Hi gurus,
    As mention in subject. Does ABAP web-dynpro model relies on JCO?
    Did a quick search without solid answers...

    JCO, is Java Connectors to connect SAP from Java world
    You don't need any JCO when you are in the same ABAP Stack
    There is no model Nodes/Attributes in Web Dynpro ABAP as in Java, because you are in the same ABAP Stack
    Abhi
    Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:35 AM

  • Inheritance in Web Dynpro Model

    Hello
    This is the current situation:
    I have 3 JPA entity classes much like these (including constructors, getters, setters, ...).
    @Entity
    public abstract class OuComponent {
    @ManyToOne
    private Ou ou;
    @Entity
    public class Ou extends OuComponent {
    @OneToMany
    private Collection<OuComponent> ouComponentCollection;
    @Entity
    public class Person extends Component {}
    In the database, OuComponent has a discriminator column.
    This structure appears to work in a normal web module and an EJB Module.
    In Web Dynpro, using a model, I can create a new Person and attach an existing Ou to it (through the inherited property ou from OuComponent).
    However, when I try to display the information, I recieve the following error:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObjects' on target role: Class 'Person' is not compatible to class 'OuComponent' of target role 'ouComponentCollection' in model class 'Ou'
    It appears that Web Dynpro does not realise that Person is actually a subclass from OuComponent. I think it simply checks the discriminatorcolumn for the word 'OuComponent' and throws this exception because it finds a related entity of the type Person instead of OuComponent (even though, as stated, Person IS-A OuComponent. Web Dynpro just seems to ignore it).
    How could I bypass this?
    Thanks for your feedback

    Hi Vincent.
    Have you resolve this problem? If yes, could you post the solution?
    Regards
    Marcos Brandã

  • Creating web dynpro model from XMII web service

    Hi All,
    need some help, after creating model in Web Dynpro from XMII WSDL file everything is fine but when i execute the service. I'm getting the following error:
    <b><i>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.sap.com/xMII]<OutTxRecordSetXML> is required in <OutTxExecutionMsg> but can not be found.</i></b>
    Please help!
    Regards,
    Raj

    Hi Sam,
    i am providing login details, if i dont i see the authorization error message. I'm using runner to access the BLS transaction now to get the xml data. I'm wondering if there's something wrong on the XMII side, some config?
    Regards,
    Raj

  • "Import Web Service Model" meets IO exception.

    Hi all,
    I'm trying to import a Web Service Model through tutorial on NWDS version 2.0.9.
    Accident occurs: After the importing process, nothing happenes - NO error message, NO imported model under node "Model".
    But when I do the same thing on my colleague's computer, the model is correctly imported. Actually our computers have the same NWDS version.
    I tried many times. It is always failure on my computer. And even I re-install NWDS, still the same problem.
    I checked the log, which contains such an exception:
    !MESSAGE com.sap.engine.lib.xml.util.NestedException: IO Exception occured while parsing file:Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect -> java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    !STACK 0
    com.sap.engine.lib.xml.util.NestedException: IO Exception occured while parsing file:Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect -> java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    *     at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:129)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:151)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.downloadWSDL(WSDLImportTool.java:725)*
    *     at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.downloadWSDL(InternalHelperFunctions.java:255)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:334)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:271)*
    *     at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)*
    *     at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:116)*
    *     at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$6.run(ModelWizard.java:819)*
    *     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:168)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.downloadWSDL(WSDLImportTool.java:725)*
    *     at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.downloadWSDL(InternalHelperFunctions.java:255)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:334)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:271)*
    *     at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)*
    *     at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:116)*
    *     at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$6.run(ModelWizard.java:819)*
    *     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)*
    Caused by: java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    *     at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:129)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:151)*
    *     ... 8 more*
    Actually I can connect successfully to the WebService through IE. How does this occur?
    Does anyone have such experience?
    Thanks in advance.
    Edited by: gangtee gangtee on Jan 9, 2008 5:36 AM

    Hi Gangtee,
    Are you working inside a secured network, if yes please check the proxy settings which are shown while NWDS installation.
    Regards
    Sid

  • Run a web dynpro application encounter WDUMException exception...

    Dear guys,
    We currently encounter a error when we run a web dynpro application.
    That is, once a user click a url which will redirect to the enterprise portal,
    the com.sap.tc.webdynpro.services.sal.um.api.WDUMException is thrown.
    I have checked the cause of the exception is that "if there is no user (neither authenticated nor anonymous user) attached to the current session"
    The following is our situation:
    When linking to EP domain(ex. http://sapep.xxx.com), single signed on wil automatically process.
    The url which I mentioned above is something like "http://sapep.xxx.com/portal?doc=xxx&ver=2010"
    Our web dynpro program will invoke the IWDClientUser api initially for get the currently logon user's information.
    And this is caused the WDUMException.
    We think that the error is because that the session is not created while loading the web dynpro application,
    so that, the system can't get the cuurent user with a non-user session.
    The situation is not often happened. We think this is because of the system service issue.
    So we try to prevent this problem with the following mechanism:
    When the excpetion is thrown, we invoke a waiting program to let the system has time to generate the require session.
    So when invoke the IWDClientUser, this exception can be prevented.
    Any suggestion.please advise, thanks.

    Try using WDPortalUtils.isRunningInPortal() method to see if the session (somehow) disconnects
    Hi,
    We check the method you proposing, but seems it's not the method to check the session of the current user.
    The API of WDPortalUtils.isRunningInPortal() is as follows:
    public static boolean isRunningInPortal()
            Checks whether or not the Web Dynpro application is running the the portal environment or not.
            Returns:
                  true if the Web Dynpro application is running in the portal environment, false otherwise.
    Is there any other API which can check the current session alive or not?
    thanks.

  • Web Dynpro Model help

    I have a Web Dynpro application in which a user will enter information and click a button to call an RFC.  The RFC then returns data to a new view.  The user can make changes to this view, and will hit a button to call a BAPI.  I am using a custom controller.  I am not sure how to feed the results from my RFC to my BAPI.  Can someone give me some pointers as to where to begin?

    Hi Maz,
    Follow This Procedure,
    Create Model:
    Create a new Model for Your Webdynpro Project.
    Name your Model and Give The R/3 Login details
    After successful login select your RFC FM module/BAPI
    Add your Model to component.
    Mapping:
    Do Mapping between Model and Your component controller.
    Do Mapping Between your component Controller and View
    Binding:
    Create Required UI elements.
    Bind your UI elements
    Code:
    Write a method to execute You BAPI.
    Create a Model Object in InitView and Bind it.
    Call execution method.
    Regards,
    <b>Ramganesan K</b>

  • WEB DYNPRO: FCK Editor or Integration of BSP

    Hi,
    I would like to use the FCKEditor within my Web Dynpro applikation, because I need the fuctionality to have a rich html editor presented to my customer. I didn't found any soluton for this problem in the net or here, so I ask you for help.
    If there is no way to integrate the FCK Editor in an Web Dynpro application ist there a way to embed a BSP in Web Dynpro?
    Greetings
    Bernd
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on May 18, 2011 2:41 PM

    bguenthe wrote:
    Hi,
    > I would like to use the FCKEditor in my Web Dynpro application, because I need the fuctionality to have an rich html editor for my customer. Is that possible?
    i think it is not possible.
    > If there is no way to integrate the FCK Editor in an Web Dynpro application is there a way to embed a BSP in Web Dynpro, because we have a BSP-Integration for the FCKEditor? Can I embed a BSP into a Web Dynpro view?
    >
    Embed BSP into webDynpro , i see Iframe as a possibility, however iframe is depricated in 7.01 and supported in 7.02.

Maybe you are looking for